+ 1

Why doesn't import javax.swing.JOptionPane work with the compiler provided by Sololearn?

I cannot use, for example, the next structure: String name; name = JOptionPane.showInputDialog("What is your name?"); it should allow the user to read the question and type their name, but instead iht shows Time limit exceeded Thanks

17th Feb 2017, 2:33 PM
Jhon
Jhon - avatar
1 Antwort
+ 5
SoloLearn doesn't provide an advanced IDE for Swing and graphics, so my guess is they don't provide access to those packages.
17th Feb 2017, 2:48 PM
NickB
NickB - avatar