swing development in java

27

Upload: saivvit

Post on 06-Feb-2015

123 views

Category:

Education


5 download

DESCRIPTION

 

TRANSCRIPT

Page 1: Swing Development in Java
Page 2: Swing Development in Java

The Java Programming Language

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

Page 3: Swing Development in Java

The Java Platform

Page 4: Swing Development in Java

The Java Platform

Page 5: Swing Development in Java

Java IDEs

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

Page 6: Swing Development in Java

Graphical User Interfaces

JFC

AWT

Swing

Java 2D

Page 7: Swing Development in Java

Using Top-Level Containers

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

Page 8: Swing Development in Java

Text Components

Page 9: Swing Development in Java

Buttons

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

Page 10: Swing Development in Java

Labels

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

Page 11: Swing Development in Java

Combo Boxes

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

Page 12: Swing Development in Java

Color Choosers

Page 13: Swing Development in Java

File Choosers

Page 14: Swing Development in Java

Menus

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

Page 15: Swing Development in Java

Dialogs

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

Page 16: Swing Development in Java

Internal Frames

Page 17: Swing Development in Java

Panels

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

Page 18: Swing Development in Java

Layout Managers

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

Page 19: Swing Development in Java

Layout Managers

Page 20: Swing Development in Java

Layout Managers

Page 21: Swing Development in Java

Layout Managers

Page 22: Swing Development in Java

Tabbed Panes

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

Page 23: Swing Development in Java

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.

Page 24: Swing Development in Java

Lists

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

Page 25: Swing Development in Java

Borders

Every JComponent can have one or more borders.

Page 26: Swing Development in Java

Thank You :)

/+GdgvijayawadaBlogspot

/GDGVijayawada

/GDGVijayawada

Follow Us:

http://gdg-vijayawada.org

Page 27: Swing Development in Java