blob: 36b1d1e37869c588d03da9689ddfe26a4af075e0 [file] [log] [blame]
J. Duke319a3b92007-12-01 00:00:00 +00001About Metalworks
2================
3Metalworks is a simple Swing-based simulated e-mail
4application. It shows off several features of Swing, including
5JInternalFrame, JTabbedPane, JFileChooser, JEditorPane, and
6JRadioButtonMenuItem. Metalworks is optimized to work with the
7Java look and feel (codenamed "Metal") and shows use of several
8features, such as themes, that are specific to the Java look and
9feel.
10
11
12Running Metalworks
13==================
14
15To run the Metalworks demo:
16
17 java -jar Metalworks.jar
18
19These instructions assume that this installation's version of the java
20command is in your path. If it isn't, then you should either
21specify the complete path to the java command or update your
22PATH environment variable as described in the installation
23instructions for the Java(TM) SE Development Kit.
24
25
26Metalworks Features
27===================
28The functionality of the Metalworks demo is minimal, and many
29controls are non-functional. They are intended only to show how
30to construct the UI for such interfaces. Things that do work in
31the Metalworks demo include:
32
331. Choosing New from the File menu displays an e-mail
34 composition window.
35
362. Choosing Open from the File menu brings up the file chooser.
37
383. Choosing Preferences from the Edit menu will bring up a
39 dialog. Most of this dialog is only for show.
40
414. Choosing About Metalworks from the Help menu brings up a
42 JOptionPane with a brief description of the application.
43
445. Choosing Open Help Window from the Help menu brings up an
45 internal frame that displays a set of HTML files containing
46 all sorts of useful info. Look through these for tips about
47 using Metal.
48
496. The Theme menu allows you to change the color theme of the
50 application. The default theme (Steel) and several other
51 demo themes are included. Note that the themes can control
52 not only the colors, but also the sizes of many controls.
53 Also included with this demo is the PropertiesMetalTheme
54 class, which allows you to read a theme's colors from a text
55 file. The Charcoal theme is an example of using this.
56