| @@ -0,0 +1,8 @@ | ||
| build.xml.data.CRC32=44787b6f | ||
| build.xml.script.CRC32=9364db6e | ||
| build.xml.stylesheet.CRC32=8064a381@1.75.1.48 | ||
| # This file is used by a NetBeans-based IDE to track changes in generated files such as build-impl.xml. | ||
| # Do not edit this file. You may delete it but then the IDE will never regenerate such files for you. | ||
| nbproject/build-impl.xml.data.CRC32=44787b6f | ||
| nbproject/build-impl.xml.script.CRC32=d18e0635 | ||
| nbproject/build-impl.xml.stylesheet.CRC32=876e7a8f@1.75.1.48 |
| @@ -0,0 +1,2 @@ | ||
| compile.on.save=true | ||
| user.properties.file=C:\\Users\\Zmart D3viL\\AppData\\Roaming\\NetBeans\\8.0.1\\build.properties |
| @@ -0,0 +1,9 @@ | ||
| <?xml version="1.0" encoding="UTF-8"?> | ||
| <project-private xmlns="http://www.netbeans.org/ns/project-private/1"> | ||
| <editor-bookmarks xmlns="http://www.netbeans.org/ns/editor-bookmarks/2" lastBookmarkId="0"/> | ||
| <open-files xmlns="http://www.netbeans.org/ns/projectui-open-files/2"> | ||
| <group> | ||
| <file>file:/C:/Users/Zmart%20D3viL/Desktop/ekostan/src/id/ac/unikom/adsi/ekostan/Main.java</file> | ||
| </group> | ||
| </open-files> | ||
| </project-private> |
| @@ -0,0 +1,73 @@ | ||
| annotation.processing.enabled=true | ||
| annotation.processing.enabled.in.editor=false | ||
| annotation.processing.processor.options= | ||
| annotation.processing.processors.list= | ||
| annotation.processing.run.all.processors=true | ||
| annotation.processing.source.output=${build.generated.sources.dir}/ap-source-output | ||
| build.classes.dir=${build.dir}/classes | ||
| build.classes.excludes=**/*.java,**/*.form | ||
| # This directory is removed when the project is cleaned: | ||
| build.dir=build | ||
| build.generated.dir=${build.dir}/generated | ||
| build.generated.sources.dir=${build.dir}/generated-sources | ||
| # Only compile against the classpath explicitly listed here: | ||
| build.sysclasspath=ignore | ||
| build.test.classes.dir=${build.dir}/test/classes | ||
| build.test.results.dir=${build.dir}/test/results | ||
| # Uncomment to specify the preferred debugger connection transport: | ||
| #debug.transport=dt_socket | ||
| debug.classpath=\ | ||
| ${run.classpath} | ||
| debug.test.classpath=\ | ||
| ${run.test.classpath} | ||
| # Files in build.classes.dir which should be excluded from distribution jar | ||
| dist.archive.excludes= | ||
| # This directory is removed when the project is cleaned: | ||
| dist.dir=dist | ||
| dist.jar=${dist.dir}/ekostan.jar | ||
| dist.javadoc.dir=${dist.dir}/javadoc | ||
| excludes= | ||
| includes=** | ||
| jar.compress=false | ||
| javac.classpath= | ||
| # Space-separated list of extra javac options | ||
| javac.compilerargs= | ||
| javac.deprecation=false | ||
| javac.processorpath=\ | ||
| ${javac.classpath} | ||
| javac.source=1.8 | ||
| javac.target=1.8 | ||
| javac.test.classpath=\ | ||
| ${javac.classpath}:\ | ||
| ${build.classes.dir} | ||
| javac.test.processorpath=\ | ||
| ${javac.test.classpath} | ||
| javadoc.additionalparam= | ||
| javadoc.author=false | ||
| javadoc.encoding=${source.encoding} | ||
| javadoc.noindex=false | ||
| javadoc.nonavbar=false | ||
| javadoc.notree=false | ||
| javadoc.private=false | ||
| javadoc.splitindex=true | ||
| javadoc.use=true | ||
| javadoc.version=false | ||
| javadoc.windowtitle= | ||
| main.class=id.ac.unikom.adsi.ekostan.FormLogin | ||
| manifest.file=manifest.mf | ||
| meta.inf.dir=${src.dir}/META-INF | ||
| mkdist.disabled=false | ||
| platform.active=default_platform | ||
| run.classpath=\ | ||
| ${javac.classpath}:\ | ||
| ${build.classes.dir} | ||
| # Space-separated list of JVM arguments used when running the project. | ||
| # You may also define separate properties like run-sys-prop.name=value instead of -Dname=value. | ||
| # To set system properties for unit tests define test-sys-prop.name=value: | ||
| run.jvmargs= | ||
| run.test.classpath=\ | ||
| ${javac.test.classpath}:\ | ||
| ${build.test.classes.dir} | ||
| source.encoding=UTF-8 | ||
| src.dir=src | ||
| test.src.dir=test |
| @@ -0,0 +1,18 @@ | ||
| <?xml version="1.0" encoding="UTF-8"?> | ||
| <project xmlns="http://www.netbeans.org/ns/project/1"> | ||
| <type>org.netbeans.modules.java.j2seproject</type> | ||
| <configuration> | ||
| <data xmlns="http://www.netbeans.org/ns/j2se-project/3"> | ||
| <name>ekostan</name> | ||
| <source-roots> | ||
| <root id="src.dir"/> | ||
| </source-roots> | ||
| <test-roots> | ||
| <root id="test.src.dir"/> | ||
| </test-roots> | ||
| </data> | ||
| <libraries xmlns="http://www.netbeans.org/ns/ant-project-libraries/1"> | ||
| <definitions>.\lib\nblibraries.properties</definitions> | ||
| </libraries> | ||
| </configuration> | ||
| </project> |
| @@ -0,0 +1,139 @@ | ||
| <?xml version="1.0" encoding="UTF-8" ?> | ||
|
|
||
| <Form version="1.3" maxVersion="1.9" type="org.netbeans.modules.form.forminfo.JFrameFormInfo"> | ||
| <Properties> | ||
| <Property name="defaultCloseOperation" type="int" value="3"/> | ||
| <Property name="preferredSize" type="java.awt.Dimension" editor="org.netbeans.beaninfo.editors.DimensionEditor"> | ||
| <Dimension value="[554, 337]"/> | ||
| </Property> | ||
| <Property name="resizable" type="boolean" value="false"/> | ||
| </Properties> | ||
| <SyntheticProperties> | ||
| <SyntheticProperty name="formSizePolicy" type="int" value="1"/> | ||
| <SyntheticProperty name="generateCenter" type="boolean" value="false"/> | ||
| </SyntheticProperties> | ||
| <AuxValues> | ||
| <AuxValue name="FormSettings_autoResourcing" type="java.lang.Integer" value="0"/> | ||
| <AuxValue name="FormSettings_autoSetComponentName" type="java.lang.Boolean" value="false"/> | ||
| <AuxValue name="FormSettings_generateFQN" type="java.lang.Boolean" value="true"/> | ||
| <AuxValue name="FormSettings_generateMnemonicsCode" type="java.lang.Boolean" value="false"/> | ||
| <AuxValue name="FormSettings_i18nAutoMode" type="java.lang.Boolean" value="false"/> | ||
| <AuxValue name="FormSettings_layoutCodeTarget" type="java.lang.Integer" value="1"/> | ||
| <AuxValue name="FormSettings_listenerGenerationStyle" type="java.lang.Integer" value="0"/> | ||
| <AuxValue name="FormSettings_variablesLocal" type="java.lang.Boolean" value="false"/> | ||
| <AuxValue name="FormSettings_variablesModifier" type="java.lang.Integer" value="2"/> | ||
| </AuxValues> | ||
|
|
||
| <Layout> | ||
| <DimensionLayout dim="0"> | ||
| <Group type="103" groupAlignment="0" attributes="0"> | ||
| <Component id="jPanel5" alignment="0" max="32767" attributes="0"/> | ||
| <Group type="102" alignment="0" attributes="0"> | ||
| <EmptySpace min="-2" pref="134" max="-2" attributes="0"/> | ||
| <Group type="103" groupAlignment="1" attributes="0"> | ||
| <Component id="buttonLogin" alignment="1" min="-2" max="-2" attributes="0"/> | ||
| <Group type="102" alignment="1" attributes="0"> | ||
| <Group type="103" groupAlignment="1" attributes="0"> | ||
| <Component id="jLabel10" alignment="1" min="-2" max="-2" attributes="0"/> | ||
| <Component id="jLabel11" alignment="1" min="-2" max="-2" attributes="0"/> | ||
| </Group> | ||
| <EmptySpace type="unrelated" max="-2" attributes="0"/> | ||
| <Group type="103" groupAlignment="0" max="-2" attributes="0"> | ||
| <Component id="textFieldUserName" alignment="0" pref="216" max="32767" attributes="0"/> | ||
| <Component id="passwordField" alignment="0" max="32767" attributes="0"/> | ||
| </Group> | ||
| </Group> | ||
| </Group> | ||
| </Group> | ||
| </Group> | ||
| </DimensionLayout> | ||
| <DimensionLayout dim="1"> | ||
| <Group type="103" groupAlignment="0" attributes="0"> | ||
| <Group type="102" alignment="1" attributes="0"> | ||
| <Component id="jPanel5" min="-2" max="-2" attributes="0"/> | ||
| <EmptySpace pref="41" max="32767" attributes="0"/> | ||
| <Group type="103" groupAlignment="3" attributes="0"> | ||
| <Component id="textFieldUserName" alignment="3" min="-2" max="-2" attributes="0"/> | ||
| <Component id="jLabel10" alignment="3" min="-2" max="-2" attributes="0"/> | ||
| </Group> | ||
| <EmptySpace type="unrelated" max="-2" attributes="0"/> | ||
| <Group type="103" groupAlignment="3" attributes="0"> | ||
| <Component id="passwordField" alignment="3" min="-2" max="-2" attributes="0"/> | ||
| <Component id="jLabel11" alignment="3" min="-2" max="-2" attributes="0"/> | ||
| </Group> | ||
| <EmptySpace min="-2" pref="35" max="-2" attributes="0"/> | ||
| <Component id="buttonLogin" min="-2" max="-2" attributes="0"/> | ||
| <EmptySpace min="-2" pref="69" max="-2" attributes="0"/> | ||
| </Group> | ||
| </Group> | ||
| </DimensionLayout> | ||
| </Layout> | ||
| <SubComponents> | ||
| <Component class="javax.swing.JPasswordField" name="passwordField"> | ||
| </Component> | ||
| <Component class="javax.swing.JLabel" name="jLabel10"> | ||
| <Properties> | ||
| <Property name="text" type="java.lang.String" value="Username"/> | ||
| </Properties> | ||
| </Component> | ||
| <Component class="javax.swing.JLabel" name="jLabel11"> | ||
| <Properties> | ||
| <Property name="text" type="java.lang.String" value="Password"/> | ||
| </Properties> | ||
| </Component> | ||
| <Component class="javax.swing.JButton" name="buttonLogin"> | ||
| <Properties> | ||
| <Property name="text" type="java.lang.String" value="Login"/> | ||
| </Properties> | ||
| <Events> | ||
| <EventHandler event="actionPerformed" listener="java.awt.event.ActionListener" parameters="java.awt.event.ActionEvent" handler="buttonLoginActionPerformed"/> | ||
| </Events> | ||
| </Component> | ||
| <Container class="javax.swing.JPanel" name="jPanel5"> | ||
| <Properties> | ||
| <Property name="background" type="java.awt.Color" editor="org.netbeans.beaninfo.editors.ColorEditor"> | ||
| <Color blue="cc" green="cc" red="0" type="rgb"/> | ||
| </Property> | ||
| </Properties> | ||
|
|
||
| <Layout> | ||
| <DimensionLayout dim="0"> | ||
| <Group type="103" groupAlignment="0" attributes="0"> | ||
| <Group type="102" alignment="0" attributes="0"> | ||
| <EmptySpace min="-2" pref="24" max="-2" attributes="0"/> | ||
| <Component id="jLabel7" min="-2" max="-2" attributes="0"/> | ||
| <EmptySpace pref="412" max="32767" attributes="0"/> | ||
| </Group> | ||
| </Group> | ||
| </DimensionLayout> | ||
| <DimensionLayout dim="1"> | ||
| <Group type="103" groupAlignment="0" attributes="0"> | ||
| <Group type="102" alignment="0" attributes="0"> | ||
| <EmptySpace min="-2" pref="20" max="-2" attributes="0"/> | ||
| <Component id="jLabel7" min="-2" max="-2" attributes="0"/> | ||
| <EmptySpace pref="24" max="32767" attributes="0"/> | ||
| </Group> | ||
| </Group> | ||
| </DimensionLayout> | ||
| </Layout> | ||
| <SubComponents> | ||
| <Component class="javax.swing.JLabel" name="jLabel7"> | ||
| <Properties> | ||
| <Property name="background" type="java.awt.Color" editor="org.netbeans.beaninfo.editors.ColorEditor"> | ||
| <Color blue="ff" green="ff" red="ff" type="rgb"/> | ||
| </Property> | ||
| <Property name="font" type="java.awt.Font" editor="org.netbeans.beaninfo.editors.FontEditor"> | ||
| <Font name="Tahoma" size="30" style="0"/> | ||
| </Property> | ||
| <Property name="foreground" type="java.awt.Color" editor="org.netbeans.beaninfo.editors.ColorEditor"> | ||
| <Color blue="ff" green="ff" red="ff" type="rgb"/> | ||
| </Property> | ||
| <Property name="text" type="java.lang.String" value="Login"/> | ||
| </Properties> | ||
| </Component> | ||
| </SubComponents> | ||
| </Container> | ||
| <Component class="javax.swing.JTextField" name="textFieldUserName"> | ||
| </Component> | ||
| </SubComponents> | ||
| </Form> |
| @@ -0,0 +1,165 @@ | ||
| /* | ||
| * To change this license header, choose License Headers in Project Properties. | ||
| * To change this template file, choose Tools | Templates | ||
| * and open the template in the editor. | ||
| */ | ||
| package id.ac.unikom.adsi.ekostan; | ||
|
|
||
| /** | ||
| * | ||
| * @author Zmart D3viL | ||
| */ | ||
| public class FormLogin extends javax.swing.JFrame { | ||
|
|
||
| /** | ||
| * Creates new form FormLogin | ||
| */ | ||
| public FormLogin() { | ||
| initComponents(); | ||
| } | ||
|
|
||
| /** | ||
| * This method is called from within the constructor to initialize the form. | ||
| * WARNING: Do NOT modify this code. The content of this method is always | ||
| * regenerated by the Form Editor. | ||
| */ | ||
| @SuppressWarnings("unchecked") | ||
| // <editor-fold defaultstate="collapsed" desc="Generated Code">//GEN-BEGIN:initComponents | ||
| private void initComponents() { | ||
|
|
||
| passwordField = new javax.swing.JPasswordField(); | ||
| jLabel10 = new javax.swing.JLabel(); | ||
| jLabel11 = new javax.swing.JLabel(); | ||
| buttonLogin = new javax.swing.JButton(); | ||
| jPanel5 = new javax.swing.JPanel(); | ||
| jLabel7 = new javax.swing.JLabel(); | ||
| textFieldUserName = new javax.swing.JTextField(); | ||
|
|
||
| setDefaultCloseOperation(javax.swing.WindowConstants.EXIT_ON_CLOSE); | ||
| setPreferredSize(new java.awt.Dimension(554, 337)); | ||
| setResizable(false); | ||
|
|
||
| jLabel10.setText("Username"); | ||
|
|
||
| jLabel11.setText("Password"); | ||
|
|
||
| buttonLogin.setText("Login"); | ||
| buttonLogin.addActionListener(new java.awt.event.ActionListener() { | ||
| public void actionPerformed(java.awt.event.ActionEvent evt) { | ||
| buttonLoginActionPerformed(evt); | ||
| } | ||
| }); | ||
|
|
||
| jPanel5.setBackground(new java.awt.Color(0, 204, 204)); | ||
|
|
||
| jLabel7.setBackground(new java.awt.Color(255, 255, 255)); | ||
| jLabel7.setFont(new java.awt.Font("Tahoma", 0, 30)); // NOI18N | ||
| jLabel7.setForeground(new java.awt.Color(255, 255, 255)); | ||
| jLabel7.setText("Login"); | ||
|
|
||
| javax.swing.GroupLayout jPanel5Layout = new javax.swing.GroupLayout(jPanel5); | ||
| jPanel5.setLayout(jPanel5Layout); | ||
| jPanel5Layout.setHorizontalGroup( | ||
| jPanel5Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING) | ||
| .addGroup(jPanel5Layout.createSequentialGroup() | ||
| .addGap(24, 24, 24) | ||
| .addComponent(jLabel7) | ||
| .addContainerGap(412, Short.MAX_VALUE)) | ||
| ); | ||
| jPanel5Layout.setVerticalGroup( | ||
| jPanel5Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING) | ||
| .addGroup(jPanel5Layout.createSequentialGroup() | ||
| .addGap(20, 20, 20) | ||
| .addComponent(jLabel7) | ||
| .addContainerGap(24, Short.MAX_VALUE)) | ||
| ); | ||
|
|
||
| javax.swing.GroupLayout layout = new javax.swing.GroupLayout(getContentPane()); | ||
| getContentPane().setLayout(layout); | ||
| layout.setHorizontalGroup( | ||
| layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING) | ||
| .addComponent(jPanel5, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE) | ||
| .addGroup(layout.createSequentialGroup() | ||
| .addGap(134, 134, 134) | ||
| .addGroup(layout.createParallelGroup(javax.swing.GroupLayout.Alignment.TRAILING) | ||
| .addComponent(buttonLogin) | ||
| .addGroup(layout.createSequentialGroup() | ||
| .addGroup(layout.createParallelGroup(javax.swing.GroupLayout.Alignment.TRAILING) | ||
| .addComponent(jLabel10) | ||
| .addComponent(jLabel11)) | ||
| .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.UNRELATED) | ||
| .addGroup(layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING, false) | ||
| .addComponent(textFieldUserName, javax.swing.GroupLayout.DEFAULT_SIZE, 216, Short.MAX_VALUE) | ||
| .addComponent(passwordField))))) | ||
| ); | ||
| layout.setVerticalGroup( | ||
| layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING) | ||
| .addGroup(javax.swing.GroupLayout.Alignment.TRAILING, layout.createSequentialGroup() | ||
| .addComponent(jPanel5, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE) | ||
| .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED, 41, Short.MAX_VALUE) | ||
| .addGroup(layout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE) | ||
| .addComponent(textFieldUserName, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE) | ||
| .addComponent(jLabel10)) | ||
| .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.UNRELATED) | ||
| .addGroup(layout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE) | ||
| .addComponent(passwordField, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE) | ||
| .addComponent(jLabel11)) | ||
| .addGap(35, 35, 35) | ||
| .addComponent(buttonLogin) | ||
| .addGap(69, 69, 69)) | ||
| ); | ||
|
|
||
| pack(); | ||
| }// </editor-fold>//GEN-END:initComponents | ||
|
|
||
| private void buttonLoginActionPerformed(java.awt.event.ActionEvent evt) {//GEN-FIRST:event_buttonLoginActionPerformed | ||
| String userName = textFieldUserName.getText(); | ||
| String password = String.valueOf(passwordField.getPassword()); | ||
|
|
||
| }//GEN-LAST:event_buttonLoginActionPerformed | ||
|
|
||
| /** | ||
| * @param args the command line arguments | ||
| */ | ||
| public static void main(String args[]) { | ||
| /* Set the Nimbus look and feel */ | ||
| //<editor-fold defaultstate="collapsed" desc=" Look and feel setting code (optional) "> | ||
| /* If Nimbus (introduced in Java SE 6) is not available, stay with the default look and feel. | ||
| * For details see http://download.oracle.com/javase/tutorial/uiswing/lookandfeel/plaf.html | ||
| */ | ||
| try { | ||
| for (javax.swing.UIManager.LookAndFeelInfo info : javax.swing.UIManager.getInstalledLookAndFeels()) { | ||
| if ("Nimbus".equals(info.getName())) { | ||
| javax.swing.UIManager.setLookAndFeel(info.getClassName()); | ||
| break; | ||
| } | ||
| } | ||
| } catch (ClassNotFoundException ex) { | ||
| java.util.logging.Logger.getLogger(FormLogin.class.getName()).log(java.util.logging.Level.SEVERE, null, ex); | ||
| } catch (InstantiationException ex) { | ||
| java.util.logging.Logger.getLogger(FormLogin.class.getName()).log(java.util.logging.Level.SEVERE, null, ex); | ||
| } catch (IllegalAccessException ex) { | ||
| java.util.logging.Logger.getLogger(FormLogin.class.getName()).log(java.util.logging.Level.SEVERE, null, ex); | ||
| } catch (javax.swing.UnsupportedLookAndFeelException ex) { | ||
| java.util.logging.Logger.getLogger(FormLogin.class.getName()).log(java.util.logging.Level.SEVERE, null, ex); | ||
| } | ||
| //</editor-fold> | ||
|
|
||
| /* Create and display the form */ | ||
| java.awt.EventQueue.invokeLater(new Runnable() { | ||
| public void run() { | ||
| new FormLogin().setVisible(true); | ||
| } | ||
| }); | ||
| } | ||
|
|
||
| // Variables declaration - do not modify//GEN-BEGIN:variables | ||
| private javax.swing.JButton buttonLogin; | ||
| private javax.swing.JLabel jLabel10; | ||
| private javax.swing.JLabel jLabel11; | ||
| private javax.swing.JLabel jLabel7; | ||
| private javax.swing.JPanel jPanel5; | ||
| private javax.swing.JPasswordField passwordField; | ||
| private javax.swing.JTextField textFieldUserName; | ||
| // End of variables declaration//GEN-END:variables | ||
| } |
| @@ -0,0 +1,35 @@ | ||
| <?xml version="1.0" encoding="UTF-8" ?> | ||
|
|
||
| <Form version="1.3" maxVersion="1.9" type="org.netbeans.modules.form.forminfo.JFrameFormInfo"> | ||
| <Properties> | ||
| <Property name="defaultCloseOperation" type="int" value="3"/> | ||
| </Properties> | ||
| <SyntheticProperties> | ||
| <SyntheticProperty name="formSizePolicy" type="int" value="1"/> | ||
| <SyntheticProperty name="generateCenter" type="boolean" value="false"/> | ||
| </SyntheticProperties> | ||
| <AuxValues> | ||
| <AuxValue name="FormSettings_autoResourcing" type="java.lang.Integer" value="0"/> | ||
| <AuxValue name="FormSettings_autoSetComponentName" type="java.lang.Boolean" value="false"/> | ||
| <AuxValue name="FormSettings_generateFQN" type="java.lang.Boolean" value="true"/> | ||
| <AuxValue name="FormSettings_generateMnemonicsCode" type="java.lang.Boolean" value="false"/> | ||
| <AuxValue name="FormSettings_i18nAutoMode" type="java.lang.Boolean" value="false"/> | ||
| <AuxValue name="FormSettings_layoutCodeTarget" type="java.lang.Integer" value="1"/> | ||
| <AuxValue name="FormSettings_listenerGenerationStyle" type="java.lang.Integer" value="0"/> | ||
| <AuxValue name="FormSettings_variablesLocal" type="java.lang.Boolean" value="false"/> | ||
| <AuxValue name="FormSettings_variablesModifier" type="java.lang.Integer" value="2"/> | ||
| </AuxValues> | ||
|
|
||
| <Layout> | ||
| <DimensionLayout dim="0"> | ||
| <Group type="103" groupAlignment="0" attributes="0"> | ||
| <EmptySpace min="0" pref="400" max="32767" attributes="0"/> | ||
| </Group> | ||
| </DimensionLayout> | ||
| <DimensionLayout dim="1"> | ||
| <Group type="103" groupAlignment="0" attributes="0"> | ||
| <EmptySpace min="0" pref="300" max="32767" attributes="0"/> | ||
| </Group> | ||
| </DimensionLayout> | ||
| </Layout> | ||
| </Form> |
| @@ -0,0 +1,84 @@ | ||
| /* | ||
| * To change this license header, choose License Headers in Project Properties. | ||
| * To change this template file, choose Tools | Templates | ||
| * and open the template in the editor. | ||
| */ | ||
| package id.ac.unikom.adsi.ekostan; | ||
|
|
||
| /** | ||
| * | ||
| * @author Zmart D3viL | ||
| */ | ||
| public class MainForm extends javax.swing.JFrame { | ||
|
|
||
| /** | ||
| * Creates new form MainFrame | ||
| */ | ||
| public MainForm() { | ||
| initComponents(); | ||
| } | ||
|
|
||
| /** | ||
| * This method is called from within the constructor to initialize the form. | ||
| * WARNING: Do NOT modify this code. The content of this method is always | ||
| * regenerated by the Form Editor. | ||
| */ | ||
| @SuppressWarnings("unchecked") | ||
| // <editor-fold defaultstate="collapsed" desc="Generated Code">//GEN-BEGIN:initComponents | ||
| private void initComponents() { | ||
|
|
||
| setDefaultCloseOperation(javax.swing.WindowConstants.EXIT_ON_CLOSE); | ||
|
|
||
| javax.swing.GroupLayout layout = new javax.swing.GroupLayout(getContentPane()); | ||
| getContentPane().setLayout(layout); | ||
| layout.setHorizontalGroup( | ||
| layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING) | ||
| .addGap(0, 400, Short.MAX_VALUE) | ||
| ); | ||
| layout.setVerticalGroup( | ||
| layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING) | ||
| .addGap(0, 300, Short.MAX_VALUE) | ||
| ); | ||
|
|
||
| pack(); | ||
| }// </editor-fold>//GEN-END:initComponents | ||
|
|
||
| /** | ||
| * @param args the command line arguments | ||
| */ | ||
| public static void main(String args[]) { | ||
| /* Set the Nimbus look and feel */ | ||
| //<editor-fold defaultstate="collapsed" desc=" Look and feel setting code (optional) "> | ||
| /* If Nimbus (introduced in Java SE 6) is not available, stay with the default look and feel. | ||
| * For details see http://download.oracle.com/javase/tutorial/uiswing/lookandfeel/plaf.html | ||
| */ | ||
| try { | ||
| for (javax.swing.UIManager.LookAndFeelInfo info : javax.swing.UIManager.getInstalledLookAndFeels()) { | ||
| if ("Nimbus".equals(info.getName())) { | ||
| javax.swing.UIManager.setLookAndFeel(info.getClassName()); | ||
| break; | ||
| } | ||
| } | ||
| } catch (ClassNotFoundException ex) { | ||
| java.util.logging.Logger.getLogger(MainForm.class.getName()).log(java.util.logging.Level.SEVERE, null, ex); | ||
| } catch (InstantiationException ex) { | ||
| java.util.logging.Logger.getLogger(MainForm.class.getName()).log(java.util.logging.Level.SEVERE, null, ex); | ||
| } catch (IllegalAccessException ex) { | ||
| java.util.logging.Logger.getLogger(MainForm.class.getName()).log(java.util.logging.Level.SEVERE, null, ex); | ||
| } catch (javax.swing.UnsupportedLookAndFeelException ex) { | ||
| java.util.logging.Logger.getLogger(MainForm.class.getName()).log(java.util.logging.Level.SEVERE, null, ex); | ||
| } | ||
| //</editor-fold> | ||
| //</editor-fold> | ||
|
|
||
| /* Create and display the form */ | ||
| java.awt.EventQueue.invokeLater(new Runnable() { | ||
| public void run() { | ||
| new MainForm().setVisible(true); | ||
| } | ||
| }); | ||
| } | ||
|
|
||
| // Variables declaration - do not modify//GEN-BEGIN:variables | ||
| // End of variables declaration//GEN-END:variables | ||
| } |