Results 1 to 3 of 3
  1. #1
    blug is offline Member
    Join Date
    Oct 2010
    Posts
    26
    Rep Power
    0

    Default Southern JScroll Overlapping Western JScroll

    Hey, basically I have a Western JScroll which has buttons on it. When I press a button on the Western Jscroll it opens up s outhern Jscroll. However, when I make the southern one it resizes the western one and the southern scrollbar takes up the whole bottom of the page.

    Is there a way I can make it so the western jscroll takes up the whole left side of the page and the southern scrollbar layout stops at the western one?

    Thanks!

  2. #2
    KevinWorkman's Avatar
    KevinWorkman is offline Crazy Cat Lady
    Join Date
    Oct 2010
    Location
    Washington, DC
    Posts
    3,988
    Rep Power
    9

    Default Re: Southern JScroll Overlapping Western JScroll

    I assume you're using a BorderLayout? You could just use a different LayoutManager.
    How to Ask Questions the Smart Way
    Static Void Games - Play indie games, learn from game tutorials and source code, upload your own games!

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

    Default Re: Southern JScroll Overlapping Western JScroll

    Quote Originally Posted by blug View Post
    Is there a way I can make it so the western jscroll takes up the whole left side of the page and the southern scrollbar layout stops at the western one?
    Nest two BorderLayout panels.

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

Similar Threads

  1. Overlapping JLabels
    By littledrummerboy in forum New To Java
    Replies: 4
    Last Post: 05-24-2011, 04:47 PM
  2. Replies: 1
    Last Post: 03-28-2011, 06:19 AM
  3. Extend Jscroll
    By cowboy in forum New To Java
    Replies: 10
    Last Post: 12-13-2009, 08:07 PM
  4. Help with overlapping JPanels
    By xcallmejudasx in forum New To Java
    Replies: 2
    Last Post: 03-09-2009, 10:19 PM
  5. overlapping forms
    By keerthi_y19 in forum New To Java
    Replies: 4
    Last Post: 08-26-2008, 10:30 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
  •