P
patrick
Ive made a java application JFrame with several JPanels and a few
components.
All the layouts I have set to null.
the frame size ive set: setSize(new Dimension(790, 575));
This displays on my screen when it is run as 8.6 inches by 6.25 inches
approx.
When I change the screen resolution from 1024 by 768 to higher resolutions
and run it again it still
displays as 8.6 inches by 6.25 inches.
I dont understand that. With null layout I expect it to be less than 8.6
inches width
why does it not shrink in size when I increase the screen resolution?
thanks
patrick
components.
All the layouts I have set to null.
the frame size ive set: setSize(new Dimension(790, 575));
This displays on my screen when it is run as 8.6 inches by 6.25 inches
approx.
When I change the screen resolution from 1024 by 768 to higher resolutions
and run it again it still
displays as 8.6 inches by 6.25 inches.
I dont understand that. With null layout I expect it to be less than 8.6
inches width
why does it not shrink in size when I increase the screen resolution?
thanks
patrick