JAVA GUI PROGRAMMING | Sololearn: Learn to code for FREE!
Новый курс! Каждый программист должен знать генеративный ИИ!
Попробуйте бесплатный урок
+ 2


Should i need to learn java GUI swings with every code explicitly writing and knowing everything every toolkits and methods that performs some jframes and other stuffs or should i just do it with netbeans for easy process with drag and drops?

21st Jun 2018, 4:46 AM
Buddha Nag
Buddha Nag - avatar
3 ответов
+ 2
Using swing will force you to understand how frames, panels, panes, positioning, layouts and all the components of a java gui work, while if you go to the drag and drop on netbeans you risk not understanding fully the java gui libs (swing and others). It's up to you, but getting a bit familiar with the libraries and the coding itself before going for the easier drag and drop may help you in the long run. That said, there's nothing wrong with going for the faster and easier alternative provided by netbeans, if you feel that you understand the basic mechanics of java for gui's. (You don't need to know all the aspects of the libs and the toolkits to make a gui in java. Look for what you need at the given time, and with a little practice you will start getting the general idea.)
21st Jun 2018, 5:20 AM
Billy Tsouvalas
+ 6
I've been told that JavaFX is the future, perhaps you will want to look into that instead of Swing, although you can certainly built your foundations on the latter. Drag-and-drops are always a no-no.
21st Jun 2018, 5:16 AM
Hatsy Rei
Hatsy Rei - avatar
+ 1
Agreed with Hatsy Rei on the swing fx. Swing is becoming rather old, not to mention the feel is not good and you will need a look-and-feel extra lib to make it look ok for 2018. Fx is the thing now.
21st Jun 2018, 5:26 AM
Billy Tsouvalas