GUI Conversion 1


Use VisualAge's Visual Composition Editor to create a Java GUI that matches the following picture as closely as possible.

Don't worry about the images on the buttons; just use text buttons for this exercise.

Note: There is detailed help in the online version of this Magercise.

Work Location

Perform all work for this magercise in VisualAge project MageLang Magercises, package magercises.gui1.

If this project does not appear in your Workspace add it from the repository (if it exists there) or create a new project using this name.

Tasks

Perform the following tasks:

  1. Determine the overall component to use, and create that component in VisualAge.

  2. Set up the menus for the GUI. The menu structure looks like:
    • File
      • New
      • Open
      • Save
      • Save as
      • (separator)
      • Open Audio file...
      • Save Audio file...
    • Edit
      • Generate AVI file from images...
      • (separator)
      • Merge Audio with Video
      • Split Audio from Video
      • (separator)
      • Change interleave ratio...
      • Change audio chunk skew...
      • (separator)
      • Options
    • View
      • Chunk ID and length
      • Headers
      • Index
      • Status Information
      • (separator)
      • Packed
      • RIFF format
      • (separator)
      • Decimal (checkbox menuitem, selected)
      • Hexadecimal (checkbox menuitem, not selected)
    • Help
      • Help index...
      • General help...
      • Using help...
      • (separator)
      • Product information...

  3. Determine how the GUI is laid out, and create it. (See the help for details.)

The task numbers above are linked to the step-by-step help page. Also available is a complete solution to the problem, and expected behavior, to demonstrate it.

Copyright © 1996-1997 MageLang Institute. All Rights Reserved.