home *** CD-ROM | disk | FTP | other *** search
- Save Format v2.3(19971110)
- @begin Form "Form_Application"
-
- @begin Object "Powersoft Java AWT 1.10::java.awt.Frame"
- DesignName Form_Application;
- @begin ClassProperties
- @begin-code BaseClassList
-
- extends java.awt.Frame
-
- @end-code;
- @end;
- @begin Properties
- @begin DesignProperties
- Style "cf0000";
- ResID 0;
- DesignRect 74,13,262,240;
- @end;
- @begin ObjectProperties
- font "Dialog-Plain-12";
- LayoutManager "powersoft.powerj.ui.ResizePercentageLayout";
- FormPositionType "DesignTime";
- foreground "java.awt.Color.black";
- background "java.awt.Color.lightGray";
- SerializationData "";
- title "Application";
- @end;
- @end;
- @begin Events
- @begin Event "java.awt.event.Window.windowClosing"
- @begin-code SourceCode "java.awt.event.Window.windowClosing"
-
- public boolean Form_Application_windowClosing(java.awt.event.WindowEvent event)
- {
-
- hide();
- destroy();
- return false;
- }
-
- @end-code;
- @end;
- @end;
- @begin UserFunctions
- @begin UserFunction "Form_Application()"
- @begin Definition
- FunctionScope 3;
- @begin-code SourceCode "Form_Application()"
-
- public Form_Application()
- {
- super();
- }
-
- @end-code;
- @end;
- @end;
- @begin UserFunction "handleEvent(java.awt.Event event)"
- @begin Prototype
- FunctionScope 1;
- @begin-code SourceCode "Prototype for handleEvent(java.awt.Event event)"
-
- // Placeholder for Prototype for handleEvent(java.awt.Event event)
- // you should move the prototype here from the Class Contents section
-
- @end-code;
- @end;
- @begin Definition
- @begin-code SourceCode "handleEvent(java.awt.Event event)"
-
- public boolean handleEvent(java.awt.Event event)
- {
-
- return defaultHandleEvent(event);
- }
-
- @end-code;
- @end;
- @end;
- @begin UserFunction "unhandledEvent( String listenerName, String methodName, java.lang.Object event )"
- @begin Prototype
- FunctionScope 1;
- @begin-code SourceCode "Prototype for unhandledEvent( String listenerName, String methodName, java.lang.Object event )"
-
- // Placeholder for Prototype for unhandledEvent( String listenerName, String methodName, java.lang.Object event )
- // you should move the prototype here from the Class Contents section
-
- @end-code;
- @end;
- @begin Definition
- @begin-code SourceCode "unhandledEvent( String listenerName, String methodName, java.lang.Object event )"
-
- public void unhandledEvent( String listenerName, String methodName, java.lang.Object event )
- {
-
- }
-
- @end-code;
- @end;
- @end;
- @begin UserFunction "processEvent(java.awt.AWTEvent event)"
- @begin Definition
- FunctionScope 3;
- @begin-code SourceCode "processEvent(java.awt.AWTEvent event)"
-
- public void processEvent(java.awt.AWTEvent event)
- {
-
- defaultProcessEvent(event);
- }
-
- @end-code;
- @end;
- @end;
- @begin UserFunction "getContentPane()"
- @begin Definition
- FunctionScope 3;
- @begin-code SourceCode "getContentPane()"
-
- public java.awt.Container getContentPane()
- {
- // Use the following if you inherit from a JFC container such as com.sun.java.swing.JFrame
- // return super.getContentPane();
- return this;
- }
-
- @end-code;
- @end;
- @end;
- @end;
- @begin CodeBlocks
- @begin CodeBlock "HppPrefix"
- FunctionScope 1;
- @begin-code SourceCode "Imports()"
-
- // add your custom import statements here
- import java.util.*;
-
- @end-code;
- @end;
- @begin CodeBlock "ClassContents"
- FunctionScope 1;
- @begin-code SourceCode "Data Members()"
-
- // add your data members here
- private Properties _systemProperties;
-
- @end-code;
- @end;
- @begin CodeBlock "GeneratedClassContents"
- FunctionScope 1;
- @begin-code SourceCode "GeneratedClassContents()"
-
-
- @end-code;
- @end;
- @begin CodeBlock "CppPrefix"
- FunctionScope 1;
- @begin-code SourceCode "()"
-
-
- @end-code;
- @end;
- @end;
- @begin Objects
- @begin Object "Powersoft Java AWT 1.10::java.awt.List"
- DesignName lb_systemProperties;
- @begin Properties
- @begin DesignProperties
- ResID 0;
- DesignRect 5,25,246,195;
- @end;
- @begin ObjectProperties
- font "Dialog-Plain-12";
- dataTrackRow "0";
- foreground "java.awt.Color.black";
- background "java.awt.Color.white";
- ResizePercentages "[ 0 0 100 100 ]";
- SerializationData "";
- @end;
- @begin ComponentProperties "lb_systemProperties"
- @end;
- @end;
- @end;
- @begin Object "Powersoft Java AWT 1.10::java.awt.Button"
- DesignName cb_showSystemProperties;
- @begin Properties
- @begin DesignProperties
- ResID 0;
- TabIndex 1;
- DesignRect 5,5,110,15;
- @end;
- @begin ObjectProperties
- font "Dialog-Plain-12";
- foreground "java.awt.Color.black";
- background "java.awt.Color.lightGray";
- SerializationData "";
- label "Show System Properties";
- @end;
- @end;
- @begin Events
- @begin Event "java.awt.event.Action.actionPerformed"
- @begin-code SourceCode "java.awt.event.Action.actionPerformed"
-
- public boolean cb_showSystemProperties_actionPerformed(java.awt.event.ActionEvent event)
- {
- _systemProperties = System.getProperties();
-
- for ( Enumeration e = _systemProperties.propertyNames(); e.hasMoreElements(); )
- {
- String propertyName = new String( (String)e.nextElement() );
-
- String propertyValue =
- new String( _systemProperties.getProperty( propertyName ) );
-
- lb_systemProperties.addItem(
- "[ " + propertyName + " ] " + propertyValue );
- }
-
- return false;
- }
-
- @end-code;
- @end;
- @end;
- @end;
- @end;
- @end;
- @end;
-