public class FocusRequester
extends java.lang.Object
setVisible
.
The default method requestFocus
does not work. Found this solution here:
http://forum.java.sun.com/thread.jsp?thread=113935&forum=57&message=573364
Constructor and Description |
---|
FocusRequester()
Constructor method for i18n purposes only.
|
FocusRequester(javax.swing.JComponent component)
Uses the
invokeLater method from SwingUtilies . |
public FocusRequester() throws java.lang.InstantiationException
I18NExtractor
).
java.lang.InstantiationException
- Error indicationpublic FocusRequester(javax.swing.JComponent component)
invokeLater
method from SwingUtilies
.
component
- The component to be auto-focussedCopyright © 2005-2013 Leisenfels UG (haftungsbeschränkt). All rights reserved.