null layout
From: patrick (networkone_at_eircom.net)
Date: 11/30/03
- Next message: Matthew Hinton: "Re: Java Training Question"
- Previous message: Jeffrey Palm: "Re: lines of code?"
- Next in thread: ak: "Re: null layout"
- Reply: ak: "Re: null layout"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Date: Sun, 30 Nov 2003 15:21:14 -0000
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
- Next message: Matthew Hinton: "Re: Java Training Question"
- Previous message: Jeffrey Palm: "Re: lines of code?"
- Next in thread: ak: "Re: null layout"
- Reply: ak: "Re: null layout"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Relevant Pages
|