Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.java.programmer > #18533

Re: jtextfield focus

From Eric Sosman <esosman@ieee-dot-org.invalid>
Newsgroups comp.lang.java.programmer
Subject Re: jtextfield focus
Date 2012-09-04 09:54 -0400
Organization A noiseless patient Spider
Message-ID <k25178$eri$1@dont-email.me> (permalink)
References <f06d0843-fb1e-451b-9316-e5d9d74d596c@googlegroups.com>

Show all headers | View raw


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."

Back to comp.lang.java.programmer | Previous | Next | Find similar | Unroll thread


Thread

Re: jtextfield focus Eric Sosman <esosman@ieee-dot-org.invalid> - 2012-09-04 09:54 -0400

csiph-web