Path: blob/master/src/demo/share/jfc/Metalworks/README.txt
41149 views
About Metalworks1================2Metalworks is a simple Swing-based simulated e-mail3application. It shows off several features of Swing, including4JInternalFrame, JTabbedPane, JFileChooser, JEditorPane, and5JRadioButtonMenuItem. Metalworks is optimized to work with the6Java look and feel (codenamed "Metal") and shows use of several7features, such as themes, that are specific to the Java look and8feel.91011Running Metalworks12==================1314To run the Metalworks demo:1516java -jar Metalworks.jar1718These instructions assume that this installation's version of the java19command is in your path. If it isn't, then you should either20specify the complete path to the java command or update your21PATH environment variable as described in the installation22instructions for the Java(TM) SE Development Kit.232425Metalworks Features26===================27The functionality of the Metalworks demo is minimal, and many28controls are non-functional. They are intended only to show how29to construct the UI for such interfaces. Things that do work in30the Metalworks demo include:31321. Choosing New from the File menu displays an e-mail33composition window.34352. Choosing Open from the File menu brings up the file chooser.36373. Choosing Preferences from the Edit menu will bring up a38dialog. Most of this dialog is only for show.39404. Choosing About Metalworks from the Help menu brings up a41JOptionPane with a brief description of the application.42435. Choosing Open Help Window from the Help menu brings up an44internal frame that displays a set of HTML files containing45all sorts of useful info. Look through these for tips about46using Metal.47486. The Theme menu allows you to change the color theme of the49application. The default theme (Steel) and several other50demo themes are included. Note that the themes can control51not only the colors, but also the sizes of many controls.52Also included with this demo is the PropertiesMetalTheme53class, which allows you to read a theme's colors from a text54file. The Charcoal theme is an example of using this.55565758