JSplitPane in NetBean GUI builder
I tried to drag a JSplitPane from the Palette in NetBeans but it always shows up on my JPanel as two separate panes with left and right buttons on them.
I could not do anything with the buttons. They were not even components on the Pane. What is going on? How could you make it like normal empty two split panes with nothing one them?
The buttons are just placeholders. First you resize the pane(including those buttons) to what size and position you desire. Then, just drag a JPanel (or any other component) from palette, and drop it on the any of the buttton. That button will be replaced by the JPanel (or component). Then you may do anything as you normally do with JPanel (or that component).