diff --git a/core/resources/l10n/messages.properties b/core/resources/l10n/messages.properties index a3cfc5575..145b86628 100644 --- a/core/resources/l10n/messages.properties +++ b/core/resources/l10n/messages.properties @@ -54,7 +54,9 @@ RocketPanel.lbl.Flightcfg = Flight configuration: RocketPanel.lbl.infoMessage = Click to select    Shift+click to select other    Double-click to edit    Click+drag to move RocketPanel.lbl.ViewType = View Type: RocketPanel.lbl.Zoom = Zoom: +RocketPanel.lbl.Stability = Stability: RocketPanel.checkbox.ShowCGCP = Show CG/CP +RocketPanel.checkbox.ShowCGCP.ttip = Disabling this checkbox hides the CG and CP markings in the rocket view. RocketPanel.lbl.Stages = Stages: RocketPanel.ttip.Rotation = Change the rocket's roll rotation (only affects the rocket view) diff --git a/swing/src/net/sf/openrocket/gui/scalefigure/RocketPanel.java b/swing/src/net/sf/openrocket/gui/scalefigure/RocketPanel.java index 0243b28f2..aa78e630d 100644 --- a/swing/src/net/sf/openrocket/gui/scalefigure/RocketPanel.java +++ b/swing/src/net/sf/openrocket/gui/scalefigure/RocketPanel.java @@ -337,6 +337,8 @@ public class RocketPanel extends JPanel implements TreeSelectionListener, Change JCheckBox showCGCP = new JCheckBox(); showCGCP.setText(trans.get("RocketPanel.checkbox.ShowCGCP")); showCGCP.setSelected(true); + showCGCP.setToolTipText(trans.get("RocketPanel.checkbox.ShowCGCP.ttip")); + ribbon.add(new JLabel(trans.get("RocketPanel.lbl.Stability")), "cell 4 0, gapleft para"); ribbon.add(showCGCP, "cell 4 1, gapleft para"); showCGCP.addActionListener(new ActionListener() {