0 Replies Latest reply: Aug 28, 2008 8:18 AM by 843849 RSS

    help with showInputDialog

      Hi evreybody,
      I need help to use "JOptionPane.showInputDialog()", I see the input dialog but when i press OK the method doesn't return nothing.

      my code is
      String a=JOptionPane.showInputDialog(getContentPane(),"");
      after I press OK button the value of name is null.

      Thank you for yours help.