Solved

Making a JFrame or JDialog non-movable

Posted on 2004-10-19
8
1,973 Views
Last Modified: 2013-11-23
How do I make  a JFrame or JDialog non-movable, like in VB (movable = false)

I'd prefer not to trap form movement events.  Is there an attribute I can set?
0
Comment
Question by:fbk2000
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
8 Comments
 
LVL 86

Accepted Solution

by:
CEHJ earned 250 total points
ID: 12350805
>>Is there an attribute I can set?

Not in Java :-(
0
 
LVL 37

Expert Comment

by:zzynx
ID: 12351085
>>I'd prefer not to trap form movement events.
I'm afraid you'll have to
0
 
LVL 92

Expert Comment

by:objects
ID: 12352941
Use a JWindow.
0
Salesforce Has Never Been Easier

Improve and reinforce salesforce training & adoption using WalkMe's digital adoption platform. Start saving on costly employee training by creating fast intuitive Walk-Thrus for Salesforce. Claim your Free Account Now

 
LVL 92

Expert Comment

by:objects
ID: 12352944
0
 
LVL 5

Expert Comment

by:Naeemg
ID: 12355177
Use JWindow or JPanel for such purposes
0
 
LVL 24

Expert Comment

by:sciuriware
ID: 12355391
Great idea objects, but, is the message in
 http://experts-exchange.com/Programming/Programming_Languages/Java/Q_21172825.html
true?
;JOOP!
0
 
LVL 92

Expert Comment

by:objects
ID: 12355410
yes there are some limitations, depends what you want to do in the frame.
0
 
LVL 86

Expert Comment

by:CEHJ
ID: 12401234
8-)
0

Featured Post

Technology Partners: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

This was posted to the Netbeans forum a Feb, 2010 and I also sent it to Verisign. Who didn't help much in my struggles to get my application signed. ------------------------- Start The idea here is to target your cell phones with the correct…
Programmer's Notepad is, one of the best free text editing tools available, simply because the developers appear to have second-guessed every weird problem or issue a programmer is likely to run into. One of these problems is selecting and deleti…
Viewers learn how to read error messages and identify possible mistakes that could cause hours of frustration. Coding is as much about debugging your code as it is about writing it. Define Error Message: Line Numbers: Type of Error: Break Down…
Viewers will learn how to properly install Eclipse with the necessary JDK, and will take a look at an introductory Java program. Download Eclipse installation zip file: Extract files from zip file: Download and install JDK 8: Open Eclipse and …

724 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question