| Author |
static method getFocusedComponent() of JTextComponent
|
Jim Martin
Ranch Hand
Joined: Oct 31, 2002
Posts: 80
|
|
Hi all How do I use the static method getFocusedComponent() of JTextComponent. I am using JBuilder 6.0. I am using the class DefaultFocusManager() and I am trying to used the static method getFocusedComponent() of JTextComponent to get the component the currently has the focus. What is another way to get the component that has the focus currently? Thank you very much
|
 |
Howard Zhao
Greenhorn
Joined: May 06, 2002
Posts: 27
|
|
I am not sure whether this is what you are looking for: KeyboardFocusManager.getCurrentKeyboardFocusManager().getFocusOwner() Howard
|
 |
 |
|
|
subject: static method getFocusedComponent() of JTextComponent
|
|
|