14.03.2018 Views

AWT Tutorialspoint Simply Esay Learning

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

<strong>AWT</strong><br />

Table of Contents<br />

About the Tutorial .................................................................................................................................... i<br />

Audience .................................................................................................................................................. i<br />

Prerequisites ............................................................................................................................................ i<br />

Copyright & Disclaimer ............................................................................................................................. i<br />

Table of Contents .................................................................................................................................... ii<br />

1. <strong>AWT</strong> – OVERVIEW ............................................................................................................... 1<br />

Graphical User Interface .......................................................................................................................... 1<br />

Basic Terminologies................................................................................................................................. 1<br />

Examples of GUI Based Applications ....................................................................................................... 2<br />

Advantages of GUI over CUI .................................................................................................................... 2<br />

2. <strong>AWT</strong> – ENVIRONMENT SETUP ............................................................................................. 3<br />

Setting up the Path for Windows 2000/XP .............................................................................................. 3<br />

Setting up the Path for Windows 95/98/ME ........................................................................................... 3<br />

Setting up the Path for Linux, UNIX, Solaris, FreeBSD .............................................................................. 3<br />

Popular Java Editors ................................................................................................................................ 3<br />

3. <strong>AWT</strong> – CONTROLS ................................................................................................................ 5<br />

<strong>AWT</strong> Component Class ............................................................................................................................ 6<br />

<strong>AWT</strong> UI Elements .................................................................................................................................. 19<br />

<strong>AWT</strong> Label Class .................................................................................................................................... 20<br />

<strong>AWT</strong> Button Class .................................................................................................................................. 24<br />

<strong>AWT</strong> CheckBox Class ............................................................................................................................. 29<br />

<strong>AWT</strong> CheckBoxGroup Class ................................................................................................................... 34<br />

<strong>AWT</strong> List Class ....................................................................................................................................... 38<br />

<strong>AWT</strong> TextField Class .............................................................................................................................. 45<br />

ii

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!