Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
HomeAnnouncementsWhite Papers
Discussion GroupsFirst AidDatabasesJavaBeansGUIJava 3DVirtual MachineCORBASecurityToolsGeneral
Java DirectoryOpen Source ProjectsSample Book ChaptersUser GroupsWeb Resources
Related Topics
Databases.NETMore Topics ...

Java Forum / GUI / April 2007

Tip: Looking for answers? Try searching our database.

Multilayer event catching

Thread view: 
Insoreiges@gmail.com - 08 Apr 2007 04:58 GMT
Hi.

I have a JLayeredPane with multiple layers in it. Each layer is a
JPanel extended class and some of them register different MouseEvent
listeners. Event catching stops at the first layer with a registered
listener, but i want it to go "through" to other layers. Any
suggestions?

Thanks, and excuse me if this question was asked before.
Andrew Thompson - 08 Apr 2007 05:39 GMT
..
>I have a JLayeredPane with multiple layers in it. Each layer is a
>JPanel extended class and some of them register different MouseEvent
>listeners. Event catching stops at the first layer with a registered
>listener, but i want it to go "through" to other layers. Any
>suggestions?

Forget 'what you want' and instead describe what marvellous
ability you would like to offer to the end user.

Signature

Andrew Thompson
http://www.athompson.info/andrew/

Insoreiges@gmail.com - 12 Apr 2007 19:24 GMT
> Insorei...@gmail.com wrote:
>
[quoted text clipped - 13 lines]
>
> Message posted viahttp://www.javakb.com

Well, basically, the program draws regions and tips for them (like
coordinates of a point). These happen to be drawn on different layers.
I want to process selection of those regions, if the user clicked on a
region itself or on a tipbox.


Free Magazines

Get these publications absolutely FREE for up to 12 months. There are no hidden fees and no obligation. Simply choose a title, complete the application form and submit it. Read more ...

Oracle MagazineNetwork ComputingComputer WorldBio-IT WorldeWeekInformation WeekInfosecurity
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.