• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

MouseEvent handling.

 
Pratik Khetia
Ranch Hand
Posts: 50
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,
I have a class which has JSplitPane in it. In the top of the JSplitPane I am adding a JDesktop and then I have another class which returns JInternalFrame which I am adding to JDesktop.
Now I want to be able to draw something on that JInternalFrame so I want to attach MouseListener & MouseMotionListener so where should I write the code for it ??
In the class having JDesktop or in the class having JINternalFrame.
thanks
Pratik
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic