Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.lang.java.programmer > #31608 > unrolled thread
| Started by | karthi.udupi@gmail.com |
|---|---|
| First post | 2015-04-22 05:29 -0700 |
| Last post | 2015-04-22 09:03 -0400 |
| Articles | 2 — 2 participants |
Back to article view | Back to comp.lang.java.programmer
This discussion starts older than the indexed window; earlier articles aren't shown. The article labeled Started by
below is the oldest one visible, not the original post.
Re: how to hide and show cursor in JTextField? karthi.udupi@gmail.com - 2015-04-22 05:29 -0700
Re: how to hide and show cursor in JTextField? Eric Sosman <esosman@comcast-dot-net.invalid> - 2015-04-22 09:03 -0400
| From | karthi.udupi@gmail.com |
|---|---|
| Date | 2015-04-22 05:29 -0700 |
| Subject | Re: how to hide and show cursor in JTextField? |
| Message-ID | <4fa86659-492f-453f-9981-7b71525dc56f@googlegroups.com> |
On Friday, 4 January 2008 06:35:36 UTC+5:30, Roy wrote: > Hi, > > Is there any way to hide the cursor in the JTextField and show the > cursor when I click this field? It'd be great if I click other area > or components in the panel, hide the cursor in the JTextField again. > > Thanks a lot. > Roy Other option might be JTextArea.setCaretColor(getBackground());
[toc] | [next] | [standalone]
| From | Eric Sosman <esosman@comcast-dot-net.invalid> |
|---|---|
| Date | 2015-04-22 09:03 -0400 |
| Message-ID | <mh864b$thm$1@dont-email.me> |
| In reply to | #31608 |
On 4/22/2015 8:29 AM, karthi.udupi@gmail.com wrote:
> On Friday, 4 January 2008 06:35:36 UTC+5:30, Roy wrote:
>> Hi,
>>
>> Is there any way to hide the cursor in the JTextField and show the
>> cursor when I click this field? It'd be great if I click other area
>> or components in the panel, hide the cursor in the JTextField again.
>>
>> Thanks a lot.
>> Roy
>
> Other option might be
>
> JTextArea.setCaretColor(getBackground());
"Let's Do The Time Warp Again!"
(It must be admitted, though, that Karthi's answer to a seven-year-
old question is not in the same league as someone else's recent answer
to an *eighteen-year-old* question.)
--
esosman@comcast-dot-net.invalid
"Don't be afraid of work. Make work afraid of you." -- TLM
[toc] | [prev] | [standalone]
Back to top | Article view | comp.lang.java.programmer
csiph-web