+ 1

How to add graphic interface to a java program(game)?

https://code.sololearn.com/cu4TCUm8eooO/#java this is a simple odd-even game code written in java by me... how can we take the name, odd-even choice, number of fingers parameters through a graphical interface? I want to learn about this and will be very helpful if any1 can suggest

10th Dec 2017, 4:27 AM
abhrodeep chanda
abhrodeep chanda - avatar
3 ответов
+ 3
You can use JavaFX. You could also use Java Swing, but JavaFX is the recommended GUI framework to use with Java now.
10th Dec 2017, 4:40 AM
ChaoticDawg
ChaoticDawg - avatar
0
more elaboration of the solution is necessary as I also need this to know with an example
10th Dec 2017, 8:40 AM
Erina Roy
Erina Roy - avatar