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.7 (14 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,215 students enrolled
$19
$20
5% off
Take This Course
  • Lectures 23
  • Length 4 hours
  • Skill Level Intermediate Level
  • Languages English
  • Includes Lifetime access
    30 day money back guarantee!
    Available on iOS and Android
    Certificate of Completion
Wishlisted Wishlist

How taking a course works

Discover

Find online courses made by experts from around the world.

Learn

Take your courses with you and learn anywhere, anytime.

Master

Learn and practice real-world skills and achieve your goals.

About This Course

Published 8/2014 English

Course Description

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.

What are the requirements?

  • 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?

  • 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

What 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

What you get with this course?

Not for you? No problem.
30 day money back guarantee.

Forever yours.
Lifetime access.

Learn on the go.
Desktop, iOS and Android.

Get rewarded.
Certificate of completion.

Curriculum

Section 1: Introduction
Requirements
Preview
2 pages
02:19

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

Section 2: Tools required
07:58

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.

06:07

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.

01:48

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.

05:01

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.

Section 3: Basic Application Framework
06:39

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.

06:18

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

Add Logging
19:37
Create the main window
08:13
Adding a Window Event Handler
16:34
Section 4: Adding a Splashscreen
Creating a Splashscreen
Preview
14:59
Splashscreen progress text
16:32
Splashscreen progress bar
11:46
Using our splashscreen
07:20
Section 5: Adding the Menu
Creating a Menu
Preview
13:20
Building Menu options
19:47
Adding Menu to the Application
11:15
Section 6: Adding a Help About dialog box
Creating a Help About dialog box
Preview
12:55
Build the dialog box
14:00
Layout dialog box information
14:19
Add Help About to the application
12:40
Section 7: Packaging up the application
Package up the Application
19:05

Students Who Viewed This Course Also Viewed

  • Loading
  • Loading
  • Loading

Instructor Biography

John McNeil, 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.

Ready to start learning?
Take This Course