From a4531f554892e07e3203f69df0f03179e9c2d019 Mon Sep 17 00:00:00 2001 From: Michael Wilson Date: Thu, 22 May 2014 15:41:52 +0200 Subject: Überflüssige Main-Methoden entfernt --- Dozentenmodul/src/gui/image/SearchMethodLecture_GUI.java | 16 +--------------- 1 file changed, 1 insertion(+), 15 deletions(-) (limited to 'Dozentenmodul/src/gui/image/SearchMethodLecture_GUI.java') diff --git a/Dozentenmodul/src/gui/image/SearchMethodLecture_GUI.java b/Dozentenmodul/src/gui/image/SearchMethodLecture_GUI.java index 67472c17..ac9fb96f 100644 --- a/Dozentenmodul/src/gui/image/SearchMethodLecture_GUI.java +++ b/Dozentenmodul/src/gui/image/SearchMethodLecture_GUI.java @@ -15,10 +15,8 @@ import java.awt.event.MouseEvent; import java.awt.event.WindowAdapter; import java.awt.event.WindowEvent; import java.io.IOException; - import javax.swing.ButtonGroup; import javax.swing.JButton; -import javax.swing.JDialog; import javax.swing.JFrame; import javax.swing.JLabel; import javax.swing.JMenu; @@ -33,7 +31,6 @@ import javax.swing.UIManager; import javax.swing.UnsupportedLookAndFeelException; import javax.swing.border.EmptyBorder; import javax.swing.border.TitledBorder; - import models.Links; @SuppressWarnings("serial") @@ -45,18 +42,7 @@ public class SearchMethodLecture_GUI extends JFrame { JRadioButton rdbtnSearchByLecture; private final ButtonGroup buttonGroup = new ButtonGroup(); - /** - * Launch the application. - */ - public static void main(String[] args) { - try { - SearchMethodLecture_GUI dialog = new SearchMethodLecture_GUI(); - dialog.setDefaultCloseOperation(JDialog.DISPOSE_ON_CLOSE); - dialog.setVisible(true); - } catch (Exception e) { - e.printStackTrace(); - } - } + /** * Create the dialog. -- cgit v1.2.3-55-g7522