This week's book giveaway is in the OCMJEA forum.
We're giving away four copies of OCM Java EE 6 Enterprise Architect Exam Guide and have Paul Allen & Joseph Bambara on-line!
See this thread for details.
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


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 "Is this is bug in jdk 1.5 ??" Watch "Is this is bug in jdk 1.5 ??" New topic
Author

Is this is bug in jdk 1.5 ??

Amol Juvatkar
Greenhorn

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.
 
Consider Paul's rocket mass heater.
 
subject: Is this is bug in jdk 1.5 ??