Go Back   CodingForums.com > :: Server side development > Java and JSP

Before you post, read our: Rules & Posting Guidelines

Reply
 
Thread Tools Rate Thread
Enjoy an ad free experience by logging in. Not a member yet? Register.
Old 03-20-2005, 01:39 AM   PM User | #1
lipidinc
New to the CF scene

 
Join Date: Mar 2005
Posts: 1
Thanks: 0
Thanked 0 Times in 0 Posts
lipidinc is an unknown quantity at this point
Java - Locating Shapes

I am writing a graphics-based app in Java. I've got a bunch of shapes that I need to manipulate on the screen, and was wondering if anyone knew of any way to find a Shape in a JPanel at a specific coordinate (such as that of a MouseEvent) other than storing them in an array or list and iterating through each entry until a Shape is found that contains those coordinates?
lipidinc is offline   Reply With Quote
Reply

Bookmarks

Jump To Top of Thread


Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT +1. The time now is 05:40 PM.


Advertisement
Log in to turn off these ads.