Results 1 to 2 of 2
  1. #1
    Join Date
    Sep 2010
    Posts
    1
    Rep Power
    0

    Default How do a size a JSplitPane to the form?

    I created an application with a split pane, and dragged the sides of it to the window border. When I run the application and resize the window, the pane doesn't resize exactly. It reaches a maximum height and then stops growing, leaving a huge gap between the top of the frame window and the top of the pane.

    In Delphi you would set the "Align" property to "Client". In C#.Net you set the "Dock" property to "Fill". There is no corresponding property that I could find in either the JPanel or JSplitPane. How is this done in Java?
    Last edited by Delphi_Programmer; 09-24-2010 at 09:49 PM.

  2. #2
    DarrylBurke's Avatar
    DarrylBurke is offline Member
    Join Date
    Sep 2008
    Location
    Madgaon, Goa, India
    Posts
    11,196
    Rep Power
    19

Similar Threads

  1. displaying JSplitPane in JPanel
    By sandysm in forum AWT / Swing
    Replies: 4
    Last Post: 07-26-2010, 09:13 AM
  2. Replies: 6
    Last Post: 01-31-2010, 01:44 PM
  3. Managing jPanels in jSplitPane
    By calexander in forum Advanced Java
    Replies: 6
    Last Post: 11-13-2008, 07:06 PM
  4. JSplitPane nightmare
    By SwinGirl in forum SWT / JFace
    Replies: 1
    Last Post: 05-01-2008, 08:24 PM
  5. I need create a JSplitPane
    By Daniel in forum AWT / Swing
    Replies: 1
    Last Post: 07-05-2007, 06:12 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
  •