Understanding Desktop Development
Desktop development is different from web development. In some ways it is easier and other ways harder. Let’s begin by looking at how we will had Desktop features to our application.
We are going to use Java Swing for our Desktop application. NetBeans has a drag-and-drop tool for it.
Creating Desktop Interface
Let us begin by creating a Java Swing screen that is similar to our web screen.
Next our screen needs to be able to communicate with the database.
Next we want to generate Entity classes just like we did in our web application.
Now we need some code to have our screen talk with this database layer.
If we did everything correctly, it should work.
If you would like to have your application open to a certain screen, here is how you do it.
Bonus Material: Java Look and Feel
If you do not like the look of the standard Java Swing components Java has a solution for that. A Java Look and Feel can replace the graphics for the GUI components. Many Java Looks and Feels are free to download and use.