r/javahelp • • Jun 22 '19

do professional java applications use swing form designer to create GUI ?

I mean do softwares likes InteliJ which are made in Swing , code all GUI in code manully ?? or they use GUI desiner with like one provided with InteliJ with Drag-and-drop ??

17 Upvotes

11 comments sorted by

7

u/Roachmeister Java Dev Jun 22 '19

I imagine it all depends on the developer. I personally usually code it by hand, but that's because my Eclipse at work is broken. (No, I can't fix it, long story, yada yada.) The important thing to remember is that in the final product there's no way to tell what tool it was made with, if any.

1

u/laiot_ Jun 23 '19

I'm really having trouble using swing to write the GUI for a college project (a tabletop videogame).

I don't get why I need to try out different couplings of layouts and they never really work the way I want (so I just adapt the final result in order to not make the draw methods angry.

It surprise me a lot to know that Swing was used in order to make IntelliJ.

2

u/DoorsXP Jun 23 '19

I am too suffering from non working swing layouts and I too have to accept final outcomes that i didn't desired. I use mostly Qt and QML but i have to use java swing for College project.

1

u/laiot_ Jun 23 '19

Me too! Hey, are you working on the Adrenaline game? lol

2

u/DoorsXP Jun 24 '19

no. I am working Scalable Quiz System

2

u/jazzas24 Jun 22 '19

I work at firm which develops desktop app which is 20+ years old. And we always write code ourselves. , thats is probabbly due to fact that you have oop code and its easy to extend and implement some dialog with a different functionality.

1

u/DoorsXP Jun 22 '19

Thanks :)

3

u/[deleted] Jun 22 '19

I've used tornadofx for one off minor projects like a gui to log downloading app for gps data and a few programs that transform documents from one geospacial format to another because the tools that were out there did not work. It's not as bad xml imo and much more control than a wysiwyg editor.

0

u/[deleted] Jun 23 '19

[deleted]

1

u/DoorsXP Jun 23 '19

I agree but sadly i don't have choice . I would've choose Qt/Qml but I have to use Swing for college Projects as its in syllabus

3

u/[deleted] Jun 23 '19

Why would older technology be less memory efficient? That‘s rather counterintuitive. In my experience Swing applications run very well on current computers.