Swing & RMIHomepage  « Learn Java6 « Swing & RMI

This section of the Learn Java6 side of the site is included as it relates to elements within the  Case Study . The first seven sections of the Learn Java6 part of the site are related to learning core Java as well as being connected to the topics associated with Java6 certification.

We start the section by looking at Graphical User Interface (GUI) concepts and the MVC paradigm and how this pattern can help in removing some of the complexity from the disparate parts of an application. We then introduce the Abstract Windowing Toolkit (AWT) and Swing libraries with an overview of those parts of these libraries we are interested in to create our own GUIs within java. In Swing we store components within other components and we look at the javax.swing.JFrame top-level container class, adding depth to frames using panes and the javax.swing.JPanel background container class. Following on from this we take a look at several of the interactive Swing components available for use when creating our GUIs. Then we take a look at several layout managers we can use to organise the components within our GUIs. We also need to make our GUIs interactive so what we require is a mechanism where we are alerted to a user event, such as a button being clicked, and make a response to it. We look at how we can intercept user events and action them, which is known as event handling. In our final lesson on Swing by looking at dialogs which are windows that are displayed within the context of a parent window. Dialogs are often used to display some information, show messages to the user or prompt the user for input. In our last lesson of the section by looking at Remote Method Invocation more commonly known as RMI and how we can use it to access methods remotely.

GUI Concepts

In our first lesson of the section we look at GUI concepts and the MVC paradigm and how this pattern can help in removing some of the complexity from the disparate parts of a user application.

AWT and Swing Libraries Overview

In this lesson we introduce the AWT and Swing libraries with an overview of the parts of these libraries we are interested in to create our own GUIs within java.

Swing Containers

In this lesson we look at the javax.swing.JFrame top-level container class, adding depth to frames using panes and the javax.swing.JPanel background container class.

Swing Components

In this lesson we take a look at several of the interactive Swing components available for use when creating our GUIs that users are most familiar with, such as buttons, check boxes, text fields etc.

Layout Managers

In the preceding lessons we have seen several code examples where we use layout managers to position our Swing components without going into details about the layout manager used. In this lesson we rectify this by taking an in-depth look at several layout managers we can use to organise the components within our GUIs.

Event Handling

We also need to make our GUIs interactive so what we require is a mechanism where we are alerted to a user event, such as a button being clicked, and make a response to it. In this lesson we look at how to intercept user events and action them, which is known as event handling.

Dialogs

In our final lesson on Swing we look at dialogs which are windows that are displayed within the context of a parent window. Dialogs are often used to display some information, show messages to the user or prompt the user for input.

RMI

We finish the section by looking at RMI and how we can use it to access methods remotely.

<<  Collections - Sorting Collections                    GUI Concepts  >>

go to home page Java6 Tutor Homepage go to top of page Top

All the Java6 Swing/RMI lessons are listed below. Click a link to go to that lesson.


Swing & RMI

GUI Concepts

AWT and Swing Libraries Overview

Swing Containers

Swing Components

Layout Managers

Event Handling

Dialogs

RMI