my dog learned polymorphism
The moose likes Swing / AWT / SWT and the fly likes Is this is bug in jdk 1.5 ?? Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » Swing / AWT / SWT
Bookmark "Is this is bug in jdk 1.5 ??" Watch "Is this is bug in jdk 1.5 ??" New topic

Is this is bug in jdk 1.5 ??

Amol Juvatkar

Joined: May 16, 2005
Posts: 16
hello friends,
On lost focus of text field I am doing validation and Keeping focus in same field with error dialog if validation not succeeded.
Problem is that dialog displayed more than 1 times .
Point to note is that
> same code work fine with jdk 1.4,
> if I comment line textField.request Focus(), code works fine even in jdk 1.5 ,
but I need to keep focus in same field.

----------------------- code -------------------------------

What can be the solution ??
Craig Wood
Ranch Hand

Joined: Jan 14, 2004
Posts: 1535
Java tries to make this easy for us with the InputVerifier class.
I’ve looked at a lot of different solutions, and in my humble opinion Aspose is the way to go. Here’s the link:
subject: Is this is bug in jdk 1.5 ??
It's not a secret anymore!