Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.java.gui > #1409 > unrolled thread

Multilayer event catching

Started by"Insoreiges" <insoreiges@THRWHITE.remove-dii-this>
First post2011-04-27 15:33 +0000
Last post2011-04-27 15:33 +0000
Articles 3 — 2 participants

Back to article view | Back to comp.lang.java.gui


Contents

  Multilayer event catching "Insoreiges" <insoreiges@THRWHITE.remove-dii-this> - 2011-04-27 15:33 +0000
    Re: Multilayer event catc "Andrew Thompson" <andrew.thompson@THRWHITE.remove-dii-this> - 2011-04-27 15:33 +0000
      Re: Multilayer event catc "Insoreiges" <insoreiges@THRWHITE.remove-dii-this> - 2011-04-27 15:33 +0000

#1409 — Multilayer event catching

From"Insoreiges" <insoreiges@THRWHITE.remove-dii-this>
Date2011-04-27 15:33 +0000
SubjectMultilayer event catching
Message-ID<1176004688.807051.14360@d57g2000hsg.googlegroups.com>
  To: comp.lang.java.gui
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.

---
 * Synchronet * The Whitehouse BBS --- whitehouse.hulds.com --- check it out free usenet!
--- Synchronet 3.15a-Win32 NewsLink 1.92
Time Warp of the Future BBS - telnet://time.synchro.net:24

[toc] | [next] | [standalone]


#1410 — Re: Multilayer event catc

From"Andrew Thompson" <andrew.thompson@THRWHITE.remove-dii-this>
Date2011-04-27 15:33 +0000
SubjectRe: Multilayer event catc
Message-ID<706122d631220@uwe>
In reply to#1409
  To: comp.lang.java.gui
Insoreiges@gmail.com wrote:
.
>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.

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

Message posted via http://www.javakb.com

---
 * Synchronet * The Whitehouse BBS --- whitehouse.hulds.com --- check it out free usenet!
--- Synchronet 3.15a-Win32 NewsLink 1.92
Time Warp of the Future BBS - telnet://time.synchro.net:24

[toc] | [prev] | [next] | [standalone]


#1442 — Re: Multilayer event catc

From"Insoreiges" <insoreiges@THRWHITE.remove-dii-this>
Date2011-04-27 15:33 +0000
SubjectRe: Multilayer event catc
Message-ID<1176402297.572970.24880@q75g2000hsh.googlegroups.com>
In reply to#1410
  To: comp.lang.java.gui
On Apr 8, 11:40 am, "Andrew Thompson" <u32984@uwe> wrote:
> Insorei...@gmail.com wrote:
>
> .
>
> >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.
>
> --
> Andrew Thompsonhttp://www.athompson.info/andrew/
>
> 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.

---
 * Synchronet * The Whitehouse BBS --- whitehouse.hulds.com --- check it out free usenet!
--- Synchronet 3.15a-Win32 NewsLink 1.92
Time Warp of the Future BBS - telnet://time.synchro.net:24

[toc] | [prev] | [standalone]


Back to top | Article view | comp.lang.java.gui


csiph-web