SplitPane


DevX Home    Today's Headlines   Articles Archive   Tip Bank   Forums   

Results 1 to 2 of 2

Thread: SplitPane

  1. #1
    Dean Guest

    SplitPane


    How can I get the split panes to reduce in size. It will reduce to a point
    and then I can not move it any more. Is this minimum width hardcoded somewhere
    that I can get to and change it? Or is it the blackbox beyond my control?
    Thanks
    Dean M.

  2. #2
    Paul Clapham Guest

    Re: SplitPane

    Are you asking about moving the divider, or resizing the frame that contains
    the JSplitPane? In any case, here's an excerpt from the API documentation
    for JSplitPane (which also contains a link to a tutorial about using
    JSplitPanes):
    [start quote]

    When the user is resizing the Components the minimum size of the Components
    is used to determine the maximum/minimum position the Components can be set
    to. If the minimum size of the two components is greater than the size of
    the split pane the divider will not allow you to resize it. To alter the
    minimum size of a JComponent, see
    JComponent.setMinimumSize(java.awt.Dimension).

    [end quote]

    PC2

    "Dean" <donald.meredith@wcom.com> wrote in message
    news:3aef1414$1@news.devx.com...
    >
    > How can I get the split panes to reduce in size. It will reduce to a

    point
    > and then I can not move it any more. Is this minimum width hardcoded

    somewhere
    > that I can get to and change it? Or is it the blackbox beyond my control?
    > Thanks
    > Dean M.




Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
HTML5 Development Center
 
 
FAQ
Latest Articles
Java
.NET
XML
Database
Enterprise
Questions? Contact us.
C++
Web Development
Wireless
Latest Tips
Open Source


   Development Centers

   -- Android Development Center
   -- Cloud Development Project Center
   -- HTML5 Development Center
   -- Windows Mobile Development Center