|
@@ -9,17 +9,27 @@ import javax.swing.JFrame;
|
|
import javax.swing.JLabel;
|
|
import javax.swing.JLabel;
|
|
import javax.swing.JPanel;
|
|
import javax.swing.JPanel;
|
|
|
|
|
|
|
|
+/**
|
|
|
|
+ * AboutUs Pop Up Window.
|
|
|
|
+ *
|
|
|
|
+ * @author Gruppe14
|
|
|
|
+ */
|
|
public class AboutUsPopUp extends JFrame {
|
|
public class AboutUsPopUp extends JFrame {
|
|
|
|
+ /**
|
|
|
|
+ * Serial.
|
|
|
|
+ */
|
|
|
|
+ private static final long serialVersionUID = 1L;
|
|
private final JPanel contentPanel = new JPanel();
|
|
private final JPanel contentPanel = new JPanel();
|
|
private final JPanel contentPanel2 = new JPanel();
|
|
private final JPanel contentPanel2 = new JPanel();
|
|
private final JPanel contentPanel3 = new JPanel();
|
|
private final JPanel contentPanel3 = new JPanel();
|
|
private JLabel titel = new JLabel("Cyber Physical Systems");
|
|
private JLabel titel = new JLabel("Cyber Physical Systems");
|
|
private JLabel text = new JLabel("Something nice for the user :D");
|
|
private JLabel text = new JLabel("Something nice for the user :D");
|
|
- private JLabel names_developers = new JLabel("K. Trometer, D. Rieder, T. Zheng, J. Widhalm and E. Palza");
|
|
|
|
- private JLabel names_client = new JLabel("");
|
|
|
|
- private JLabel name_leader = new JLabel("");
|
|
|
|
|
|
+ private JLabel namesDevelopers = new JLabel("K. Trometer, D. Rieder, T. Zheng, J. Widhalm and E. Palza");
|
|
private JLabel credits = new JLabel();
|
|
private JLabel credits = new JLabel();
|
|
|
|
|
|
|
|
+ /**
|
|
|
|
+ * Constructor.
|
|
|
|
+ */
|
|
public AboutUsPopUp() {
|
|
public AboutUsPopUp() {
|
|
super("About Us");
|
|
super("About Us");
|
|
this.setIconImage(new ImageIcon(this.getClass().getResource("/Images/Dummy_House.png")).getImage()
|
|
this.setIconImage(new ImageIcon(this.getClass().getResource("/Images/Dummy_House.png")).getImage()
|
|
@@ -35,7 +45,7 @@ public class AboutUsPopUp extends JFrame {
|
|
contentPanel2.add(text);
|
|
contentPanel2.add(text);
|
|
contentPanel2.add(credits);
|
|
contentPanel2.add(credits);
|
|
getContentPane().add(contentPanel2, BorderLayout.CENTER);
|
|
getContentPane().add(contentPanel2, BorderLayout.CENTER);
|
|
- contentPanel3.add(names_developers);
|
|
|
|
|
|
+ contentPanel3.add(namesDevelopers);
|
|
getContentPane().add(contentPanel3, BorderLayout.SOUTH);
|
|
getContentPane().add(contentPanel3, BorderLayout.SOUTH);
|
|
}
|
|
}
|
|
}
|
|
}
|