summaryrefslogtreecommitdiffstats
path: root/dozentenmodul/src/main/java/gui/lecture/PermissionCreateLecture_GUI.java
diff options
context:
space:
mode:
Diffstat (limited to 'dozentenmodul/src/main/java/gui/lecture/PermissionCreateLecture_GUI.java')
-rw-r--r--dozentenmodul/src/main/java/gui/lecture/PermissionCreateLecture_GUI.java15
1 files changed, 0 insertions, 15 deletions
diff --git a/dozentenmodul/src/main/java/gui/lecture/PermissionCreateLecture_GUI.java b/dozentenmodul/src/main/java/gui/lecture/PermissionCreateLecture_GUI.java
index c08c5eb1..d612df55 100644
--- a/dozentenmodul/src/main/java/gui/lecture/PermissionCreateLecture_GUI.java
+++ b/dozentenmodul/src/main/java/gui/lecture/PermissionCreateLecture_GUI.java
@@ -29,8 +29,6 @@ import javax.swing.JSeparator;
import javax.swing.JTable;
import javax.swing.JTextPane;
import javax.swing.ScrollPaneConstants;
-import javax.swing.UIManager;
-import javax.swing.UnsupportedLookAndFeelException;
import javax.swing.border.EmptyBorder;
import javax.swing.border.TitledBorder;
import javax.swing.table.DefaultTableModel;
@@ -84,13 +82,6 @@ public class PermissionCreateLecture_GUI extends JInternalFrame {
public PermissionCreateLecture_GUI() {
setResizable(false);
-
- try {
- UIManager.setLookAndFeel(UIManager.getSystemLookAndFeelClassName());
- } catch (ClassNotFoundException | InstantiationException | IllegalAccessException
- | UnsupportedLookAndFeelException e) {
- e.printStackTrace();
- }
setTitle("bwLehrpool Suite - Berechtigungen - " + person.verantwortlicher.getUserID());
setBounds(0, 0, 603, 722);
@@ -419,9 +410,7 @@ public class PermissionCreateLecture_GUI extends JInternalFrame {
// get values from table and save the checkbox values
- // for (int i = 0; i < map.size(); i++) {
for (int i = 0; i < tablePermittedUsers.getRowCount(); i++) {
- // System.out.println("in for, rowcount="+table.getRowCount());
person temp = new person();
seperatorIndex = tablePermittedUsers.getModel().getValueAt(i, 0).toString().indexOf(",");
@@ -450,10 +439,6 @@ public class PermissionCreateLecture_GUI extends JInternalFrame {
}
}
- //for (int y = 0; y < list.size(); y++) {
- // System.out.println("" + list.get(y).getName());
- //}
-
RightsManagement.rightsManagement.setPermittedUserList(list);
}// end saveTableToList()