This week's book giveaway is in the Kotlin forum.
We're giving away four copies of Kotlin in Action and have Dmitry Jemerov & Svetlana Isakova on-line!
See this thread for details.
Win a copy of Kotlin in Action this week in the Kotlin forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

JSplitPan�s Problem  RSS feed

 
Ikram Soomro
Ranch Hand
Posts: 42
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,
How can JSplitPane can be fixed at the particular position?
I have added JTree on the left of JSplitPane in JScrollPane. The nodes are being added in tree at runtime.
I am facing problem that if there is text bigger than original size of splitpan�s left component than the split bar increases its size as much as that text is added to it.

Thanks in advance.

Ikram Soomro
 
VIJAY Yadlapati
Ranch Hand
Posts: 175
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Add the tree to a JScrollPane, and add that scrollpane to Left side of SplitPane.
 
With a little knowledge, a cast iron skillet is non-stick and lasts a lifetime.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!