ABSTRACT WINDOWS TOOLKITS
à AWT is a
powerful concept in JAVA. It is basically used to
develop for the building of
GUI application.
à AWT is
platform dependent. That means .class file
after
the program compilation is platform independent but the look of your
GUI
application is platform dependent.
àHierarchy of AWT classes:-
àA class
library is provided by the Java programming language
which is known as Abstract
Window Toolkit (AWT). It contains
several graphical component of GUI which can
be added and
positioned based on layout manager.
àIn Java
for the awt component awt package import as import java.awt.*;
|
SWING
à
Swing components facilitate efficient graphical user interface
(GUI) development.
àIt
provides collection of lightweight visual components
with replacement for the
heavyweight AWT components
as well as complex user-interface components.
àThe entire Swing
Component name begins with “J” so
JComponent class is the root of the visual
component class
hierarchy in the JFC for Swing.
àIn Java
for the swing component swing package import as import javax.swing.*;
àHierarchy of Swing classes:-
|
Computer Science :: 11th/12th, Computer Engineering :: Degree/Diploma, Coding Concept ( C, C++ & JAVA Programming, JDBC Concept, DBMS - SQL Concept, Data Structure, Communication & Network Concept.
Saturday, December 20, 2014
AWT & SWING IN JAVA
Subscribe to:
Post Comments (Atom)
-
1) Workbook - A workbook is like a book and consists worksheets. 2) Worksheet - A worksheet is working area consists rows and columns. By...
-
Programmingway: SSC ICT PAPER PATTERN : INFORMATION COMMUNICATION TECHNOLOGY (41) (E) (NEW COURSE) NOTE: - (i) All questions are compu...
-
Choose Eklavya, for Computer Education वाह रे जिंदगी, एक साल में बहुत कुछ दिखाया है तूने..!!
No comments:
Post a Comment