-
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. :)
-
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));