Quellcode durchsuchen

Improves SimulationConfigurator Texts & ToolTips

* Save packets
* ToolTip for EditAlgorithms
Andreas T. Meyer-Berg vor 5 Jahren
Ursprung
Commit
4d43f7ecb0

+ 3 - 2
src/main/java/de/tu_darmstadt/tk/SmartHomeNetworkSim/view/popups/SimulationConfigurator.java

@@ -177,15 +177,16 @@ public class SimulationConfigurator extends JFrame implements Observer{
 		JButton btnEditAlgorithms = new JButton("Edit Algorithms");
 		btnEditAlgorithms.setBounds(250, 100, 180, 20);
 		getContentPane().add(btnEditAlgorithms);
+		btnEditAlgorithms.setToolTipText("Edit which user defined algorithms should run during the simulation.");
 		btnEditAlgorithms.addActionListener(a->{ 
 			new EditAlgorithmsPopUp(controller, that);
 			});
 
-		chckbxPrintpackets = new JCheckBox("print Packets");
+		chckbxPrintpackets = new JCheckBox("Save packets");
 		chckbxPrintpackets.setBounds(10, 130, 120, 20);
 		getContentPane().add(chckbxPrintpackets);
 		chckbxPrintpackets
-		.setToolTipText("Print Packets as human readable String to testPackets.log in the projekt folder.");
+		.setToolTipText("Save packets as human readable Strings to the configured File");
 		
 		chckbxSplitLinks = new JCheckBox("Split Links");
 		chckbxSplitLinks.setBounds(130, 130, 100, 20);