0

[java] Can I import javafx classes for using GUI methods here in Sololearn's Code Playground?

... or only works for text-based programs?

14th Feb 2017, 8:02 PM
Martín Lehoczky
Martín Lehoczky - avatar
2 Antworten
+ 5
No, Java GUI frameworks don't work at the playground.
14th Feb 2017, 8:11 PM
Tashi N
Tashi N - avatar
+ 3
JavaFX is included in the jdk and the jre. IDE compiles the code and then runs it (needs jdk to compile and jre to run), same as you would do via console. Just install the jdk and an IDE you like and you've got everything you need.
14th Feb 2017, 8:27 PM
Tashi N
Tashi N - avatar