summaryrefslogtreecommitdiffstats
path: root/Dozentenmodul/src/gui/image/SearchEditImage_GUI.java
diff options
context:
space:
mode:
Diffstat (limited to 'Dozentenmodul/src/gui/image/SearchEditImage_GUI.java')
-rw-r--r--Dozentenmodul/src/gui/image/SearchEditImage_GUI.java14
1 files changed, 6 insertions, 8 deletions
diff --git a/Dozentenmodul/src/gui/image/SearchEditImage_GUI.java b/Dozentenmodul/src/gui/image/SearchEditImage_GUI.java
index d5c48764..7c35bf00 100644
--- a/Dozentenmodul/src/gui/image/SearchEditImage_GUI.java
+++ b/Dozentenmodul/src/gui/image/SearchEditImage_GUI.java
@@ -76,14 +76,6 @@ public class SearchEditImage_GUI extends JFrame {
final TableRowSorter<TableModel> rowSorterMyImages = new TableRowSorter<TableModel>(
modelMyImages);
- /**
- * Launch the application.
- *
- * public static void main(String[] args) { try { SearchEditImage_GUI dialog
- * = new SearchEditImage_GUI();
- * dialog.setDefaultCloseOperation(JDialog.DISPOSE_ON_CLOSE);
- * dialog.setVisible(true); } catch (Exception e) { e.printStackTrace(); } }
- */
/**
* Create the dialog.
@@ -220,6 +212,9 @@ public class SearchEditImage_GUI extends JFrame {
} catch (TException e2) {
// TODO Auto-generated catch block
e2.printStackTrace();
+ JOptionPane.showMessageDialog(null,
+ e2.getCause()+"\n"+e2.getMessage(),
+ "Debug-Message", JOptionPane.ERROR_MESSAGE);
}
// Registriert Auswahländerungen der Box
comboBox.addActionListener(new ActionListener() {
@@ -511,6 +506,9 @@ public class SearchEditImage_GUI extends JFrame {
} catch (TException e1) {
// TODO Auto-generated catch block
e1.printStackTrace();
+ JOptionPane.showMessageDialog(null,
+ e1.getCause()+"\n"+e1.getMessage(),
+ "Debug-Message", JOptionPane.ERROR_MESSAGE);
}
return model;
}