Re: panels size on gridlayout

Discussion in 'Java' started by Ike, Jul 10, 2003.

  1. Ike

    Ike Guest

    gridBagConstraints.fill = java.awt.GridBagConstraints.BOTH;
    //-Ike

    "memememe" <[rem]casolorz[rem]@hot[rem]mail.com> wrote in message
    news:7j_Oa.669$...
    > I have a scrollpane with a panel inside of it which has gridlayout. This
    > panel gets added other panels. My purpose is to add one panel below the
    > other (by below I am a little further down on the screen). The panels get
    > added fine but they contain images, images which I hope will take up the
    > whole panel so that the images on the panels above and below will touch,

    but
    > instead the images dont take the whole panel and the images dont touch. I
    > have checked the VGap and HGap of the gridlayout and thats not the

    problem,
    > I have also colored the background of the most inner panels and they do
    > touch each other, its just the images that seem to be small than the panel
    > size.
    > I am using AWT in case it wasnt clear.
    >
    >
    >
    >
    Ike, Jul 10, 2003
    #1
    1. Advertising

  2. Ike

    memememe Guest

    "Ike" <> wrote in message
    news:O53Pa.92829$...
    > gridBagConstraints.fill = java.awt.GridBagConstraints.BOTH;
    > //-Ike
    >



    im using gridlayout, not gridbag.
    memememe, Jul 10, 2003
    #2
    1. Advertising

  3. Ike

    Ike Guest

    Ohhh, sorry!
    why not use gridbag then though?

    "memememe" <[rem]casolorz[rem]@hot[rem]mail.com> wrote in message
    news:Ul3Pa.2481$...
    >
    > "Ike" <> wrote in message
    > news:O53Pa.92829$...
    > > gridBagConstraints.fill = java.awt.GridBagConstraints.BOTH;
    > > //-Ike
    > >

    >
    >
    > im using gridlayout, not gridbag.
    >
    >
    Ike, Jul 10, 2003
    #3
    1. Advertising

Want to reply to this thread or ask your own question?

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.
Similar Threads
  1. Christian
    Replies:
    0
    Views:
    351
    Christian
    Jul 21, 2003
  2. Kenneth

    Gridlayout problems

    Kenneth, Oct 15, 2003, in forum: ASP .Net
    Replies:
    1
    Views:
    347
    Cowboy \(Gregory A. Beamer\)
    Oct 15, 2003
  3. Stephen

    flowlayout vs. gridlayout

    Stephen, Dec 5, 2003, in forum: ASP .Net
    Replies:
    5
    Views:
    5,924
    mikeb
    Dec 5, 2003
  4. VisionSet

    Re: panels size on gridlayout

    VisionSet, Jul 10, 2003, in forum: Java
    Replies:
    2
    Views:
    510
  5. Jo

    Size of GridLayout

    Jo, Apr 10, 2004, in forum: Java
    Replies:
    2
    Views:
    1,273
    Jim Cobban
    Apr 10, 2004
Loading...

Share This Page