• Post Reply Bookmark Topic Watch Topic
  • New Topic

JSplitPane and MouseMotionListener ???

 
Andrew FischerIsTaken
Greenhorn
Posts: 2
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I need to catch when a user moves the divider in a jSplitPane and save the value. I've tried adding a mouseMotionListener, but instead of catching mouse drags for the splitPane, I'm getting events for a JLable inside a panel inside the SplitPane. What am I doing wrong?

[ August 08, 2003: Message edited by: Andrew FischerIsTaken ]
 
Andrew FischerIsTaken
Greenhorn
Posts: 2
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I figured it out. Use a PropertyChangeListener instead of a mouse listener.
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!