JAVA-INDEX.COM
Java programming resources: FAQs, tutorials, compiler and browser download sites, documentation, books lists, IDEs, etc.
Home....
|
log in....
|
Pub my question!
|
Sign-up....
Java-index
>>
Desktop
>>
Core GUI APIs
How do I find out which JComponent has the current focus
I see myJComponent.requestFocusInWindow();but I can't see anything like JComponent focusIsOn = myJContainer.getFocus();
[141 byte] By [
simon_orangea
] at [2007-11-27 6:51:57]
««
About Encapsulation
»»
A higher level of JMX Notification
# 1
never done this, but maybe:FocusManager.getCurrentManager().getFocusOwner();
Nethera
at 2007-7-12 18:26:31 >
# 2
In JDK1.4 the FocusManager was replaced by the KeyBoardFocusManager and I believe you would use:KeyBoardFocusManager.getCurrentKeyboardFocusManager().getFocusOwner();
camickra
at 2007-7-12 18:26:31 >
Desktop
Download a license.bea file in webstart cache
problem in loading applet from non-executable jar file
Hey guys.. I created a simple software where you can draw jButtons with..
Sign jar at runtime
Beginner with some problems
Swing jar application does not load on remote Solaris/Linux machine
How to accesss user defined environment variables
Access user defined environment variable in JAVA
RCA input connector?
Swing app x native rendering x Windows Terminal Server
Core GUI APIs
text on top of an image in a component
JList not responding to keyboard arrows
JScrollPane problem
java2d and swing
How to compare and highlight differences of two text files
Managing Event of checkbox in JTable
Create dialog from inner class
Integrating more than 2 Swing files
Printing a JFrame and its contents.
how to get the component who has caret?
Desktop Hot Topic
text on top of an image in a component
Managing Event of checkbox in JTable
Sign jar at runtime
Simulate web links in Swing using labels? Best/most dynamic way?
Text Direction
Special JSplitPane behavior?
Another question about which layout to use
Child of ImageIcon overriding paintIcon() paints over JScrollPane
problem with jcombobox
Make a jar file of JFrame with Substance LookAndFeel
How to set width and height of JTABLE
Applet tag and Object tag.
Desktop
Core GUI APIs
Deploying
Runtime Environment
Developing for the Desktop
I18N
Sun Secure Global Desktop Software
Sun Java Desktop System
Sun Ray Software - General Discussion
Mozilla Browser For Solaris
All Classified
Archived Forums
Enterprise & Remote Computing
Java Essentials
Desktop
Core
Solaris Operating System
Security
Database Connectivity
Java Mobility Forums
Web & Directory Servers
Development Tools
Application & Integration Servers
Java HotSpot Virtual Machine
Other Topics
E-Mail, Calendar, & Collaboration
Developer Tools
General
Administration Tools
Sun Hardware
Storage Forums
Java Enterprise System
StarOffice
Open Source Technologies
BigAdmin
Real-Time
Java Coding