Adding a JFrame new_chennaidemo_root
authortboudreau@netbeans.org
Wed, 08 Feb 2006 05:20:55 +0000
changeset 17447cb65e9cc8a8
parent 1743 ec2efb63610b
child 1745 ea2ac773bdd0
Adding a JFrame
workspaceswitcher/ChennaiDemoApplication/nbproject/project.properties
workspaceswitcher/ChennaiDemoApplication/src/chennaidemoapplication/AJFrame.form
workspaceswitcher/ChennaiDemoApplication/src/chennaidemoapplication/AJFrame.java
workspaceswitcher/ChennaiDemoApplication/src/chennaidemoapplication/Main.java
     1.1 --- a/workspaceswitcher/ChennaiDemoApplication/nbproject/project.properties	Wed Feb 08 05:08:42 2006 +0000
     1.2 +++ b/workspaceswitcher/ChennaiDemoApplication/nbproject/project.properties	Wed Feb 08 05:20:55 2006 +0000
     1.3 @@ -17,7 +17,8 @@
     1.4  dist.jar=${dist.dir}/ChennaiDemoApplication.jar
     1.5  dist.javadoc.dir=${dist.dir}/javadoc
     1.6  jar.compress=false
     1.7 -javac.classpath=
     1.8 +javac.classpath=\
     1.9 +    ${libs.swing-layout.classpath}
    1.10  # Space-separated list of extra javac options
    1.11  javac.compilerargs=
    1.12  javac.deprecation=false
     2.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     2.2 +++ b/workspaceswitcher/ChennaiDemoApplication/src/chennaidemoapplication/AJFrame.form	Wed Feb 08 05:20:55 2006 +0000
     2.3 @@ -0,0 +1,23 @@
     2.4 +<?xml version="1.0" encoding="UTF-8" ?>
     2.5 +
     2.6 +<Form version="1.3" type="org.netbeans.modules.form.forminfo.JFrameFormInfo">
     2.7 +  <Properties>
     2.8 +    <Property name="defaultCloseOperation" type="int" value="3"/>
     2.9 +  </Properties>
    2.10 +  <SyntheticProperties>
    2.11 +    <SyntheticProperty name="formSizePolicy" type="int" value="1"/>
    2.12 +  </SyntheticProperties>
    2.13 +
    2.14 +  <Layout>
    2.15 +    <DimensionLayout dim="0">
    2.16 +      <Group type="103" groupAlignment="0" attributes="0">
    2.17 +          <EmptySpace min="0" pref="400" max="32767" attributes="0"/>
    2.18 +      </Group>
    2.19 +    </DimensionLayout>
    2.20 +    <DimensionLayout dim="1">
    2.21 +      <Group type="103" groupAlignment="0" attributes="0">
    2.22 +          <EmptySpace min="0" pref="300" max="32767" attributes="0"/>
    2.23 +      </Group>
    2.24 +    </DimensionLayout>
    2.25 +  </Layout>
    2.26 +</Form>
     3.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     3.2 +++ b/workspaceswitcher/ChennaiDemoApplication/src/chennaidemoapplication/AJFrame.java	Wed Feb 08 05:20:55 2006 +0000
     3.3 @@ -0,0 +1,57 @@
     3.4 +/*
     3.5 + * AJFrame.java
     3.6 + *
     3.7 + * Created on February 7, 2006, 9:18 PM
     3.8 + */
     3.9 +
    3.10 +package chennaidemoapplication;
    3.11 +
    3.12 +/**
    3.13 + *
    3.14 + * @author  sridhar
    3.15 + */
    3.16 +public class AJFrame extends javax.swing.JFrame {
    3.17 +  
    3.18 +  /** Creates new form AJFrame */
    3.19 +  public AJFrame() {
    3.20 +    initComponents();
    3.21 +  }
    3.22 +  
    3.23 +  /** This method is called from within the constructor to
    3.24 +   * initialize the form.
    3.25 +   * WARNING: Do NOT modify this code. The content of this method is
    3.26 +   * always regenerated by the Form Editor.
    3.27 +   */
    3.28 +  // <editor-fold defaultstate="collapsed" desc=" Generated Code ">//GEN-BEGIN:initComponents
    3.29 +  private void initComponents() {
    3.30 +    
    3.31 +    setDefaultCloseOperation(javax.swing.WindowConstants.EXIT_ON_CLOSE);
    3.32 +    org.jdesktop.layout.GroupLayout layout = new org.jdesktop.layout.GroupLayout(getContentPane());
    3.33 +    getContentPane().setLayout(layout);
    3.34 +    layout.setHorizontalGroup(
    3.35 +        layout.createParallelGroup(org.jdesktop.layout.GroupLayout.LEADING)
    3.36 +        .add(0, 400, Short.MAX_VALUE)
    3.37 +        );
    3.38 +    layout.setVerticalGroup(
    3.39 +        layout.createParallelGroup(org.jdesktop.layout.GroupLayout.LEADING)
    3.40 +        .add(0, 300, Short.MAX_VALUE)
    3.41 +        );
    3.42 +    pack();
    3.43 +  }
    3.44 +  // </editor-fold>//GEN-END:initComponents
    3.45 +  
    3.46 +  /**
    3.47 +   * @param args the command line arguments
    3.48 +   */
    3.49 +  public static void main(String args[]) {
    3.50 +    java.awt.EventQueue.invokeLater(new Runnable() {
    3.51 +      public void run() {
    3.52 +        new AJFrame().setVisible(true);
    3.53 +      }
    3.54 +    });
    3.55 +  }
    3.56 +  
    3.57 +  // Variables declaration - do not modify//GEN-BEGIN:variables
    3.58 +  // End of variables declaration//GEN-END:variables
    3.59 +  
    3.60 +}
     4.1 --- a/workspaceswitcher/ChennaiDemoApplication/src/chennaidemoapplication/Main.java	Wed Feb 08 05:08:42 2006 +0000
     4.2 +++ b/workspaceswitcher/ChennaiDemoApplication/src/chennaidemoapplication/Main.java	Wed Feb 08 05:20:55 2006 +0000
     4.3 @@ -24,6 +24,7 @@
     4.4     */
     4.5    public static void main(String[] args) {
     4.6      // TODO code application logic here
     4.7 +    AJFrame.main(args);
     4.8    }
     4.9    
    4.10  }