Bjoern Smith wrote:
> 
> Marcel Ruff wrote:
> 
> > Hi,
> >
> > the following little examples doesnt return (about every second time).
> >
> > Especially when you first click in the text area and write some letters
> > and than click OK, the final System.out.println() is never printed.
> >
> > -----------------------------------------
> > import javax.swing.JOptionPane;
> > import javax.swing.JFrame;
> >
> > public class ModalEvent
> > {
> >   static public void main(String[] args)
> >   {
> >     System.out.println("Testing JDialog events ...");
> >     JFrame frame = new JFrame("Hello");
> >
> >     String str = JOptionPane.showInputDialog(frame,
> >                       "Please enter: ",
> >                       "Modal not returning",
> > JOptionPane.QUESTION_MESSAGE);
> >
> >     System.out.println("SUCCESS: str=" + str);
> >   }
> > }
> > ------------------------------------------
> >
> > Could anybody try on his/her machine if it works there?
> 
> Works just fine on both 1.1.7v3 and 1.2 pre-v2 for me.

It didn't work for me on 1.1.7v3 on RH6, either.

-- 
Justin Lee | Contemporary philosophy seems to satisfy
JEDI       | Assumptions in theology that only get them by


----------------------------------------------------------------------
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to