Win a copy of The Way of the Web Tester: A Beginner's Guide to Automating Tests this week in the Testing forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

JTree Node - moving to left in editing mode

Sainath Veepuri
Ranch Hand
Posts: 49
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi All,
I have created a JTree with my own custom render and editor class.
It works fine, but the only thing that worries me is that when I try to edit the node, the nodes moves/aligns to the left by a few pixels.

FYI : The tree is in a JScrollPane.
The cutom editor has two JLabels & two JTextFields on it.
This issue is seen when try to edit the JTextFields.

Any suggestions please.

With a little knowledge, a cast iron skillet is non-stick and lasts a lifetime.
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic