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?

Answers


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


Need Your Help

PHP: Is it ok to replace \r\n with \n?

php linefeed

I have a form with a textarea and a JS character counter. Yet the backend script claims that the strlen of the message is longer than the JS character counter claimed. The reason for this, I have

How to create a switch comparator in JS?

javascript jquery html css

is there a way to create a switch comparator like this one?

About UNIX Resources Network

Original, collect and organize Developers related documents, information and materials, contains jQuery, Html, CSS, MySQL, .NET, ASP.NET, SQL, objective-c, iPhone, Ruby on Rails, C, SQL Server, Ruby, Arrays, Regex, ASP.NET MVC, WPF, XML, Ajax, DataBase, and so on.