Jan 4 years ago
parent
commit
2fdfb18662
2 changed files with 0 additions and 306 deletions
  1. 0
    145
      Garten/src/garten/view/GUI.form
  2. 0
    161
      Garten/src/garten/view/GUI.java

+ 0
- 145
Garten/src/garten/view/GUI.form View File

@@ -1,145 +0,0 @@
<?xml version="1.0" encoding="UTF-8" ?>

<Form version="1.9" maxVersion="1.9" type="org.netbeans.modules.form.forminfo.JFrameFormInfo">
<NonVisualComponents>
<Container class="javax.swing.JPopupMenu" name="mnPopup">
<Properties>
<Property name="focusable" type="boolean" value="false"/>
</Properties>

<Layout class="org.netbeans.modules.form.compat2.layouts.DesignAbsoluteLayout">
<Property name="useNullLayout" type="boolean" value="true"/>
</Layout>
<SubComponents>
<Menu class="javax.swing.JMenu" name="mnPflanze1">
<Properties>
<Property name="text" type="java.lang.String" value="jMenu2"/>
</Properties>
<SubComponents>
<MenuItem class="javax.swing.JRadioButtonMenuItem" name="radiobuttonpfl1">
<Properties>
<Property name="selected" type="boolean" value="true"/>
<Property name="text" type="java.lang.String" value="jRadioButtonMenuItem1"/>
</Properties>
</MenuItem>
<MenuItem class="javax.swing.JRadioButtonMenuItem" name="jRadioButtonMenuItem1">
<Properties>
<Property name="selected" type="boolean" value="true"/>
<Property name="text" type="java.lang.String" value="jRadioButtonMenuItem1"/>
</Properties>
</MenuItem>
<MenuItem class="javax.swing.JRadioButtonMenuItem" name="jRadioButtonMenuItem2">
<Properties>
<Property name="selected" type="boolean" value="true"/>
<Property name="text" type="java.lang.String" value="jRadioButtonMenuItem2"/>
</Properties>
</MenuItem>
</SubComponents>
</Menu>
<Menu class="javax.swing.JMenu" name="mnPflanze2">
<Properties>
<Property name="text" type="java.lang.String" value="jMenu2"/>
</Properties>
</Menu>
<Menu class="javax.swing.JMenu" name="mnPflanze3">
<Properties>
<Property name="text" type="java.lang.String" value="jMenu2"/>
</Properties>
</Menu>
</SubComponents>
</Container>
<Menu class="javax.swing.JMenuBar" name="jMenuBar1">
<SubComponents>
<Menu class="javax.swing.JMenu" name="jMenu1">
<Properties>
<Property name="text" type="java.lang.String" value="File"/>
</Properties>
</Menu>
<Menu class="javax.swing.JMenu" name="mnfunktionen">
<Properties>
<Property name="text" type="java.lang.String" value="Funktionen"/>
</Properties>
<SubComponents>
<MenuItem class="javax.swing.JMenuItem" name="mnzeichneGarten">
<Properties>
<Property name="text" type="java.lang.String" value="Garten anlegen"/>
</Properties>
</MenuItem>
<MenuItem class="javax.swing.JMenuItem" name="mnzeichneRandPflanzen">
<Properties>
<Property name="text" type="java.lang.String" value="Random Bepflanzung"/>
</Properties>
</MenuItem>
</SubComponents>
</Menu>
</SubComponents>
</Menu>
</NonVisualComponents>
<Properties>
<Property name="defaultCloseOperation" type="int" value="3"/>
</Properties>
<SyntheticProperties>
<SyntheticProperty name="menuBar" type="java.lang.String" value="jMenuBar1"/>
<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"/>
<AuxValue name="designerSize" type="java.awt.Dimension" value="-84,-19,0,5,115,114,0,18,106,97,118,97,46,97,119,116,46,68,105,109,101,110,115,105,111,110,65,-114,-39,-41,-84,95,68,20,2,0,2,73,0,6,104,101,105,103,104,116,73,0,5,119,105,100,116,104,120,112,0,0,1,44,0,0,1,-112"/>
</AuxValues>

<Layout class="org.netbeans.modules.form.compat2.layouts.DesignBorderLayout"/>
<SubComponents>
<Container class="javax.swing.JPanel" name="jPanel1">
<Properties>
<Property name="background" type="java.awt.Color" editor="org.netbeans.beaninfo.editors.ColorEditor">
<Color blue="99" green="ff" red="99" type="rgb"/>
</Property>
<Property name="componentPopupMenu" type="javax.swing.JPopupMenu" editor="org.netbeans.modules.form.ComponentChooserEditor">
<ComponentRef name="mnPopup"/>
</Property>
<Property name="opaque" type="boolean" value="false"/>
</Properties>
<Constraints>
<Constraint layoutClass="org.netbeans.modules.form.compat2.layouts.DesignBorderLayout" value="org.netbeans.modules.form.compat2.layouts.DesignBorderLayout$BorderConstraintsDescription">
<BorderConstraints direction="Center"/>
</Constraint>
</Constraints>
<LayoutCode>
<CodeStatement>
<CodeExpression id="1_jPanel1">
<CodeVariable name="jPanel1" type="8194" declaredType="javax.swing.JPanel"/>
<ExpressionOrigin>
<ExpressionProvider type="ComponentRef">
<ComponentRef name="jPanel1"/>
</ExpressionProvider>
</ExpressionOrigin>
</CodeExpression>
<StatementProvider type="CodeMethod">
<CodeMethod name="setLayout" class="java.awt.Container" parameterTypes="java.awt.LayoutManager"/>
</StatementProvider>
<Parameters>
<CodeExpression id="2">
<ExpressionOrigin>
<ExpressionProvider type="CodeConstructor">
<CodeConstructor class="javax.swing.OverlayLayout" parameterTypes="java.awt.Container"/>
</ExpressionProvider>
<Parameters>
<CodeExpression id="1_jPanel1"/>
</Parameters>
</ExpressionOrigin>
</CodeExpression>
</Parameters>
</CodeStatement>
</LayoutCode>
</Container>
</SubComponents>
</Form>

+ 0
- 161
Garten/src/garten/view/GUI.java View File

@@ -1,161 +0,0 @@
/*
* 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 garten.view;

/**
*
* @author Jan
*/
public class GUI extends javax.swing.JFrame
{

/**
* Creates new form GUI
*/
public GUI()
{
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()
{

mnPopup = new javax.swing.JPopupMenu();
mnPflanze1 = new javax.swing.JMenu();
radiobuttonpfl1 = new javax.swing.JRadioButtonMenuItem();
jRadioButtonMenuItem1 = new javax.swing.JRadioButtonMenuItem();
jRadioButtonMenuItem2 = new javax.swing.JRadioButtonMenuItem();
mnPflanze2 = new javax.swing.JMenu();
mnPflanze3 = new javax.swing.JMenu();
jPanel1 = new javax.swing.JPanel();
jMenuBar1 = new javax.swing.JMenuBar();
jMenu1 = new javax.swing.JMenu();
mnfunktionen = new javax.swing.JMenu();
mnzeichneGarten = new javax.swing.JMenuItem();
mnzeichneRandPflanzen = new javax.swing.JMenuItem();

mnPopup.setFocusable(false);

mnPflanze1.setText("jMenu2");

radiobuttonpfl1.setSelected(true);
radiobuttonpfl1.setText("jRadioButtonMenuItem1");
mnPflanze1.add(radiobuttonpfl1);

jRadioButtonMenuItem1.setSelected(true);
jRadioButtonMenuItem1.setText("jRadioButtonMenuItem1");
mnPflanze1.add(jRadioButtonMenuItem1);

jRadioButtonMenuItem2.setSelected(true);
jRadioButtonMenuItem2.setText("jRadioButtonMenuItem2");
mnPflanze1.add(jRadioButtonMenuItem2);

mnPopup.add(mnPflanze1);

mnPflanze2.setText("jMenu2");
mnPopup.add(mnPflanze2);

mnPflanze3.setText("jMenu2");
mnPopup.add(mnPflanze3);

setDefaultCloseOperation(javax.swing.WindowConstants.EXIT_ON_CLOSE);

jPanel1.setBackground(new java.awt.Color(153, 255, 153));
jPanel1.setComponentPopupMenu(mnPopup);
jPanel1.setOpaque(false);
jPanel1.setLayout(new javax.swing.OverlayLayout(jPanel1));
getContentPane().add(jPanel1, java.awt.BorderLayout.CENTER);

jMenu1.setText("File");
jMenuBar1.add(jMenu1);

mnfunktionen.setText("Funktionen");

mnzeichneGarten.setText("Garten anlegen");
mnfunktionen.add(mnzeichneGarten);

mnzeichneRandPflanzen.setText("Random Bepflanzung");
mnfunktionen.add(mnzeichneRandPflanzen);

jMenuBar1.add(mnfunktionen);

setJMenuBar(jMenuBar1);

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(GUI.class.getName()).log(java.util.logging.Level.SEVERE, null, ex);
}
catch (InstantiationException ex)
{
java.util.logging.Logger.getLogger(GUI.class.getName()).log(java.util.logging.Level.SEVERE, null, ex);
}
catch (IllegalAccessException ex)
{
java.util.logging.Logger.getLogger(GUI.class.getName()).log(java.util.logging.Level.SEVERE, null, ex);
}
catch (javax.swing.UnsupportedLookAndFeelException ex)
{
java.util.logging.Logger.getLogger(GUI.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 GUI().setVisible(true);
}
});
}

// Variables declaration - do not modify//GEN-BEGIN:variables
private javax.swing.JMenu jMenu1;
private javax.swing.JMenuBar jMenuBar1;
private javax.swing.JPanel jPanel1;
private javax.swing.JRadioButtonMenuItem jRadioButtonMenuItem1;
private javax.swing.JRadioButtonMenuItem jRadioButtonMenuItem2;
private javax.swing.JMenu mnPflanze1;
private javax.swing.JMenu mnPflanze2;
private javax.swing.JMenu mnPflanze3;
private javax.swing.JPopupMenu mnPopup;
private javax.swing.JMenu mnfunktionen;
private javax.swing.JMenuItem mnzeichneGarten;
private javax.swing.JMenuItem mnzeichneRandPflanzen;
private javax.swing.JRadioButtonMenuItem radiobuttonpfl1;
// End of variables declaration//GEN-END:variables
}

Loading…
Cancel
Save