thank you jeanette for your suggestions ;-)
> Didn't see that until now - but I'm usually careful not to chain too
> many dialogs, I think focus handling get's a bit confused if it has to
> handle too many isTemporary events (just a blind guess).
in fact it seems that this chaining confuses a lot and yes 'wizarding' was
the next alternative I faced...but after some more investigating, I think I
found the problem:
all my dialogs held the my main JFrame as owner...and that seems to be the
cause of this strange phenomena..as soon as I declared that the owner of my
new dialog should be the second dialog...thank god the problem
disappeared...
cheers
-paolo
> -----Original Message-----
> From: Kleopatra [mailto:[EMAIL PROTECTED]]
> Sent: Tuesday, March 13, 2001 3:35 PM
> To: Vedovato Paolo
> Cc: 'Advanced Swing'
> Subject: Re: Problems with InputVerifier on JTextField and
> modal dialogs
>
>
> >
> > i have different JTextFields with different InputVerifiers. on one
> > JTextField (when i go through its InputVerifier verify()
> method) i have to
> > open two modal dialogs one after the other (one it's a
> question and one
> > showing that we connect to the internet to get an
> information). so far so
> > good no problems.
>
> [snip]
>
> > now I had to place another modal dialog between the two
> existing ones (get
> > password dialog) and ...bang...suddenly i have two carets
> blinking: one on
> > the next focused JTextField and on on the generating one.
>
> Didn't see that until now - but I'm usually careful not to chain too
> many dialogs, I think focus handling get's a bit confused if it has to
> handle too many isTemporary events (just a blind guess).
>
> In your case would it be an option to use a wizard-like dialog right
> from the start? Just one dialog with cardlayout?
>
> Greetings
> Jeanette
>
>
_______________________________________________
Advanced-swing mailing list
[EMAIL PROTECTED]
http://eos.dk/mailman/listinfo/advanced-swing