TI289
Information technology

JAVA Swing: developing rich interfaces (RIA) in Java

Build advanced Java graphical interfaces using Swing and MVC architecture


Swing offers a high degree of granularity in terms of components, events, and windows, ideally suited to the needs of applications based on specific and complex thick clients. The portable and consistent look and feel ensures consistent ergonomics across all platforms.

Objectives

This training aims to enable you to master the development of rich interfaces with Java Swing using advanced API features that are fully adapted to run on multiple environments.

Is it for you ?

Java developers, designers, project managers, technical architects.

Prerequisite

Fundamental Java (classes, packages, events). Good understanding of event-driven programming. Basic knowledge of graphical user interfaces (buttons, menus, dialog boxes). Knowledge of the MVC pattern. Basic knowledge of threading (for responsive UI).

Your benefits

  • Design graphical user interfaces in Java using Swing components and layouts
  • Handle user interactions through events and the Observer pattern
  • Structure applications with a maintainable and scalable MVC2 architecture
  • Use advanced components (tables, lists, trees) for complex interfaces
  • Develop, test, and deploy Swing applications with packaging and network distribution
  • Content

    API Technical Architecture

    • History of Swing
    • Software engineering exercise to discover components
    • The MVC model in graphical components
    • Practical work: Software engineering exercise to discover components
    See more + / -

    Creating a simple interface based on specifications

    • Assembling windows and components
    • Arranging elements with layouts
    • Practical work: Starting the leave management application, creating windows and placement managers

    Responding to user events with listeners

    • Understanding the Observer pattern
    • Implementing internal and anonymous classes
    • Practical work: Place Swing components (such as JButton) in the leave entry form and manage their events via internal and anonymous classes, implement dedicated classes

    Set up a maintainable MVC2-type architecture

    • Differences between technical and functional events
    • Create a controller for the application's use cases
    • Use the Command pattern for business logic
    • Maintain the navigation context and associated information
    • Practical work: Manage navigation in the application, following the MVC paradigm

    Use advanced Swing components and their models

    • Lists and their models (data, editing, and display)
    • Tables and their models
    • Tree structures and their models

    Develop complex and user-friendly interfaces

    • Components for creating menus
    • Complex windows with advanced containers: scrollbars, internal windows, etc.
    • User-friendly design with absolute or relative component layout
    • Graphic enhancement with customizable and portable look and feel styles
    • Use drag and drop
    • Practical work: Improve the presentation and ergonomics of the application using advanced Swing components

    Creating intelligent components

    • Creating a JavaBeans Swing component
    • Events for processing data changes
    • Surface controls and rollback on component state changes
    • Practical work: Create a JavaBean to control and save data entered by the user

    Advanced aspects

    • Use Java Web Start for network deployment
    • Comparison with Eclipse RCP
    • Practical work: Package and deploy the leave management application for remote use

    💡 Useful information

    Our training sessions are offered in Montreal or Quebec City, in person or in virtual format. Dates and locations are provided when you select your session below. If you have any questions regarding registration, schedules, the language of instruction, or cancellation policies, please consult our FAQ .

    Duration
    3 days
    Schedule
    9h to 16h
    Regular fee
    $1,485
    Preferential fee A preferential rate is offered to public institutions, to members of certain professional organizations as well as to companies that do a certain amount of business with Technologia. To know more, please read the "Registration and rates" section on our FAQ page. Please note that preferential rates are not available for online training courses. Discounts cannot be combined with other offers.
    $1,335
    Private or personalized training

    Do you have several employees interested in the same training course? Whether in person at your offices or remotely in virtual mode, we offer private training courses tailored to your team's needs. Group rates are available. Contact us for more details or request a quote online.

    Request a quote

    Request in-company training

    Do you have several employees interested in the same training course? Whether in person at your offices or remotely in virtual mode, we offer private training courses tailored to your team's needs. Group rates are available. Contact us for more details or request a quote online.

    Tell us more
    Added to cart View my cart