+ 2

how can i put a program in an application ? i wrote a program with eclipse ( a calculator ) what can i do with it now ? maybe put it in an application but how ? and is in this app (sololearn) declared how to program interactive fields ? like for calculator a field for + - * / and = ? is there any tutorial for that ?

23rd Jul 2016, 1:33 PM
Peter Müller
Peter Müller - avatar
5 Antworten
+ 1
JavaFX is part of Java for developing graphical applications. It has classes for graphical objects like buttons, labels etc. u have scene builders but most of these u'll need to code manually, it's not just drag and drop system... To use it in Eclipse u'll need to istall some plugin, try to find video tut for that...
23rd Jul 2016, 5:18 PM
Petar Suvajac
Petar Suvajac - avatar
0
You can package your calculator class as a library and use it in another application by importing your library just as you do when you are importing other Java libraries.
23rd Jul 2016, 4:05 PM
Eric Gitangu
Eric Gitangu - avatar
0
how can i create an application by mys elf :D ? ( yes i am a noob)
23rd Jul 2016, 4:21 PM
Peter Müller
Peter Müller - avatar
0
Well, all code u have right now is probably in .java format and it's probably just for console applications. U can compaile and run it in CMD if u want, but u have eclipse terminal for that... If u want to build Java GUI application u need to start with JavaFX or move to Android development. Google: GUI, JavaFX, Android Studio...
23rd Jul 2016, 4:42 PM
Petar Suvajac
Petar Suvajac - avatar
0
are those fields (gui's) simply there or have i to program them ? and i don't really understood this: can i create or use guis in eclipse or what is JavaFX never heared from it
23rd Jul 2016, 5:01 PM
Peter Müller
Peter Müller - avatar