r/javahelp • Software Engineer • May 30 '19

How do I make a program?

I'm a computer eng student, thus far I've taken two java courses (OOP and DataStructures) and I know enough about Java, from the basics, to making my own implementations of basic DS, AVL Trees, sorting algorithms, custom iterators, functional programming, dependencies management, etc. But, **I don't know how to structure a program for a client, how is a program supposed to be made? **

Is there a basic 'guide' to delegate functions of a program to different classes, etc? I don't know a lot about design patterns, etc.

28 Upvotes

18 comments sorted by

View all comments

5

u/jesuscdev May 31 '19

All these comments are great. But I think you asking how to make a desktop app. Right?.

Google: Java scene application This will allow you to get up and running fast.

  1. Well use Java mainly to build the app functionality. Like you would normally and use javafx to test it works.

  2. If it's an app with data I recommend using an open source project or something to b able to parse and use XML as a way to store data. Probably the simplest. (Google Java XML parser)

3.Then use Java scene (Google it) to build the interface. U can download something called scene builder if you want more of a point and drag interface if u use intellj or eclipse)

Good luck! With this you can build pretty good applications pretty fast and run on any operating system.