Results 1 to 2 of 2
  1. #1
    amyyadav0 is offline Member
    Join Date
    Jun 2012
    Posts
    1
    Rep Power
    0

    Default group layout designing dynamically

    I am designing a layout using Group layout method, I want to add components dynamically, i.e if a user wants to add 5 JTextfields and labels for each then all components should be placed in an aligned way.
    I am able to take inputs from user and place them on panel but the problem is with alignment.
    specifically- only Group layout method is to be used.



    thanks in advance

  2. #2
    DarrylBurke's Avatar
    DarrylBurke is online now Forum Police
    Join Date
    Sep 2008
    Location
    Madgaon, Goa, India
    Posts
    11,406
    Rep Power
    20

    Default Re: group layout designing dynamically

    To get better help sooner, post a SSCCE (Short, Self Contained, Correct (Compilable), Example) that demonstrates the problem.

    Moved from Advanced Java

    db
    If you're forever cleaning cobwebs, it's time to get rid of the spiders.

Similar Threads

  1. Grid Layout change layout alignment of control s
    By rellicott in forum SWT / JFace
    Replies: 1
    Last Post: 02-13-2012, 05:11 PM
  2. Group Layout Alignment
    By Hades82 in forum AWT / Swing
    Replies: 7
    Last Post: 12-30-2010, 11:37 AM
  3. Help designing a program
    By np2392 in forum New To Java
    Replies: 2
    Last Post: 09-24-2010, 02:31 AM
  4. Replies: 4
    Last Post: 08-05-2010, 08:08 AM
  5. group layout - span ?
    By random7 in forum AWT / Swing
    Replies: 4
    Last Post: 07-26-2010, 09:26 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
  •