0 Replies Latest reply on Aug 28, 2008 1:18 PM by 843849

    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.