Is there a way to make the frame of an Java application to stay where I make it appear with .setLocation ? I want to disable it’s ability to be moved around the screen by the user.
Share
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
Here is how you prevent a JFrame from being moved. It is not a good idea to use this in a production application because it will piss off users and cause other bugs when a user tries to min/max the frame.