diff options
| author | Michael Wilson | 2014-05-22 13:38:13 +0200 |
|---|---|---|
| committer | Michael Wilson | 2014-05-22 13:38:13 +0200 |
| commit | 5e44d758a67004d2dac7490c393bd210233d76c4 (patch) | |
| tree | d1d85e0b6cd0a6c31fda25ec4cf6b7c41e61bb6d /Dozentenmodul/src/gui/lecture/EditLectureSearch_GUI.java | |
| parent | Ausgaben geändert (diff) | |
| parent | aa (diff) | |
| download | tutor-module-5e44d758a67004d2dac7490c393bd210233d76c4.tar.gz tutor-module-5e44d758a67004d2dac7490c393bd210233d76c4.tar.xz tutor-module-5e44d758a67004d2dac7490c393bd210233d76c4.zip | |
Merge branch 'master' of ssh://git.openslx.org/openslx-ng/tutor-module
Diffstat (limited to 'Dozentenmodul/src/gui/lecture/EditLectureSearch_GUI.java')
| -rw-r--r-- | Dozentenmodul/src/gui/lecture/EditLectureSearch_GUI.java | 20 |
1 files changed, 14 insertions, 6 deletions
diff --git a/Dozentenmodul/src/gui/lecture/EditLectureSearch_GUI.java b/Dozentenmodul/src/gui/lecture/EditLectureSearch_GUI.java index a57b126e..7bd42034 100644 --- a/Dozentenmodul/src/gui/lecture/EditLectureSearch_GUI.java +++ b/Dozentenmodul/src/gui/lecture/EditLectureSearch_GUI.java @@ -73,8 +73,16 @@ public class EditLectureSearch_GUI extends JFrame { "Verantwortlicher", "Image", "Schlagwort", "ID" }; ThriftConnection con = new ThriftConnection(); Client client = models.Client.clientcon.getClient(); - final DefaultTableModel modelAll = new DefaultTableModel(titles, 0); - final DefaultTableModel modelMyLectures = new DefaultTableModel(titles, 0); + final DefaultTableModel modelAll = new DefaultTableModel(titles, 0){ + public boolean isCellEditable(int rowIndex, int mColIndex) { + return false; + } + }; + final DefaultTableModel modelMyLectures = new DefaultTableModel(titles, 0){ + public boolean isCellEditable(int rowIndex, int mColIndex) { + return false; + } + }; final TableRowSorter<TableModel> rowSorterAll = new TableRowSorter<TableModel>( modelAll); final TableRowSorter<TableModel> rowSorterMyLectures = new TableRowSorter<TableModel>( @@ -191,19 +199,19 @@ public class EditLectureSearch_GUI extends JFrame { textFieldName.setColumns(10); JLabel lblErweiterteSuche = new JLabel( - "<html><u>Erweiterte Suche</u></html>"); + "<html><u>Erweiterte Suche *Folgt noch*</u></html>"); lblErweiterteSuche.addMouseListener(new MouseAdapter() { @Override public void mouseClicked(MouseEvent arg0) { // oeffnet das Fenster Extended GUI - ExtendedSearchForImages_GUI es = new ExtendedSearchForImages_GUI(); - es.setVisible(true); + //ExtendedSearchForImages_GUI es = new ExtendedSearchForImages_GUI(); + //es.setVisible(true); } }); lblErweiterteSuche.setForeground(Color.BLUE); - lblErweiterteSuche.setBounds(431, 106, 89, 14); + lblErweiterteSuche.setBounds(326, 106, 194, 14); panel_1.add(lblErweiterteSuche); JLabel lblHauptmen = new JLabel("Hauptmen\u00FC"); |
