Results 1 to 4 of 4
  1. #1
    guest_user is offline Member
    Join Date
    May 2011
    Posts
    47
    Rep Power
    0

    Default Resizing swing GUI

    when I resize my gui,the widgets become distorted and out of place, some overlapping each other, how can I make them scale proportionally when i resize my frame?

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

    Default

    You will want to use appropriate layout managers to prevent this from happening. If you haven't read the layout tutorial, you should now. Please have a look here: Laying Out Components Within a Container

  3. #3
    guest_user is offline Member
    Join Date
    May 2011
    Posts
    47
    Rep Power
    0

    Default

    Quote Originally Posted by Fubarable View Post
    You will want to use appropriate layout managers to prevent this from happening. If you haven't read the layout tutorial, you should now. Please have a look here: Laying Out Components Within a Container
    I'm already using layout managers but it still doesn't scale proportionally like I would like it to

  4. #4
    DarrylBurke's Avatar
    DarrylBurke is offline Member
    Join Date
    Sep 2008
    Location
    Madgaon, Goa, India
    Posts
    11,184
    Rep Power
    19

    Default

    To get better help sooner, post a SSCCE (Short, Self Contained, Compilable and Executable) example that demonstrates the problem. And keep it short: your problem is with the layout, not the functionality.

    db

Similar Threads

  1. GridBagLayout Resizing
    By AutoRobin in forum AWT / Swing
    Replies: 3
    Last Post: 05-22-2011, 07:22 AM
  2. Handle Resizing of Swing Containers
    By simlei in forum AWT / Swing
    Replies: 5
    Last Post: 02-23-2010, 02:20 AM
  3. panel resizing
    By simo_mon in forum AWT / Swing
    Replies: 1
    Last Post: 08-15-2009, 02:09 PM
  4. panel resizing
    By kumar_gemi in forum New To Java
    Replies: 3
    Last Post: 03-13-2009, 02:51 AM
  5. Image resizing
    By alley in forum Java 2D
    Replies: 2
    Last Post: 11-13-2007, 10:10 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
  •