Meaningless Drivel is fun!*
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


Win a copy of Murach's Java Servlets and JSP this week in the Servlets forum!
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
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: MouseEvent handling.
 
Similar Threads
Keeping JInternal Frame within desktop
Do we have a JStatusBar in java?
problem in JSplitPane
Multiple Document Interface in Java
how i can make a JinternalFrame un-moveable