-
mouse events
I am trying to write an event handler for a group of canvas objects in a JPanel.
Unlike the ActionEvent, I don't seem to be returned the instance of the class,
just the class itself. This is all very well, however I am trying to use
a class to create a set of clickable images, and hence need to find out which
instance variable I am looking at. Is this done with the instanceof keyword
(proabably in a different manner to what I am doing at present).
Regards
Toby
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
Forum Rules
|
Top DevX Stories
Easy Web Services with SQL Server 2005 HTTP Endpoints
JavaOne 2005: Java Platform Roadmap Focuses on Ease of Development, Sun Focuses on the "Free" in F.O.S.S.
Wed Yourself to UML with the Power of Associations
Microsoft to Add AJAX Capabilities to ASP.NET
IBM's Cloudscape Versus MySQL
|
Bookmarks