wood burning stoves 2.0*
The moose likes Swing / AWT / SWT and the fly likes Cursor color of JTextfield Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of The Java EE 7 Tutorial Volume 1 or Volume 2 this week in the Java EE forum
or jQuery UI in Action in the JavaScript forum!
JavaRanch » Java Forums » Java » Swing / AWT / SWT
Bookmark "Cursor color of JTextfield" Watch "Cursor color of JTextfield" New topic

Cursor color of JTextfield

Hugo Anbeek

Joined: Dec 03, 2008
Posts: 2

In a program I wrote I set the background color of a textfield to black and the foreground color to white. However the cursor remains black is it possible to set the color of the cursor?


Michael Dunn
Ranch Hand

Joined: Jun 09, 2003
Posts: 4632
Hugo Anbeek

Joined: Dec 03, 2008
Posts: 2
gracias (i feel stupid lol)
I agree. Here's the link: http://aspose.com/file-tools
subject: Cursor color of JTextfield