Results 21 to 23 of 23
Thread: MouseListener problems
- 05-07-2012, 03:05 AM #21
Re: MouseListener problems
I'd start with learning how to use mouse listeners. The moving shapes can be drawn on a JPanel. If the JPanel has a mouse listener and the shapes have locations in the JPanel, you will be able to determine which shape the click was inside of.
If you don't understand my response, don't ignore it, ask a question.
- 05-07-2012, 03:12 AM #22
Member
- Join Date
- May 2012
- Posts
- 11
- Rep Power
- 0
Re: MouseListener problems
besides that is my code for it to click on the shape correct?
- 05-07-2012, 03:29 AM #23
Similar Threads
-
Help with mouselistener
By kastraki2000 in forum Java AppletsReplies: 2Last Post: 04-30-2011, 03:56 PM -
can't get x and y from mouselistener
By j2me64 in forum Java 2DReplies: 3Last Post: 04-24-2010, 04:57 PM -
MouseListener & GUI
By Suurisa in forum New To JavaReplies: 2Last Post: 10-27-2009, 12:52 AM -
i need help for MouseListener
By sfaxianovic in forum New To JavaReplies: 2Last Post: 08-21-2008, 03:30 AM -
MouseListener
By Aswq in forum New To JavaReplies: 12Last Post: 07-18-2008, 08:10 AM


LinkBack URL
About LinkBacks
Reply With Quote
Bookmarks