Welcome to the Java Programming Forums

The professional, friendly Java community. 21,500 members and growing!

The Java Programming Forums are a community of Java programmers from all around the World. Our members have a wide range of skills and they all have one thing in common: A passion to learn and code Java. We invite beginner Java programmers right through to Java professionals to post here and share your knowledge. Become a part of the community, help others, expand your knowledge of Java and enjoy talking with like minded people. Registration is quick and best of all free. We look forward to meeting you.


Members have full access to the forums. Advertisements are removed for registered users.

Results 1 to 2 of 2

Thread: Quick question about layout

  1. #1
    Junior Member
    Join Date
    Jun 2011
    Thanked 0 Times in 0 Posts

    Default Quick question about layout

    I have a question about layout, since this is as far as I have gotten.
    My first lab has the text to the left of the text area.
    My second lab will have the text area underneath the labels.
    Should I use a grid for this or is there a better or easier way?
    The second lab will have a label,
    then underneath a textarea,
    then another label,
    then underneath another textarea.

    This seems to be a lot more complicated than HTML.
    Any help would be very appreciated.

  2. #2
    Forum old-timer
    Join Date
    Nov 2008
    Faversham, Kent, UK
    My Mood
    Thanked 58 Times in 54 Posts

    Default Re: Quick question about layout

    If you want the components in a vertical layout, you might consider using BoxLayout. See also, How To Use BoxLayout.

Similar Threads

  1. Quick question, arraylists
    By Intensity` in forum File I/O & Other I/O Streams
    Replies: 1
    Last Post: May 16th, 2011, 08:47 PM
  2. Hi, quick question
    By curras in forum Member Introductions
    Replies: 1
    Last Post: March 21st, 2011, 03:21 PM
  3. scope - quick question
    By bbr201 in forum Java Theory & Questions
    Replies: 4
    Last Post: July 28th, 2010, 08:30 AM
  4. quick question - new keyword
    By bbr201 in forum Java Theory & Questions
    Replies: 2
    Last Post: July 18th, 2010, 09:43 PM
  5. Quick Question about Mergesort
    By Shadow703793 in forum Algorithms & Recursion
    Replies: 4
    Last Post: March 4th, 2010, 05:48 PM