0

Do we get more imports?

I was wondering, when I code something, that some method don't work. Also that I can't import the javax.swing functions. Will this get fixed someday? I think something like JOptionPane isn't really hard to implement or? I hope. Also it seems sometimes, that the compiler say it is wrong, or that there is something missing, but in my mind I think, there isn't missing something. I don't know. I am not the high level programmer, but sometimes there are conflicts, that if I want to use some orders like on pc.

25th Jan 2018, 6:00 PM
Cyphy
Cyphy - avatar
3 Answers
+ 4
sololearn doesnt support gui, thats why there is no swing etc
25th Jan 2018, 6:05 PM
Jeremy
Jeremy - avatar
+ 11
in gui , u get a yellow or red bulb mark will come in left side of that line asking for import statement (just click on that mark & select option to import & it will do it automatically) //import javax.swing.JOptionPane;
25th Jan 2018, 6:34 PM
Gaurav Agrawal
Gaurav Agrawal - avatar
+ 5
If the compiler says something is wrong, it is. There are times it is hard to figure out what. But, eventually it is found and fixed. Even though your code doesn't compile or run here. You can still ask questions about it. Post a link to the code in SoloLearn, a statement of what you use to compile it, the error message, and the line # of the error line as it sits in SoloLearn. That way we can duplicate it or examine it so we can help you with it.
25th Jan 2018, 6:20 PM
John Wells
John Wells - avatar