From 2fdfb18662b6ad52c515a26ef885cc4bda7535fa Mon Sep 17 00:00:00 2001 From: Jan <> Date: Sun, 23 Jun 2019 14:54:48 +0200 Subject: [PATCH] . --- Garten/src/garten/view/GUI.form | 145 ---------------------------- Garten/src/garten/view/GUI.java | 161 -------------------------------- 2 files changed, 306 deletions(-) delete mode 100644 Garten/src/garten/view/GUI.form delete mode 100644 Garten/src/garten/view/GUI.java diff --git a/Garten/src/garten/view/GUI.form b/Garten/src/garten/view/GUI.form deleted file mode 100644 index 9fc02ae..0000000 --- a/Garten/src/garten/view/GUI.form +++ /dev/null @@ -1,145 +0,0 @@ - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/Garten/src/garten/view/GUI.java b/Garten/src/garten/view/GUI.java deleted file mode 100644 index 09c677e..0000000 --- a/Garten/src/garten/view/GUI.java +++ /dev/null @@ -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") - // //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(); - }// //GEN-END:initComponents - - /** - * @param args the command line arguments - */ - public static void main(String args[]) - { - /* Set the Nimbus look and feel */ - // - /* 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); - } - // - - /* 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 -}