Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations bkrike on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

How do you freeze the seperator in a JSplitPane?

Status
Not open for further replies.
Mmm. Don't know for sure.

Try adding a VetoableChangeListener to the JSplitPane and dump to System.out the property that changes when you alter the split position. If there is one, then put in a test for this property in your listener and throw a PropertyVetoException when detected. This might do the trick. I'd be interested to know the results of this.

Tim
 
Thats interesting. I will have to dive into it a little more when I get a chance today. I suppose I could have used another control to achieve the split frame but I liked this one the best.

I will check into it more and if I run across something I will be sure to post it back to this thread.

nb


---------------------------------------
Noble D. Bell
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top