G
Gali
Hello everyone,
I have a question about fitting the size of a Jframe to the screen. i
have an application that has some Jframes, and when i use these
commands:
frame.pack();
frame.setVisible(true);
I can fit the frame to my current screen - but the problem is that it
gets so big that I can't see the buttom status bar (on windows) which
tells me which frames are open. if i use setPrefferedSize() or
setMaximalSize() they make my Jframe size limited which dose not fit
to all types of resolution, and i wish it to be flexible.
Thank you very much in advance,
Gali.
I have a question about fitting the size of a Jframe to the screen. i
have an application that has some Jframes, and when i use these
commands:
frame.pack();
frame.setVisible(true);
I can fit the frame to my current screen - but the problem is that it
gets so big that I can't see the buttom status bar (on windows) which
tells me which frames are open. if i use setPrefferedSize() or
setMaximalSize() they make my Jframe size limited which dose not fit
to all types of resolution, and i wish it to be flexible.
Thank you very much in advance,
Gali.