diff --git a/sae/java/sommer2015/Sommer2015FS/build.xml b/sae/java/sommer2015/Sommer2015FS/build.xml
new file mode 100644
index 0000000..d3c02a2
--- /dev/null
+++ b/sae/java/sommer2015/Sommer2015FS/build.xml
@@ -0,0 +1,73 @@
+
+
+
+
+
+
+
+
+
+
+ Builds, tests, and runs the project Sommer2015FS.
+
+
+
diff --git a/sae/java/sommer2015/Sommer2015FS/build/classes/.netbeans_automatic_build b/sae/java/sommer2015/Sommer2015FS/build/classes/.netbeans_automatic_build
new file mode 100644
index 0000000..e69de29
diff --git a/sae/java/sommer2015/Sommer2015FS/build/classes/.netbeans_update_resources b/sae/java/sommer2015/Sommer2015FS/build/classes/.netbeans_update_resources
new file mode 100644
index 0000000..e69de29
diff --git a/sae/java/sommer2015/Sommer2015FS/build/classes/sommer2015fs/Form1$1.class b/sae/java/sommer2015/Sommer2015FS/build/classes/sommer2015fs/Form1$1.class
new file mode 100644
index 0000000..6c29419
Binary files /dev/null and b/sae/java/sommer2015/Sommer2015FS/build/classes/sommer2015fs/Form1$1.class differ
diff --git a/sae/java/sommer2015/Sommer2015FS/build/classes/sommer2015fs/Form1$2.class b/sae/java/sommer2015/Sommer2015FS/build/classes/sommer2015fs/Form1$2.class
new file mode 100644
index 0000000..2858497
Binary files /dev/null and b/sae/java/sommer2015/Sommer2015FS/build/classes/sommer2015fs/Form1$2.class differ
diff --git a/sae/java/sommer2015/Sommer2015FS/build/classes/sommer2015fs/Form1$3.class b/sae/java/sommer2015/Sommer2015FS/build/classes/sommer2015fs/Form1$3.class
new file mode 100644
index 0000000..dca0b28
Binary files /dev/null and b/sae/java/sommer2015/Sommer2015FS/build/classes/sommer2015fs/Form1$3.class differ
diff --git a/sae/java/sommer2015/Sommer2015FS/build/classes/sommer2015fs/Form1.class b/sae/java/sommer2015/Sommer2015FS/build/classes/sommer2015fs/Form1.class
new file mode 100644
index 0000000..7c5d81f
Binary files /dev/null and b/sae/java/sommer2015/Sommer2015FS/build/classes/sommer2015fs/Form1.class differ
diff --git a/sae/java/sommer2015/Sommer2015FS/build/classes/sommer2015fs/Form1.form b/sae/java/sommer2015/Sommer2015FS/build/classes/sommer2015fs/Form1.form
new file mode 100644
index 0000000..2cb2956
--- /dev/null
+++ b/sae/java/sommer2015/Sommer2015FS/build/classes/sommer2015fs/Form1.form
@@ -0,0 +1,89 @@
+
+
+
diff --git a/sae/java/sommer2015/Sommer2015FS/nbproject/build-impl.xml b/sae/java/sommer2015/Sommer2015FS/nbproject/build-impl.xml
new file mode 100644
index 0000000..45b3457
--- /dev/null
+++ b/sae/java/sommer2015/Sommer2015FS/nbproject/build-impl.xml
@@ -0,0 +1,1420 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ Must set src.dir
+ Must set test.src.dir
+ Must set build.dir
+ Must set dist.dir
+ Must set build.classes.dir
+ Must set dist.javadoc.dir
+ Must set build.test.classes.dir
+ Must set build.test.results.dir
+ Must set build.classes.excludes
+ Must set dist.jar
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
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
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ Must select some files in the IDE or set javac.includes
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ To run this application from the command line without Ant, try:
+
+ java -jar "${dist.jar.resolved}"
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ Must select one file in the IDE or set run.class
+
+
+
+ Must select one file in the IDE or set run.class
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ Must select one file in the IDE or set debug.class
+
+
+
+
+ Must select one file in the IDE or set debug.class
+
+
+
+
+ Must set fix.includes
+
+
+
+
+
+
+
+
+
+ This target only works when run from inside the NetBeans IDE.
+
+
+
+
+
+
+
+
+ Must select one file in the IDE or set profile.class
+ This target only works when run from inside the NetBeans IDE.
+
+
+
+
+
+
+
+
+ This target only works when run from inside the NetBeans IDE.
+
+
+
+
+
+
+
+
+
+
+
+
+ This target only works when run from inside the NetBeans IDE.
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ Must select one file in the IDE or set run.class
+
+
+
+
+
+ Must select some files in the IDE or set test.includes
+
+
+
+
+ Must select one file in the IDE or set run.class
+
+
+
+
+ Must select one file in the IDE or set applet.url
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ Must select some files in the IDE or set javac.includes
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ Some tests failed; see details above.
+
+
+
+
+
+
+
+
+ Must select some files in the IDE or set test.includes
+
+
+
+ Some tests failed; see details above.
+
+
+
+ Must select some files in the IDE or set test.class
+ Must select some method in the IDE or set test.method
+
+
+
+ Some tests failed; see details above.
+
+
+
+
+ Must select one file in the IDE or set test.class
+
+
+
+ Must select one file in the IDE or set test.class
+ Must select some method in the IDE or set test.method
+
+
+
+
+
+
+
+
+
+
+
+
+
+ Must select one file in the IDE or set applet.url
+
+
+
+
+
+
+
+
+ Must select one file in the IDE or set applet.url
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/sae/java/sommer2015/Sommer2015FS/nbproject/genfiles.properties b/sae/java/sommer2015/Sommer2015FS/nbproject/genfiles.properties
new file mode 100644
index 0000000..25c45e2
--- /dev/null
+++ b/sae/java/sommer2015/Sommer2015FS/nbproject/genfiles.properties
@@ -0,0 +1,8 @@
+build.xml.data.CRC32=69b51468
+build.xml.script.CRC32=f0f54682
+build.xml.stylesheet.CRC32=8064a381@1.80.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=69b51468
+nbproject/build-impl.xml.script.CRC32=74e63266
+nbproject/build-impl.xml.stylesheet.CRC32=830a3534@1.80.1.48
diff --git a/sae/java/sommer2015/Sommer2015FS/nbproject/private/private.properties b/sae/java/sommer2015/Sommer2015FS/nbproject/private/private.properties
new file mode 100644
index 0000000..31803a0
--- /dev/null
+++ b/sae/java/sommer2015/Sommer2015FS/nbproject/private/private.properties
@@ -0,0 +1,2 @@
+compile.on.save=true
+user.properties.file=/home/structix/.netbeans/8.2/build.properties
diff --git a/sae/java/sommer2015/Sommer2015FS/nbproject/private/private.xml b/sae/java/sommer2015/Sommer2015FS/nbproject/private/private.xml
new file mode 100644
index 0000000..003fea0
--- /dev/null
+++ b/sae/java/sommer2015/Sommer2015FS/nbproject/private/private.xml
@@ -0,0 +1,9 @@
+
+
+
+
+
+ file:/home/structix/NetBeansProjects/Sommer2015FS/src/sommer2015fs/Form1.java
+
+
+
diff --git a/sae/java/sommer2015/Sommer2015FS/nbproject/project.properties b/sae/java/sommer2015/Sommer2015FS/nbproject/project.properties
new file mode 100644
index 0000000..7b473e8
--- /dev/null
+++ b/sae/java/sommer2015/Sommer2015FS/nbproject/project.properties
@@ -0,0 +1,74 @@
+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}/Sommer2015FS.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.external.vm=true
+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=sommer2015fs.Form1
+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
diff --git a/sae/java/sommer2015/Sommer2015FS/nbproject/project.xml b/sae/java/sommer2015/Sommer2015FS/nbproject/project.xml
new file mode 100644
index 0000000..1f46fb2
--- /dev/null
+++ b/sae/java/sommer2015/Sommer2015FS/nbproject/project.xml
@@ -0,0 +1,15 @@
+
+
+ org.netbeans.modules.java.j2seproject
+
+
+ Sommer2015FS
+
+
+
+
+
+
+
+
+
diff --git a/sae/java/sommer2015/Sommer2015FS/src/sommer2015fs/Form1.form b/sae/java/sommer2015/Sommer2015FS/src/sommer2015fs/Form1.form
new file mode 100644
index 0000000..2cb2956
--- /dev/null
+++ b/sae/java/sommer2015/Sommer2015FS/src/sommer2015fs/Form1.form
@@ -0,0 +1,89 @@
+
+
+
diff --git a/sae/java/sommer2015/Sommer2015FS/src/sommer2015fs/Form1.java b/sae/java/sommer2015/Sommer2015FS/src/sommer2015fs/Form1.java
new file mode 100644
index 0000000..04589be
--- /dev/null
+++ b/sae/java/sommer2015/Sommer2015FS/src/sommer2015fs/Form1.java
@@ -0,0 +1,143 @@
+/*
+ * 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 sommer2015fs;
+
+/**
+ *
+ * @author structix
+ */
+public class Form1 extends javax.swing.JFrame {
+
+ /**
+ * Creates new form Form1
+ */
+ public Form1() {
+ 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() {
+
+ jPanel1 = new javax.swing.JPanel();
+ jComboBox1 = new javax.swing.JComboBox<>();
+ jTextField1 = new javax.swing.JTextField();
+
+ setDefaultCloseOperation(javax.swing.WindowConstants.EXIT_ON_CLOSE);
+
+ jComboBox1.setModel(new javax.swing.DefaultComboBoxModel<>(new String[] { "Freizeitschuhe", "Wanderschuhe", "Bergsteigerschuhe" }));
+ jComboBox1.addActionListener(new java.awt.event.ActionListener() {
+ public void actionPerformed(java.awt.event.ActionEvent evt) {
+ jComboBox1ActionPerformed(evt);
+ }
+ });
+
+ jTextField1.addActionListener(new java.awt.event.ActionListener() {
+ public void actionPerformed(java.awt.event.ActionEvent evt) {
+ jTextField1ActionPerformed(evt);
+ }
+ });
+
+ javax.swing.GroupLayout jPanel1Layout = new javax.swing.GroupLayout(jPanel1);
+ jPanel1.setLayout(jPanel1Layout);
+ jPanel1Layout.setHorizontalGroup(
+ jPanel1Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
+ .addGroup(jPanel1Layout.createSequentialGroup()
+ .addContainerGap()
+ .addGroup(jPanel1Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
+ .addComponent(jComboBox1, 0, 376, Short.MAX_VALUE)
+ .addComponent(jTextField1))
+ .addContainerGap())
+ );
+ jPanel1Layout.setVerticalGroup(
+ jPanel1Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
+ .addGroup(jPanel1Layout.createSequentialGroup()
+ .addContainerGap()
+ .addComponent(jComboBox1, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)
+ .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED, 233, Short.MAX_VALUE)
+ .addComponent(jTextField1, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)
+ .addContainerGap())
+ );
+
+ javax.swing.GroupLayout layout = new javax.swing.GroupLayout(getContentPane());
+ getContentPane().setLayout(layout);
+ layout.setHorizontalGroup(
+ layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
+ .addComponent(jPanel1, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE)
+ );
+ layout.setVerticalGroup(
+ layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
+ .addComponent(jPanel1, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE)
+ );
+
+ pack();
+ }// //GEN-END:initComponents
+
+ private void jTextField1ActionPerformed(java.awt.event.ActionEvent evt) {//GEN-FIRST:event_jTextField1ActionPerformed
+ // TODO add your handling code here:
+ }//GEN-LAST:event_jTextField1ActionPerformed
+
+ private void jComboBox1ActionPerformed(java.awt.event.ActionEvent evt) {//GEN-FIRST:event_jComboBox1ActionPerformed
+ //Event ActionPerformed wird nach jeder Aktion mit der ComboBox
+ //ausgeführt. Das heißt, nachdem auswählen wird dieser Code getriggert.
+
+ //Name des ausgewählten Items abfragen
+ String selItem = jComboBox1.getSelectedItem().toString();
+ //Über die Hilfsmethode die SQL Abfrage als String speichern
+ String sqlcode = getSQLStatement(selItem);
+ //Ins Textfeld eintragen
+ jTextField1.setText(sqlcode);
+ }//GEN-LAST:event_jComboBox1ActionPerformed
+
+ private String getSQLStatement(String category) {
+ return "SELECT * FROM schuhe WHERE Kategorie = " + category;
+ }
+ /**
+ * @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(Form1.class.getName()).log(java.util.logging.Level.SEVERE, null, ex);
+ } catch (InstantiationException ex) {
+ java.util.logging.Logger.getLogger(Form1.class.getName()).log(java.util.logging.Level.SEVERE, null, ex);
+ } catch (IllegalAccessException ex) {
+ java.util.logging.Logger.getLogger(Form1.class.getName()).log(java.util.logging.Level.SEVERE, null, ex);
+ } catch (javax.swing.UnsupportedLookAndFeelException ex) {
+ java.util.logging.Logger.getLogger(Form1.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 Form1().setVisible(true);
+ }
+ });
+ }
+
+ // Variables declaration - do not modify//GEN-BEGIN:variables
+ private javax.swing.JComboBox jComboBox1;
+ private javax.swing.JPanel jPanel1;
+ private javax.swing.JTextField jTextField1;
+ // End of variables declaration//GEN-END:variables
+}