Albert Flick, 76, is accused of stabbing a mother of two outside of a laundromat last month.
A judge ordered that Flick continue to be held without bail after a 45-minute hearing that included testimony from a state police detective and two surveillance videos.
Flick did not react as prosecutors presented the evidence against him.
Prosecutors showed a video from Walmart that they said shows Flick buying two 5-inch paring knives and then a video from a local businesses that police said shows Flick pacing outside of Rancourt's Landromat. The stabbing of Kimberly Dobbie, 48, allegedly took place just off camera.
A state police detective testified that friends of Dobbie told investigators that Flick had been stalking her. He said Dobbie was on the phone with a friend, telling him about Flick, when Flick allegedly stabbed her.
Police said that Flick indicated in an interview that he was jealous.
Flick has a history of violence against women and served 21 years in prison for the murder of his wife in 1979.
Flick's defense attorney said Flick has been ordered to undergo a mental health evaluation at Riverview Psychiatric Center in Augusta.