Win a copy of Java Concurrency Live Lessons this week in the Threads forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

border re-layout issue?  RSS feed

 
Johann Dobbins
Ranch Hand
Posts: 63
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I made a Component TitledBorder using this code:

http://www.javalobby.org/java/forums/t33048.html

The border has an odd issue of re-laying itself out. After the panel containing the border component loads, the first time i move the mouse, the border's right insets increase slightly, shifting any contained components slightly to the left. This only happens on the first mouse movement after the initially load. Any thoughts?

Thank You
 
It is sorta covered in the JavaRanch Style Guide.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!