+ 1
Java code no compiler! Why? Help me!
Why is not my code compiled here? Although in Idea I write, everything works? why? https://code.sololearn.com/c838UPbY4wwX/?ref=app https://code.sololearn.com/c838UPbY4wwX/?ref=app
1 ответ
+ 7
The SoloLearn compiler only supports console/commandline programs. jFrame "works" (your code is compiling), but since your code executes on a server, any windows cannot be interacted with. All the server sends back is the console results, and there are none (hence "No output").
If you want to use jFrame and other GUI stuff, you'll have to use a computer with an offline compiler.