From ba973961cd4b50a61d01978e05b048c973f3d9b1 Mon Sep 17 00:00:00 2001 From: Sibo Van Gool Date: Sun, 30 Jan 2022 20:05:16 +0100 Subject: [PATCH] Better code format --- .../gui/main/flightconfigpanel/MotorConfigurationPanel.java | 3 ++- .../gui/main/flightconfigpanel/RecoveryConfigurationPanel.java | 3 ++- .../main/flightconfigpanel/SeparationConfigurationPanel.java | 3 ++- 3 files changed, 6 insertions(+), 3 deletions(-) diff --git a/swing/src/net/sf/openrocket/gui/main/flightconfigpanel/MotorConfigurationPanel.java b/swing/src/net/sf/openrocket/gui/main/flightconfigpanel/MotorConfigurationPanel.java index d775c7ca0..b72b58ff5 100644 --- a/swing/src/net/sf/openrocket/gui/main/flightconfigpanel/MotorConfigurationPanel.java +++ b/swing/src/net/sf/openrocket/gui/main/flightconfigpanel/MotorConfigurationPanel.java @@ -124,7 +124,8 @@ public class MotorConfigurationPanel extends FlightConfigurablePanel this.add(resetIgnitionButton, "sizegroup button, wrap"); // Set 'Enter' key action to open the motor selection dialog - table.getInputMap(JComponent.WHEN_ANCESTOR_OF_FOCUSED_COMPONENT).put(KeyStroke.getKeyStroke(KeyEvent.VK_ENTER, 0), "Enter"); + table.getInputMap(JComponent.WHEN_ANCESTOR_OF_FOCUSED_COMPONENT).put( + KeyStroke.getKeyStroke(KeyEvent.VK_ENTER, 0), "Enter"); table.getActionMap().put("Enter", new AbstractAction() { @Override public void actionPerformed(ActionEvent ae) { diff --git a/swing/src/net/sf/openrocket/gui/main/flightconfigpanel/RecoveryConfigurationPanel.java b/swing/src/net/sf/openrocket/gui/main/flightconfigpanel/RecoveryConfigurationPanel.java index 4a6299eb9..5cf62c634 100644 --- a/swing/src/net/sf/openrocket/gui/main/flightconfigpanel/RecoveryConfigurationPanel.java +++ b/swing/src/net/sf/openrocket/gui/main/flightconfigpanel/RecoveryConfigurationPanel.java @@ -65,7 +65,8 @@ public class RecoveryConfigurationPanel extends FlightConfigurablePanel