Velocity Reviews

Velocity Reviews (http://www.velocityreviews.com/forums/index.php)
-   Java (http://www.velocityreviews.com/forums/f30-java.html)
-   -   jtextfield focus (http://www.velocityreviews.com/forums/t951802-jtextfield-focus.html)

baz83 09-04-2012 10:11 AM

jtextfield focus
 
How do I know if a JTextField has the focus?

Eric Sosman 09-04-2012 01:54 PM

Re: jtextfield focus
 
On 9/4/2012 6:11 AM, baz83 wrote:
> How do I know if a JTextField has the focus?


Use isFocusOwner() or addFocusListener().

--
Eric Sosman
esosman@ieee-dot-org.invalid
"The speed at which the system fails is usually not important."


All times are GMT. The time now is 06:11 PM.

Powered by vBulletin®. Copyright ©2000 - 2014, vBulletin Solutions, Inc.
SEO by vBSEO ©2010, Crawlability, Inc.