Java - Build a Desktop Application
3.9 (22 ratings)
Instead of using a simple lifetime average, Udemy calculates a course's star rating by considering a number of different factors such as the number of ratings, the age of ratings, and the likelihood of fraudulent ratings.
1,258 students enrolled
Wishlisted Wishlist

Please confirm that you want to add Java - Build a Desktop Application to your Wishlist.

Add to Wishlist

Java - Build a Desktop Application

Learn how to build a Desktop Application using Java and Swing with full step by step instructions and resources
3.9 (22 ratings)
Instead of using a simple lifetime average, Udemy calculates a course's star rating by considering a number of different factors such as the number of ratings, the age of ratings, and the likelihood of fraudulent ratings.
1,258 students enrolled
Created by John McNeil
Last updated 8/2014
Current price: $10 Original price: $20 Discount: 50% off
5 hours left at this price!
30-Day Money-Back Guarantee
  • 4 hours on-demand video
  • 1 Supplemental Resource
  • Full lifetime access
  • Access on mobile and TV
  • Certificate of Completion
What Will I Learn?
  • Write a desktop application using the Java programming language and package up into an executable file
  • Creating and using a menu
  • Display dialog box with details about the author of the application
  • Implementing a generic method for writing an application log file
  • Package the application into an executable file for easy distribution
  • Basic image handling
View Curriculum
  • Some knowledge of Java
  • Eclipse Integrated Development Environment (IDE) for Java
  • Java Run Time Environment (JRE)
  • A few other freely available tools such as Log4J, and Launch4J

What am I going to get from this course? –

  • How to implement all those standard Applications features
  • Adding a Menu bar to your application
  • Adding Help-About dialog box to your application
  • Using a Splash screen on startup to show progress
  • How to implement logging for your Application

The course is divided into 7 sections with each section taking you through an area of the application, with sections such as installing and testing your environment, building a menu and packaging up your application ready for distribution.

Delivery of course content is primarily through the use of video sessions demonstrating a specific point. At the end of each section you are able to run the code and explore the results.

At the end of the course you will be able to take the techniques covered in the course and apply these to your own development projects.

Who is the target audience?
  • successfully completed a Java beginners course who want to use their new found skills to build Desktop Applications
  • Programmers of all levels new to Desktop Application development
Compare to Other Java Courses
Curriculum For This Course
23 Lectures
2 Lectures 02:19

Take a look at the finished application we will build during this tutorial.

Preview 02:19
Tools required
4 Lectures 20:54

The application we will build will be written in Java. Before we can start we need to install Java onto our machine. This video takes you through the steps need to install Java on your computer.

Installing Java

To provide visual help and handy tools in writing Java code we will use an Integrated Development Environment (IDE). Eclipse is a popular Java IDE and this video covers how locate, download and install to you computer.

Installing Eclipse

As we go through developing the application we will add code which writes out progress information to a log file. To allow us to do this we will make use of a logging tool call Log4J. This video shows you where to locate the Log4J tool.

Application Logging toolkit

Once all the code writing is over we will package up our Java code into an executable program. To do this we will use the Launch4J tool. This video shows you where you can locate this tool.

Executable wrapper for Java
Basic Application Framework
5 Lectures 57:21

Before we get to involved in writing our application, first lets check we have our environment installed and working correctly by writing a small test program.

Preview 06:39

This sessions ensures that when we use our Swing components there are run on the Event Dispatch Thread.

Preparing to use GUI objects - Threadsafe running

Add Logging

Create the main window

Adding a Window Event Handler
Adding a Splashscreen
4 Lectures 50:37

Splashscreen progress text

Splashscreen progress bar

Using our splashscreen
Adding the Menu
3 Lectures 44:22

Building Menu options

Adding Menu to the Application
Adding a Help About dialog box
4 Lectures 53:54

Build the dialog box

Layout dialog box information

Add Help About to the application
Packaging up the application
1 Lecture 19:05
Package up the Application
About the Instructor
John McNeil
3.9 Average rating
22 Reviews
1,266 Students
2 Courses
Designing and developing applications

From my days as a teenager my personal interest has been in graphics, particularly the 3D world. However my professional life has been spent dealing with business issues and particularly the management and flow of information.

I have spent over 15 years designing and developing applications for business and for fun. I have worked with C, C++, Java, as well as a host of scripting languages and developed client/server, interactive web sites, web services and enterprise java solutions.

After years of designing solutions on various platforms I now spend my time sharing my knowledge and experience with others within the business arena so that they may develop their full potential. I prefer to use real world examples to demonstrate points where possible so much of my teaching is through doing.