Create GUI with java | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
+ 2

Create GUI with java

Swing or JavaFx? How can i learn?

23rd Jul 2020, 6:35 PM
Sepehr Mollaei
Sepehr Mollaei - avatar
1 Answer
+ 2
Hi Mohammad Sepehr, Your solution is- 1. Create GUI with java https://docs.oracle.com/javase/tutorial/uiswing/ Go to this link!!!!!! 2. Should I learn swing or directly learn JavaFX? People who are learning Java are being discouraged to learn Swing because Oracle is trying to spread JavaFX among Java developers. Many Java textbooks do not teach Swing anymore. While using Swing is officially discouraged, you should definitely learn JavaFX. However, in my opinion you should also learn Swing. Which one you learn first is something you should decide. If you wonder my reasoning behind this, Swing is still largely known and used among experienced, senior Java developers. You should learn it not to use it but, in case, you may need to maintain or read some old Java application, it is very likely you may encounter Swing. It won’t hurt if you learn. Hope it helps ✌️ Please mark this answer as verified answer ✔️!!!!!!!!! Have a nice day!!!!!!😋
23rd Jul 2020, 6:43 PM
Aveer Dhare
Aveer Dhare - avatar