Results 1 to 5 of 5
  1. #1
    deepali is offline Member
    Join Date
    Sep 2011
    Posts
    7
    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
    10,484
    Rep Power
    16

    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.

  3. #3
    deepali is offline Member
    Join Date
    Sep 2011
    Posts
    7
    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
    10,484
    Rep Power
    16

    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.

  5. #5
    DarrylBurke's Avatar
    DarrylBurke is offline Moderator
    Join Date
    Sep 2008
    Location
    Madgaon, Goa, India
    Posts
    10,094
    Rep Power
    17

    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
    Why do they call it rush hour when nothing moves? - Robin Williams

Similar Threads

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