A fixed size window in Java
- From: "C." <anonimo@xxxxxxxxx>
- Date: Sat, 29 Apr 2006 15:07:12 GMT
Hello. I am writing a Java application with Swing and I need a Window with a fixed size, because every time I call "pack" because some components of that window change, the Window is resized to fit exactly that components.
If I use Frame.setPreferredSize(...) then the components are not shown correctly when I call pack (some ones are displayed over other ones and so on).
What can I do to implement a fixed size window?
Thank-you very much.
.
- Follow-Ups:
- Re: A fixed size window in Java
- From: James McGill
- Re: A fixed size window in Java
- From: Thomas Hawtin
- Re: A fixed size window in Java
- Prev by Date: Re: question about streams
- Next by Date: Re: A fixed size window in Java
- Previous by thread: List of hacking applications that run on USB flash drive
- Next by thread: Re: A fixed size window in Java
- Index(es):
Relevant Pages
|