Links

Lists

Latest Updates

Ruby On Rails List
Python list
Advanced Java
The JavaScript List
Apache Users
Full Disclosure
Linux Security

Search the archives!


[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Advanced-java] deactivate key events


  • From: sam@xxxxxxxxxxx (Sam Berger)
  • Subject: [Advanced-java] deactivate key events
  • Date: Fri, 25 Jan 2002 12:34:29 +0100

Hi,
my goal is to make a modal internal frame, with other words: popup an
internal frame and as long as the frame is shown, all components in the
background are not editable, neither with a mouse-input nor a key-input. I
took a JLayeredPane, put the 'background-components' in the background, in
the middle a GlasPane and in the front my lovely internal frame. With the
GlasPane, all mouse-events can be cuptured, but you can still handle the
whole thing with the keyboard. Does somebody knows, if it is possible to cut
the 'input-event-tube' from a component? It would be really cool, if someone
could give me a hint!

thanks

sam