0

Help solve this errorNote: Calculator.java uses or overrides a deprecated API. Note: Recompile with -Xlint:deprecation for detai

https://code.sololearn.com/chdjspNle9Lj/?ref=app

4th Jan 2020, 4:11 PM
Umaima Siddiqua
Umaima Siddiqua - avatar
4 Réponses
+ 1
You cannot run GUI applications on SoloLearn, only console. You might be able to run it on your PC with JDK 8 or earlier. But keep in mind that you should not use outdated APIs, if you want to make GUI applications with Java then go for javafx or maybe swing (but fx is better)
4th Jan 2020, 5:16 PM
Tibor Santa
Tibor Santa - avatar
0
Those API's are not supported here on sololearn. Just the programs which result in a output on the console alone can be executed.
4th Jan 2020, 4:14 PM
Avinesh
Avinesh - avatar
0
Everything in java.applet has been deprecated since Java 9 without replacement, they should not be used.
4th Jan 2020, 4:58 PM
Tibor Santa
Tibor Santa - avatar
0
So how do i execute this now?
4th Jan 2020, 5:03 PM
Umaima Siddiqua
Umaima Siddiqua - avatar