Results 1 to 2 of 2
  1. #1
    SANDY_INDIA is offline Member
    Join Date
    Jul 2008
    Posts
    20
    Rep Power
    0

    Default Prob. with screen resolution and Frame size??

    I have a prob. in Designing Frame. Is it possible in Java that Frame size and Components contained in it adjust automatically with the screen resolution. The design which looks good in my Laptop looks worst in my Desktop. What I want is Frame size and components position (I have taken Null Layout with setLocation and SetSize) should adjust according to computer screen resolution.

  2. #2
    Fubarable's Avatar
    Fubarable is offline Moderator
    Join Date
    Jun 2008
    Posts
    19,316
    Blog Entries
    1
    Rep Power
    25

    Default

    Quote Originally Posted by SANDY_INDIA View Post
    (I have taken Null Layout with setLocation and SetSize) should adjust according to computer screen resolution.
    Have you looked at the layout managers? This is what they are built for. In general avoid null layout like the plague.

Similar Threads

  1. What's Your New Year's Resolution?
    By CaptainMorgan in forum Forum Lobby
    Replies: 4
    Last Post: 11-16-2008, 09:05 PM
  2. for each prob
    By kusumathatavarthi in forum New To Java
    Replies: 7
    Last Post: 05-21-2008, 01:00 PM
  3. [SOLVED] How to set the frame size?
    By impact in forum New To Java
    Replies: 7
    Last Post: 05-02-2008, 11:57 AM
  4. Replies: 0
    Last Post: 03-10-2008, 02:36 PM
  5. How to change the resolution ?
    By samson in forum Java 2D
    Replies: 1
    Last Post: 07-17-2007, 11:15 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •