It's not a secret anymore!*
The moose likes Swing / AWT / SWT and the fly likes input errors in JDialogs Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of Murach's Java Servlets and JSP this week in the Servlets forum!
JavaRanch » Java Forums » Java » Swing / AWT / SWT
Bookmark "input errors in JDialogs" Watch "input errors in JDialogs" New topic

input errors in JDialogs

Barry Brashear
Ranch Hand

Joined: Jun 05, 2001
Posts: 303
What is the best idea for presenting input errors to the user in a JDialog?
Should you have a JLable at the bottom where you place an error message?

Serghei Jelauc
Ranch Hand

Joined: Jul 24, 2002
Posts: 128
May be a did not understand the question, but why not? Of corse you can add JLabel to the JDialog. Try this:

Hope it will help

SCJP 1.4 <br />SCBCD 1.3<br />SCWCD 1.4
I agree. Here's the link:
subject: input errors in JDialogs
Similar Threads
Same Code Different Behaviour
struts-config.xml parse error
No result defined for action
can't get selectManyCheckbox values
Struts 2 reditect to same URL