Browse Source

Adds Role Label to connection creation Panel

Andreas T. Meyer-Berg 5 years ago
parent
commit
a11855d1c5

+ 10 - 0
src/main/java/de/tu_darmstadt/tk/SmartHomeNetworkSim/view/popups/ConnectionCreationPanel.java

@@ -621,6 +621,16 @@ public class ConnectionCreationPanel extends JScrollPane {
 			}
 		});
 
+		/**
+		 * Small Label to describe the roles
+		 */
+		JLabel lblRole = new JLabel("Roles:");
+		lblRole.setHorizontalAlignment(SwingConstants.CENTER);
+		lblRole.setBounds(350, 165, 50, 18);
+		lblRole.setToolTipText("The roles each device plays in the connection, can be defined below. It defines how the device acts.");
+		content.add(lblRole);
+		
+		
 		/**
 		 * Height of the current Box which is being created
 		 */