diff --git a/src/gui/SimulationHGOD.java b/src/gui/SimulationHGOD.java index ace937f01a3bef7fe8f1170d954ba0a83d7859b9..b930bc1c28af4bbacc1f9de7159beac233498c2a 100644 --- a/src/gui/SimulationHGOD.java +++ b/src/gui/SimulationHGOD.java @@ -79,7 +79,7 @@ public class SimulationHGOD extends JFrame { setTitle("Simulation hedonische Spiele und Meinungsverbreitung"); setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE); - setBounds(100, 100, 953, 552); + setBounds(100, 100, 1128, 712); contentPane = new JPanel(); contentPane.setBorder(new EmptyBorder(5, 5, 5, 5)); @@ -101,12 +101,12 @@ public class SimulationHGOD extends JFrame { JRadioButton rdbtnSynchron = new JRadioButton("Synchron"); rdbtnSynchron.setSelected(true); buttonGroup.add(rdbtnSynchron); - rdbtnSynchron.setBounds(172, 412, 109, 23); + rdbtnSynchron.setBounds(309, 566, 109, 23); contentPane.add(rdbtnSynchron); JRadioButton rdbtnAsynchron = new JRadioButton("Asynchron"); buttonGroup.add(rdbtnAsynchron); - rdbtnAsynchron.setBounds(172, 438, 109, 23); + rdbtnAsynchron.setBounds(309, 592, 109, 23); contentPane.add(rdbtnAsynchron); @@ -121,7 +121,7 @@ public class SimulationHGOD extends JFrame { View view = viewer.addDefaultView(false); Component viewComponent = (Component)view; - viewComponent.setBounds(10, 33, 754, 366); + viewComponent.setBounds(10, 33, 1000, 500); Coalition coalition1 = new Coalition(); @@ -243,25 +243,25 @@ public class SimulationHGOD extends JFrame { contentPane.add(viewComponent); - lblTime.setBounds(312, 416, 89, 14); + lblTime.setBounds(449, 570, 89, 14); contentPane.add(lblTime); JRadioButton rdbtnOpinionCoalitionRadioButton = new JRadioButton("Opinion to Coalition"); rdbtnOpinionCoalitionRadioButton.setSelected(true); - rdbtnOpinionCoalitionRadioButton.setBounds(726, 412, 161, 23); + rdbtnOpinionCoalitionRadioButton.setBounds(863, 566, 161, 23); contentPane.add(rdbtnOpinionCoalitionRadioButton); buttonGroup2.add(rdbtnOpinionCoalitionRadioButton); JRadioButton rdbtnCoalitionopinion = new JRadioButton("Coalition to Opinion"); - rdbtnCoalitionopinion.setBounds(726, 438, 161, 23); + rdbtnCoalitionopinion.setBounds(863, 592, 161, 23); contentPane.add(rdbtnCoalitionopinion); buttonGroup2.add(rdbtnCoalitionopinion); JComboBox comboBoxFokus = new JComboBox(); comboBoxFokus.setModel(new DefaultComboBoxModel(new String[] {"Open", "Same Coalition"})); - comboBoxFokus.setBounds(405, 457, 161, 22); + comboBoxFokus.setBounds(542, 611, 161, 22); contentPane.add(comboBoxFokus); /* @@ -293,7 +293,7 @@ public class SimulationHGOD extends JFrame { lblTime.setText("Time: "+simulationGraph.getTime()); } }); - btnUpdate.setBounds(503, 412, 89, 23); + btnUpdate.setBounds(640, 566, 89, 23); contentPane.add(btnUpdate); /* * Mit diesem Button kann in der Zeit zurück gegangen werden. @@ -308,21 +308,21 @@ public class SimulationHGOD extends JFrame { } } }); - btnUndo.setBounds(404, 412, 89, 23); + btnUndo.setBounds(541, 566, 89, 23); contentPane.add(btnUndo); JLabel lblNewLabel = new JLabel("Update-Order:"); - lblNewLabel.setBounds(648, 416, 139, 14); + lblNewLabel.setBounds(785, 570, 139, 14); contentPane.add(lblNewLabel); JLabel lblNewLabel_1 = new JLabel("Fokus:"); - lblNewLabel_1.setBounds(312, 461, 46, 14); + lblNewLabel_1.setBounds(449, 615, 46, 14); contentPane.add(lblNewLabel_1); JLabel lblSynchronisationsart = new JLabel("Synchronisation-Type:"); - lblSynchronisationsart.setBounds(48, 416, 139, 14); + lblSynchronisationsart.setBounds(185, 570, 139, 14); contentPane.add(lblSynchronisationsart);