swing development in java

Post on 06-Feb-2015

123 Views

Category:

Education

5 Downloads

Preview:

Click to see full reader

DESCRIPTION

 

TRANSCRIPT

The Java Programming Language

• Simple• Object oriented• Distributed• Multithreaded• Dynamic• Architecture neutral• Portable• High performance• Robust• Secure

The Java Platform

The Java Platform

Java IDEs

• NetBeans• Eclipse Java IDE• JetBrains IntelliJ IDEA• Oracle JDeveloper• JCreator LE• bluej• jEdit

Graphical User Interfaces

JFC

AWT

Swing

Java 2D

Using Top-Level Containers

Swing provides three generally useful top-level container classes:• JFrame• JDialog• JApplet

Text Components

Buttons

• JButton• JCheckBox• JRadioButton• JMenuItem• JCheckBoxMenuItem• JRadioButtonMenuItem• JToggleButton

Labels

With the JLabel class, you can display unselectable text and images.

Combo Boxes

A JComboBox, which lets the user choose one of several choices

Color Choosers

File Choosers

Menus

A menu provides a space-saving way to let the user choose one of several options.

Dialogs

A Dialog window is an independent sub window meant to carry temporary notice apart from the main Swing Application Window.

Internal Frames

Panels

The JPanel class provides general-purpose containers for lightweight components.

Layout Managers

• BorderLayout• BoxLayout• CardLayout• FlowLayout• GridBagLayout• GridLayout

Layout Managers

Layout Managers

Layout Managers

Tabbed Panes

With the JTabbedPane class, you can have several components, such as panels, share the same space.

Tables

With the JTable class you can display tables of data, optionally allowing the user to edit the data. JTable does not contain or cache data.

Lists

A JList presents the user with a group of items, displayed in one or more columns, to choose from.

Borders

Every JComponent can have one or more borders.

Thank You :)

/+GdgvijayawadaBlogspot

/GDGVijayawada

/GDGVijayawada

Follow Us:

http://gdg-vijayawada.org

top related