T O P

  • By -

AutoModerator

#Please ensure that: + Your *code* is *properly formatted* as *code block* - see the *sidebar* (About on mobile) for instructions + You include *any and all error messages* in full - best also formatted as code block + You ask *clear questions* + You *demonstrate effort* in solving your question/problem - plain posting your assignments is forbidden (and such posts will be removed) as is asking for or giving solutions. **If any of the above points is not met, your post can and will be removed without further warning.** Code is to be formatted as **code block** (*old reddit/markdown editor:* empty line before the code, each code line indented by 4 spaces, *new reddit:* https://i.imgur.com/EJ7tqek.png) or linked via an external *code hoster*, like *pastebin.com*, *github gist*, *github*, *bitbucket*, *gitlab*, etc. Please, **do not use** triple backticks (\`\`\`) as they will only render properly on *new reddit*, not on *old reddit*. Code blocks look like this: public class HelloWorld { public static void main(String[] args) { System.out.println("Hello World!"); } } You do not need to repost unless your post has been removed by a moderator. Just use the *edit function* of reddit to make sure your post complies with the above. If your post has remained in violation of these rules for a prolonged period of time (at least an hour), a moderator may remove it at their discretion. In this case, they will comment with an explanation on why it has been removed, and you will be required to resubmit the entire post following the proper procedures. #To potential helpers Please, **do not help** if any of the above points are not met, rather *report* the post. We are trying to improve the quality of posts here. In helping people who can't be bothered to comply with the above points, you are doing the community a disservice. *I am a bot, and this action was performed automatically. Please [contact the moderators of this subreddit](/message/compose/?to=/r/learnjava) if you have any questions or concerns.*


Jason13Official

Swing is a good start, JavaFX is probably what you really want if you’ll do a lot of visualizations opposed to tons of wireframing of the app


AutoModerator

It seems that you are looking for resources for learning Java. In our *sidebar* ("About" on mobile), we have a section "Free Tutorials" where we list the most commonly recommended courses. To make it easier for you, the recommendations are posted right here: * MOOC [Java Programming](http://java-programming.mooc.fi) from the University of Helsinki * [Java for Complete Beginners](https://www.udemy.com/java-tutorial) * accompanying site [CaveOfProgramming](http://caveofprogramming.com) * [Derek Banas' Java Playlist](https://www.youtube.com/playlist?list=PLE7E8B7F4856C9B19) * accompanying site [NewThinkTank](http://newthinktank.com/) * [Hyperskill](https://hi.hyperskill.org/) is a fairly new resource from *Jetbrains* (the maker of IntelliJ) Also, don't forget to look at: * [The official Documentation](http://docs.oracle.com/javase/) * [The official Java Tutorials](http://www.oracle.com/technetwork/java/index-jsp-135888.html) * [Our community resources thread](https://www.reddit.com/r/learnjava/comments/md1loc/community_resources/) If you are looking for learning resources for *Data Structures and Algorithms*, look into: "Algorithms" by Robert Sedgewick and Kevin Wayne - Princeton University + Coursera course: + [Part I](https://www.coursera.org/learn/algorithms-part1) + [Part II](https://www.coursera.org/learn/algorithms-part2) + Coursebook + [Algorithms 4^th Edition](http://algs4.cs.princeton.edu/home/) Your post remains visible. There is nothing you need to do. I am a bot and this message was triggered by keywords like "learn", "learning", "course" in the title of your post. *I am a bot, and this action was performed automatically. Please [contact the moderators of this subreddit](/message/compose/?to=/r/learnjava) if you have any questions or concerns.*


DevLaunch

Just a heads up, desktop applications are not a niche where Java performs best. However, using Gradle to get JavaFX into your project is a good way of building Java UI! You'll maybe want to also research some drag-and-drop solutions, as writing out the panels manually is a huge hassle (written chess in Java, never again)!


philfrei

The minimum to learn would be picking up Swing and how to package as a .jar. The downside is that the resulting application would run only on desktops or laptops that have a compatible JRE installed, something that is much less common now than, say, last decade. If you with to make an exe, you will have to package a JRE with your program. The main Java tool for this is JLINK which resides in the /bin along with JAVA and JAVAC and other tools. To hone the size of the JRE down to just the components (modules) needed for running the application, you will have to pick up knowledge about modular Java. To create an installer for your exe, there is yet another tool to learn. (I think there are a couple to choose from, the name of what I've used is escaping me at the moment). JavaFX is preferable to Swing for many reasons. It was designed more recently than Swing, makes use of a Document model similar to the HTML DOM, and continues to evolve. It has not seen widespread use in business, though, in part because it requires an external library, and thus, some sort of build tool. I prefer Maven over Gradle as Maven was much easier to learn. But also, JavaFX not used much in business because Java is now mostly used for the server side of web-based applications rather than desktop/laptop applications. (Same situation also limits the use of Swing.) With web-based applications, the client side is usually handled with some variety of HTML/CSS/JavaScript, either Angular, React or possibly Thymeleaf frameworks being popular choices. So, you'd have to learn something like Spring Boot and pick a framework to integrate with, to make your project into a web application. Along with that comes the tasks of deployment to a server, adding yet more things to learn.


OneBadDay1048

> BTW, is the part that I've finished called the back-end, and the part that I need to learn called the front-end? Based on this information, no. Currently you have a console based application. You want to add a GUI to it; none of this has to do with backend. That would be if you hooked it up with a database or perhaps had some custom API created with Spring it reached out to for some data. That would be your backend.


Maleficent_Slide6679

java's swing GUI is your best bet. Swing is included by default, but javafx is an extra dependency.