C
C.
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.
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.