Results 1 to 2 of 2

Thread: JSplitPane problems

  1. #1

    Thread Starter
    Dazed Member
    Join Date
    Oct 1999
    Location
    Ridgefield Park, NJ
    Posts
    3,418

    Angry JSplitPane problems

    Does anyone know if a JSplitPane can be added to a JDesktopPane? I need to separate three JInternalFrames. When i add two internal frames to a JSplitPane then add the JSplitPane to the JDesktopPane nothing shows up even when the internal frames are setVisible(true). Thanks.

  2. #2

    Thread Starter
    Dazed Member
    Join Date
    Oct 1999
    Location
    Ridgefield Park, NJ
    Posts
    3,418

    Re: JSplitPane problems

    I decided to scrap the JDesktopPane but i im not sure how go about splitting three components.
    Code:
    jf.getContentPane().add(new JSplitPane(JSplitPane.HORIZONTAL_SPLIT,comp1,comp2));
    jf.getContentPane().add(new JSplitPane(JSplitPane.VERTICAL_SPLIT,comp1,comp3));

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width