de.glossmaker.gui.gloss.main
Class TopPanelFocusListener
java.lang.Object
de.glossmaker.gui.gloss.main.TopPanelFocusListener
- All Implemented Interfaces:
- FocusListener, EventListener
public class TopPanelFocusListener
- extends Object
- implements FocusListener
This class selects the text in the JTextComponent if the component gains the focus.
- Author:
- Markus Flingelli
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
TopPanelFocusListener
public TopPanelFocusListener(JTextComponent component)
focusGained
public void focusGained(FocusEvent e)
- Specified by:
focusGained
in interface FocusListener
focusLost
public void focusLost(FocusEvent e)
- Specified by:
focusLost
in interface FocusListener
Copyright © 2010 - 2011 Markus Flingelli. All Rights Reserved.