|
@@ -126,7 +126,7 @@ public class SmartDeviceCreationPopUp extends JDialog {
|
|
tfName.setText(newDevice.getName());
|
|
tfName.setText(newDevice.getName());
|
|
|
|
|
|
JLabel lblXposition = new JLabel(
|
|
JLabel lblXposition = new JLabel(
|
|
- "x-position in [" + visualisationRadius + "," + (maxX - visualisationRadius) + "]:");
|
|
|
|
|
|
+ "x-position in [" + visualisationRadius + ", " + (maxX - visualisationRadius) + "]:");
|
|
lblXposition.setBounds(10, 30, 230, 16);
|
|
lblXposition.setBounds(10, 30, 230, 16);
|
|
lblXposition.setToolTipText("Set the x position, which should be an integer in the given interval.");
|
|
lblXposition.setToolTipText("Set the x position, which should be an integer in the given interval.");
|
|
lblXposition.setHorizontalAlignment(SwingConstants.RIGHT);
|
|
lblXposition.setHorizontalAlignment(SwingConstants.RIGHT);
|
|
@@ -141,7 +141,7 @@ public class SmartDeviceCreationPopUp extends JDialog {
|
|
tfXposition.setInputVerifier(new IntegerInputValidator(visualisationRadius, maxX - visualisationRadius));
|
|
tfXposition.setInputVerifier(new IntegerInputValidator(visualisationRadius, maxX - visualisationRadius));
|
|
|
|
|
|
JLabel lblYposition = new JLabel(
|
|
JLabel lblYposition = new JLabel(
|
|
- "y-position in [" + visualisationRadius + "," + (maxY - visualisationRadius) + "]:");
|
|
|
|
|
|
+ "y-position in [" + visualisationRadius + ", " + (maxY - visualisationRadius) + "]:");
|
|
lblYposition.setBounds(10, 57, 230, 16);
|
|
lblYposition.setBounds(10, 57, 230, 16);
|
|
lblYposition.setToolTipText("Set the y position, which should be an integer in the given interval.");
|
|
lblYposition.setToolTipText("Set the y position, which should be an integer in the given interval.");
|
|
lblYposition.setHorizontalAlignment(SwingConstants.RIGHT);
|
|
lblYposition.setHorizontalAlignment(SwingConstants.RIGHT);
|