summaryrefslogtreecommitdiffstats
path: root/Dozentenmodul/src/gui/lecture/SearchLecture_GUI.java
diff options
context:
space:
mode:
Diffstat (limited to 'Dozentenmodul/src/gui/lecture/SearchLecture_GUI.java')
-rw-r--r--Dozentenmodul/src/gui/lecture/SearchLecture_GUI.java101
1 files changed, 56 insertions, 45 deletions
diff --git a/Dozentenmodul/src/gui/lecture/SearchLecture_GUI.java b/Dozentenmodul/src/gui/lecture/SearchLecture_GUI.java
index 23195b1a..a0276f6c 100644
--- a/Dozentenmodul/src/gui/lecture/SearchLecture_GUI.java
+++ b/Dozentenmodul/src/gui/lecture/SearchLecture_GUI.java
@@ -64,9 +64,6 @@ public class SearchLecture_GUI extends JFrame {
JRadioButton rdbtnInternetNein;
JTable tableAllLectures;
JTable tablemyLectures;
- JTable tableCoopImages;
- JTable tablePublicVorlagen;
- JTable tablePublicImages;
private JTextField textFieldName;
JTabbedPane tabbedPane;
String[] titles = { "Veranstaltungsname", "Beschreibung",
@@ -265,48 +262,6 @@ public class SearchLecture_GUI extends JFrame {
scrollPaneAllImages.setViewportView(tableAllLectures);
tabbedPane.addTab("Alle", null, scrollPaneAllImages, null);
-
- JScrollPane scrollPaneCoopImages = new JScrollPane();
- tableCoopImages = new JTable();
- tableCoopImages.setModel(model);
- tableCoopImages.getColumnModel().getColumn(1).sizeWidthToFit();
- tableCoopImages.getColumnModel().getColumn(2).sizeWidthToFit();
- tableCoopImages.getColumnModel().getColumn(3).sizeWidthToFit();
- tableCoopImages.getColumnModel().getColumn(4).sizeWidthToFit();
- tableCoopImages.getColumnModel().getColumn(5).sizeWidthToFit();
-
- JScrollPane scrollPanePublicVorlagen = new JScrollPane();
- tablePublicVorlagen = new JTable();
- tablePublicVorlagen.setModel(model);
- tablePublicVorlagen.getColumnModel().getColumn(1).sizeWidthToFit();
- tablePublicVorlagen.getColumnModel().getColumn(2).sizeWidthToFit();
- tablePublicVorlagen.getColumnModel().getColumn(3).sizeWidthToFit();
- tablePublicVorlagen.getColumnModel().getColumn(4).sizeWidthToFit();
- tablePublicVorlagen.getColumnModel().getColumn(5).sizeWidthToFit();
-
- scrollPanePublicVorlagen.setViewportView(tablePublicVorlagen);
- tabbedPane.addTab("\u00D6ffentliche Veranstaltungen", null,
- scrollPanePublicVorlagen, null);
- tabbedPane.setEnabledAt(2, false);
-
- scrollPaneCoopImages.setViewportView(tableCoopImages);
- tabbedPane.addTab("Kooperative Veranstaltungen", null,
- scrollPaneCoopImages, null);
- tabbedPane.setEnabledAt(3, false);
-
- JScrollPane scrollPanePublicImages = new JScrollPane();
- tablePublicImages = new JTable();
- tablePublicImages.setModel(model);
- tablePublicImages.getColumnModel().getColumn(1).sizeWidthToFit();
- tablePublicImages.getColumnModel().getColumn(2).sizeWidthToFit();
- tablePublicImages.getColumnModel().getColumn(3).sizeWidthToFit();
- tablePublicImages.getColumnModel().getColumn(4).sizeWidthToFit();
- tablePublicImages.getColumnModel().getColumn(5).sizeWidthToFit();
-
- scrollPanePublicImages.setViewportView(tablePublicImages);
- tabbedPane.addTab("\u00D6ffentliche Images", null,
- scrollPanePublicImages, null);
- tabbedPane.setEnabledAt(4, false);
{
JPanel buttonPane = new JPanel();
buttonPane.setBounds(0, 640, 826, 33);
@@ -353,6 +308,62 @@ public class SearchLecture_GUI extends JFrame {
JLabel labelName = new JLabel("");
labelName.setBounds(124, 27, 104, 14);
panel.add(labelName);
+
+ JLabel lblAktiv = new JLabel("Aktiv:");
+ lblAktiv.setBounds(10, 52, 104, 14);
+ panel.add(lblAktiv);
+
+ JLabel labelAktiv = new JLabel("");
+ labelAktiv.setBounds(124, 52, 104, 14);
+ panel.add(labelAktiv);
+
+ JLabel labelstartdate = new JLabel("");
+ labelstartdate.setBounds(124, 77, 104, 14);
+ panel.add(labelstartdate);
+
+ JLabel lblStartdatum = new JLabel("Startdatum:");
+ lblStartdatum.setBounds(10, 77, 104, 14);
+ panel.add(lblStartdatum);
+
+ JLabel labelenddate = new JLabel("");
+ labelenddate.setBounds(124, 102, 104, 14);
+ panel.add(labelenddate);
+
+ JLabel lblEnddatum = new JLabel("Enddatum:");
+ lblEnddatum.setBounds(10, 102, 104, 14);
+ panel.add(lblEnddatum);
+
+ JLabel lblBeschreibung = new JLabel("Beschreibung:");
+ lblBeschreibung.setBounds(10, 127, 104, 14);
+ panel.add(lblBeschreibung);
+
+ JLabel labeldesc = new JLabel("");
+ labeldesc.setBounds(124, 127, 104, 110);
+ panel.add(labeldesc);
+
+ JLabel lblImage = new JLabel("Image:");
+ lblImage.setBounds(10, 248, 104, 14);
+ panel.add(lblImage);
+
+ JLabel labelimage = new JLabel("");
+ labelimage.setBounds(124, 248, 104, 14);
+ panel.add(labelimage);
+
+ JLabel labelVerantwortlicher = new JLabel("");
+ labelVerantwortlicher.setBounds(124, 298, 104, 14);
+ panel.add(labelVerantwortlicher);
+
+ JLabel lblVerantwortlicher = new JLabel("Verantwortlicher:");
+ lblVerantwortlicher.setBounds(10, 298, 104, 14);
+ panel.add(lblVerantwortlicher);
+
+ JLabel lblImageversion = new JLabel("Imageversion:");
+ lblImageversion.setBounds(10, 273, 104, 14);
+ panel.add(lblImageversion);
+
+ JLabel labelimageversion = new JLabel("");
+ labelimageversion.setBounds(124, 273, 104, 14);
+ panel.add(labelimageversion);
JMenuBar menuBar = new JMenuBar();
setJMenuBar(menuBar);