Meaningless Drivel is fun!*
The moose likes Swing / AWT / SWT and the fly likes Multiple Flashing carets Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of OCM Java EE 6 Enterprise Architect Exam Guide this week in the OCMJEA forum!
JavaRanch » Java Forums » Java » Swing / AWT / SWT
Bookmark "Multiple Flashing carets" Watch "Multiple Flashing carets" New topic
Author

Multiple Flashing carets

Angela Narain
Ranch Hand

Joined: Apr 14, 2001
Posts: 327
I am having a panel in which there are two textfields.
Now on focus lost of the first textField , i open for a
JDialog box , within which i have one button clicking
on which another JDialog box opens.
Closing the last opened JDialog i come to the first JDialog opened,
which when closed returns me back to the first panel with
the textFields.
Now here comes the problem,, when it returns back i get two
focus/flashing carets , one of the next immediate editable textField and other on the first one.
Does anyone have an idea how i can solve this ?
Any kind of help would be appreciated.
Chantal Ackermann
Ranch Hand

Joined: Sep 28, 2000
Posts: 508
hi Angela,
that sounds like a bug in your program. are you using JOptionPane to open the dialogs?
chantal
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Multiple Flashing carets