Results 1 to 2 of 2
  1. #1
    blackbird is offline Senior Member
    Join Date
    Jul 2011
    Posts
    100
    Rep Power
    0

    Default My panel/frame looks like it was laid out by a derelict

    How can I arrange my components on the panel/frame so that they align?

    As it is, they look like some drunk cat just scattered them across the monitor.

  2. #2
    dlorde is offline Senior Member
    Join Date
    Jun 2008
    Posts
    339
    Rep Power
    6

    Default

    You need to use layout managers. Check out How To Layout Components.

    If you have some tricky layout, I'm happy to make suggestions.

Similar Threads

  1. Replies: 7
    Last Post: 04-03-2011, 12:35 PM
  2. Java slave Frame access to its owner main frame problem
    By cagdaseckin in forum New To Java
    Replies: 0
    Last Post: 12-10-2010, 10:40 AM
  3. how to add 2 panels in a panel inside a frame
    By clydedoris in forum New To Java
    Replies: 4
    Last Post: 07-31-2010, 09:11 AM
  4. Replies: 8
    Last Post: 01-13-2009, 10:30 AM
  5. How to place panel into frame
    By vivek_9912 in forum AWT / Swing
    Replies: 2
    Last Post: 11-19-2007, 11:21 PM

Posting Permissions

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