aspose file tools*
The moose likes Swing / AWT / SWT and the fly likes MouseEvent handling. Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » Swing / AWT / SWT
Bookmark "MouseEvent handling." Watch "MouseEvent handling." New topic
Author

MouseEvent handling.

Pratik Khetia
Ranch Hand

Joined: Jun 29, 2001
Posts: 50
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
 
Don't get me started about those stupid light bulbs.
 
subject: MouseEvent handling.