Results 1 to 5 of 5
  1. #1
    deepali is offline Member
    Join Date
    Sep 2011
    Posts
    8
    Rep Power
    0

    Default Resizing a Table as per the dialogue size

    Hi,
    I have created a Table in java, and I want to resize(it's width) it automatically as per the size of my dialog.
    My dialog has maximize , close and minimize buttons , on the click of maximize/ on resizing of dialog size I want my table's width also resized accordingly.

    Thanks in advance.

  2. #2
    Tolls is offline Moderator
    Join Date
    Apr 2009
    Posts
    12,224
    Rep Power
    20

    Default Re: Resizing a Table as per the dialogue size

    What layout manager are you using?
    Please do not ask for code as refusal often offends.

    ** This space for rent **

  3. #3
    deepali is offline Member
    Join Date
    Sep 2011
    Posts
    8
    Rep Power
    0

    Default Re: Resizing a Table as per the dialogue size

    I am using GridData for Table.

  4. #4
    Tolls is offline Moderator
    Join Date
    Apr 2009
    Posts
    12,224
    Rep Power
    20

    Default Re: Resizing a Table as per the dialogue size

    I mean for the dialog/panel.
    Because (from what I can remember) the table should expand with its container.
    Please do not ask for code as refusal often offends.

    ** This space for rent **

  5. #5
    DarrylBurke's Avatar
    DarrylBurke is offline Forum Police
    Join Date
    Sep 2008
    Location
    Madgaon, Goa, India
    Posts
    11,457
    Rep Power
    20

    Default Re: Resizing a Table as per the dialogue size

    Quote Originally Posted by deepali View Post
    I am using GridData for Table.
    What's GridData?

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

Similar Threads

  1. Regarding color, font and size in table
    By sas in forum New To Java
    Replies: 4
    Last Post: 04-05-2011, 03:59 PM
  2. Replies: 3
    Last Post: 04-05-2011, 03:46 PM
  3. pop up dialogue box on start
    By africanhacker in forum New To Java
    Replies: 1
    Last Post: 03-25-2011, 04:49 PM
  4. Dialogue box on click: Netbeans
    By africanhacker in forum NetBeans
    Replies: 0
    Last Post: 03-25-2011, 02:14 PM
  5. Three Different Dialogue Boxes
    By lala in forum New To Java
    Replies: 7
    Last Post: 10-29-2010, 08:04 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
  •