Java Swing (GUI) Programming: From Beginner to Expert

Java Swing (GUI) Programming: From Beginner to Expert

English | MP4 | AVC 1280×720 | AAC 48KHz 2ch | 14 Hours | 1.61 GB

Learn how to create desktop and Internet GUI Java programs and take your Java programming to the next level.

This course teaches you how to create desktop and web-based applications using Java Swing, Java’s built-in user interface toolkit. Each tutorial is fairly self-contained; but we’ll also build two complete applications step by step along the way, so you can choose either to work through the whole course or to dip in and out.

Among other things we’ll look at nearly all Swing widgets, we’ll take a look at JDBC for database access, the graphics API, model-view-controller (MVC) architecture, serialization for saving data, the listener-event model and even basic animation.

When you finish the course, you’ll be an advanced Swing developer, capable of creating complex and scalable Swing GUI applications.

What Will I Learn?

  • Learn how to write GUI (graphical user interface) applications in Java
  • Understand the Java Swing framework
  • Discover how to create database applications
Table of Contents

Desktop Applications
1 Introduction About the Course Plus Some Useful Resources
2 Creating a Basic Swing Application
3 Adding Components Layouts Buttons and Text Areas
4 Responding to Button Clicks
5 Custom Components
6 Simple Toolbars
7 Communication Between Components
8 Listeners and Events Using Interfaces to Cleanly Separate Components
9 Setting Component Sizes
10 Setting Borders
11 Text Fields and Labels
12 Laying Out Controls with GridBagLayout
13 Custom Events and Form Submission
14 List Boxes
15 Working With List Box Data
16 Combo Boxes
17 Checkboxes
18 Radio Buttons
19 Menus
20 Using Checkboxes in Menus
21 Mnemonics and Accelerators
22 Message Boxes
23 OpenSave File Dialogs
24 Filtering File Choosers
25 Model-View-Controller Creating a Data Model
26 Model-View-Controller Creating a Controller
27 Creating Tables
28 Serialization Saving Objects to Files
29 Popup Menus
30 Selecting Rows in Tables
31 Deleting Rows in Tables
32 Dialogs
33 Spinners Specialised Controls for Entering Numbers
34 Password Fields
35 Saving Program Data Preferences
36 Arranging and Designing Dialogs and Forms
37 JDBC Connecting to a SQL Database
38 JDBC Retrieving Values from Databases
39 JDBC Saving to a Database
40 JDBC Updating Databases
41 JDBC Loading Data from Databases
42 Wiring in the Database Code Bringing It All Together
43 Intercepting the Window Closing Event
44 Using Images and Icons
45 Draggable Toolbars Using the JToolbar class
46 Split Panes Creating Resizeable Separate Areas
47 Tabs Using Tabbed Panes
48 Tree Views Using JTree
49 Tree Selection Events
50 Associating Data With Tree Nodes
51 Tree Node Icons
52 Custom Tree Cell Renderers Using Checkboxes in Trees
53 Custom Tree Cell Editors Editing Tree Nodes Using Checkboxes
54 Detecting Tree Node Editor Changes
55 A Simulated Message Server
56 Multithreading in Swing The SwingWorker class
57 Modal Dialogs
58 Progress Bars
59 Distributing Your Application Runnable Jars
60 Adding Text to Progress Bars
61 Cancelling SwingWorker Threads
62 Setting the Cursor
63 Multiple Nested Split Panes
64 Responding to Tab Selections
65 Custom List Renderers
66 Responding to List Selections
67 Changing the Font Using Logical Fonts
68 Loading Font Files
69 Configuring the Database Connection
70 Editable Tables
71 Using Checkboxes in Table Cells
72 Custom Table Cell Renderers
73 Using Custom Editors in Table Cells

Applets and Animation
74 About Applets and the Following Section
75 Applets Creating a Simple Swing Program that Runs in a Webpage
76 Drawing Custom Components
77 Drawing Shapes Exploring the Graphics API
78 Deploying Applets
79 Timers Using the Swing Timer Class
80 Basic Animation
81 Smoothing Your Animations With Double Buffering
82 Mouse Listeners
83 Hiding the Cursor
84 Key Listeners
85 Detecting Component Resizing
86 Using Visual Designers The Free Window Builder Pro Plugin
87 CardLayout Switching Between Completely Different Views
88 Detecting Collisions Between Shapes
89 Turning an Applet into a Desktop App

Appendix
90 Setting the Look and Feel
91 Source Code – Complete Projects
92 Projects — The Source Code Projects You See in the Tutorials
93 Swing Test Database