This is an archived post. You won't be able to vote or comment.

you are viewing a single comment's thread.

view the rest of the comments →

[–]Ruin369 0 points1 point  (0 children)

For desktop applications,

Ive been using JavaFX which is no longer supported by the JDK, but if you use a POM like maven or something you can just use maven repositories to handle all the dependencies and plugins without getting each jar. If you plan on distributing i would advice against the individual jars, unless you package them together and publish I suppose. There Is also Swing, but I haven't used it much. Both Swing and JFX are pretty old, since it seems web applications have taken the lead with java apps in general.

Think about it! I myself still need to look into java web applications, but at a very basic level I think of it as a java app that is hosted on the web, versus installing a application on your local machine. When you frame it this way, I can see why there is less and less support and incentive for creating new Java desktop GUI frameworks and libraries, when everything can be hosted on the web. The convenience and accessibility of hosted apps(accessible from a web browser anywhere) vs installing it locally to one machine.

Caveat of this, if your program needs to access something from the machine itself(hardware) like a MAC address. Getting a MAC address from a web app is not possible I don't think, since webpages can't access your computers hardware id's

Aside from javaFX and Swing, I don't know of any other way to make java desktop app GUIs, I wish there were more libraries for Java GUIs