I have create a JFrame for my Login Screen. I need my JFrame to be Non Draggable. I tried the setUndecorated method. It makes the Jframe Non-Draggable. But I am not able to view the border of the Jframe and also the minimise, close buttons. So what is the alternative to achieve the same.
Answered by StephNicolaou 32 in a post from
Jump to Post
You can set the location of the Jframe under the mouse listeners so it will not move from that position
All 2 Replies
StephNicolaou 32 Posting Whiz in Training
Be a part of the DaniWeb community
We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.