ソースを参照

Renames the Frame to "HOLEG Simulator"&Adds new Devs to the AboutUsPopUp

Andreas T. Meyer-Berg 6 年 前
コミット
53fcc4c961
2 ファイル変更6 行追加4 行削除
  1. 5 3
      src/ui/view/AboutUsPopUp.java
  2. 1 1
      src/ui/view/GUI.java

+ 5 - 3
src/ui/view/AboutUsPopUp.java

@@ -16,14 +16,15 @@ public class AboutUsPopUp extends JFrame {
     private final JPanel contentPanel = new JPanel();
     private final JPanel contentPanel2 = new JPanel();
     private final JPanel contentPanel3 = new JPanel();
-    private JLabel titel = new JLabel("Cyber Physical Systems");
+    private JLabel titel = new JLabel("HOLEG Simulator");
     private JLabel h1 = new JLabel("Project Management & Architect");
     private JLabel h2 = new JLabel("Software Developers");
     private JLabel h3 = new JLabel("Documentation");
     private JLabel h4 = new JLabel("Additional Collaborators");
     private JLabel description = new JLabel("A discrete-time simulator for modeling Smart Grids that follow a Holon-based model.");
     private JLabel namesManagement = new JLabel("C. Garcia Cordero");
-    private JLabel namesDevelopers = new JLabel("K. Trometer, D. Rieder, T. Zheng, J. Widhalm, E. Palza and I. Dix");
+    private JLabel namesDevelopersUntilV2 = new JLabel("K. Trometer, D. Rieder, T. Zheng, J. Widhalm, E. Palza, I. Dix");
+    private JLabel namesDevelopersV2_1= new JLabel("A.T. Meyer-Berg, A. Schneider, T. Troppmann and L. Tietze");
     private JLabel namesDocumentation = new JLabel("E. Palza, C. Garcia Cordero");
     private JLabel namesCollaborators = new JLabel("R. Egert and F. Volk");
     private JLabel credits = new JLabel();
@@ -68,7 +69,8 @@ public class AboutUsPopUp extends JFrame {
         contentPanel2.add(namesManagement);
         contentPanel2.add(Box.createRigidArea(new Dimension(0, 50)));
         contentPanel2.add(h2);
-        contentPanel2.add(namesDevelopers);
+        contentPanel2.add(namesDevelopersUntilV2);
+        contentPanel2.add(namesDevelopersV2_1);
         contentPanel2.add(Box.createRigidArea(new Dimension(0, 50)));
         contentPanel2.add(h3);
         contentPanel2.add(namesDocumentation);

+ 1 - 1
src/ui/view/GUI.java

@@ -337,7 +337,7 @@ public class GUI implements CategoryListener {
 	@SuppressWarnings({ "serial", "unchecked" })
 	private void initialize() {
 		frmCyberPhysical = new JFrame();
-		frmCyberPhysical.setTitle("Cyber Physical Systems Model");
+		frmCyberPhysical.setTitle("HOLEG Simulator");
 		// try to restore old position/dimensions
 		ArrayList<Integer> savedWindowDim = controller
 				.loadSavedWindowDimensionsIfExistent();