Java Technology Home Page
A-Z Index

Java Developer Connection(SM)
Online Training

Downloads, APIs, Documentation
Java Developer Connection
Tutorials, Tech Articles, Training
Online Support
Community Discussion
News & Events from Everywhere
Products from Everywhere
How Java Technology is Used Worldwide
 
Training Index

Magercise 1
Building an Input Form

[Help | API Docs | Short Course | Magercises]

In this Magercise, you will implement a technique described in the course notes for building label/text field pairs.

Magercise 1 Prerequisites

None.

Skeleton Code

InputForm.java

Tasks:

  1. Create a Panel managed by BorderLayout. Add a Label "Name:" to the west region and a TextField to the center region.

  2. Set the layout of the applet to BorderLayout. Add the Panel you just created to the north region of the applet container.

Where help exists, the task numbers above are linked to the step-by-step help page.

Solution Source

InputForm.java

Demonstration

Magercise 2

Short Course

About This Short Course

Copyright © 1998-1999 MageLang Institute. All Rights Reserved.


[ This page was updated: 15-Nov-99 ]

Products & APIs | Developer Connection | Docs & Training | Online Support
Community Discussion | Industry News | Solutions Marketplace | Case Studies
Glossary - Applets - Tutorial - Employment - Business & Licensing - Java Store - Java in the Real World
FAQ | Feedback | Map | A-Z Index
For more information on Java technology
and other software from Sun Microsystems, call:
(800) 786-7638
Outside the U.S. and Canada, dial your country's AT&T Direct Access Number first.
Sun Microsystems, Inc.
Copyright © 1995-99 Sun Microsystems, Inc.
All Rights Reserved. Legal Terms. Privacy Policy.