null layout

From: patrick (networkone_at_eircom.net)
Date: 11/30/03


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




... fixed-width to make it wrap if the text expands more than 6 inches....measurement....Screen resolution is measured in pixels....
(comp.infosystems.www.authoring.html)
  • Re: PS/2 mouse
    ... Reduce the screen resolution. ... bob wrote: ... > with no pointer tails but requires about 2 inches of hand ...
    (microsoft.public.windowsxp.hardware)
  • Relevant Pages

    • Re: change screen size
      ... It is at the lowest setting and the desktop is still ... It appears you've been going in the wrong direction; the more you decrease the screen resolution, the larger the screen content will get. ... say your screen is 900 pixels wide. ... It might be irritating to think in "pixels", the smallest amount of data a screen can show, but unfortunately there is NO constant relationship between pixels and inches or cm. Everyone's computer can and often is different. ...
      (microsoft.public.windowsxp.basics)
    • Re: Line Width Change
      ... Although the property sheet shows inches, the width responds to twips (1440 ... Private Sub Form_Load ... width of the window based on my screen resolution size, ... width of Line6 to the grow to the size of the window. ...
      (microsoft.public.access.formscoding)
    • Re: How to prevent text from stretching in HTML....
    ...