From 4d96f7502d2976ded68d8fbdf1fb5d8badfdfc8b Mon Sep 17 00:00:00 2001 From: SiboVG Date: Sun, 21 Aug 2022 18:17:45 +0200 Subject: [PATCH] Improve hover info texts --- core/resources/l10n/messages.properties | 44 +++++++++++++------ .../gui/configdialog/BodyTubeConfig.java | 1 + .../gui/configdialog/FinSetConfig.java | 1 + .../gui/configdialog/MassComponentConfig.java | 3 +- .../gui/configdialog/NoseConeConfig.java | 3 +- .../gui/configdialog/ParachuteConfig.java | 5 ++- .../gui/configdialog/RingComponentConfig.java | 2 + .../configdialog/RocketComponentConfig.java | 10 +++-- .../gui/configdialog/ShockCordConfig.java | 3 +- .../gui/configdialog/StreamerConfig.java | 6 ++- .../gui/configdialog/TransitionConfig.java | 2 + 11 files changed, 56 insertions(+), 24 deletions(-) diff --git a/core/resources/l10n/messages.properties b/core/resources/l10n/messages.properties index fcf0b1298..daa918d2f 100644 --- a/core/resources/l10n/messages.properties +++ b/core/resources/l10n/messages.properties @@ -420,7 +420,7 @@ simedtdlg.border.Launchrod = Launch rod simedtdlg.lbl.Length = Length: simedtdlg.lbl.ttip.Length = The length of the launch rod. simedtdlg.checkbox.Intowind = Always launch directly up-wind or down-wind -simedtdlg.checkbox.ttip.Intowind1 = Checking this box makes the launch rod point into the wind.
+simedtdlg.checkbox.ttip.Intowind1 = Makes the launch rod point into the wind.
simedtdlg.checkbox.ttip.Intowind2 = A zero launchrod angle will point directly up.
simedtdlg.checkbox.ttip.Intowind3 = A negative launchrod angle will launch with the wind.
If you uncheck this box you can point the launchrod any direction you please. simedtdlg.checkbox.ttip.Intowind4 = If you uncheck this box you can point the launchrod any direction you please. @@ -789,7 +789,9 @@ custmatdlg.checkbox.Addmaterial = Add material to database ! Ring Component Config ringcompcfg.OuterRadius = OuterRadius ringcompcfg.Automatic = Automatic +ringcompcfg.AutomaticOuter.ttip = Matches outer diameter to the inner diameter of the parent component. ringcompcfg.InnerRadius = InnerRadius +ringcompcfg.AutomaticInner.ttip = Matches inner diameter to the outer diameter of the child inner tube. ringcompcfg.Thickness = Thickness ringcompcfg.Length = Length ringcompcfg.Positionrelativeto = Position relative to: @@ -800,7 +802,7 @@ ringcompcfg.Distancefrom = Distance from the rocket centerline ringcompcfg.Radialdirection = Radial direction: ringcompcfg.radialdirectionfrom = The radial direction from the rocket centerline ringcompcfg.but.Reset = Reset -ringcompcfg.but.Resetcomponant = Reset the component to the rocket centerline +ringcompcfg.but.Resetcomponant = Resets the component to the rocket centerline. ringcompcfg.EngineBlock.desc = An engine block stops the motor from moving forwards in the motor mount tube.

In order to add a motor, create a body tube or inner tube and mark it as a motor mount in the Motor tab. ringcompcfg.note.desc = Note: An inner tube will not affect the aerodynamics of the rocket even if it is located outside of the body tube. @@ -815,10 +817,11 @@ BodyTubecfg.tab.Generalproperties = General properties BodyTubecfg.tab.Motor = Motor BodyTubecfg.tab.Motormountconf = Motor mount configuration BodyTubecfg.checkbox.Automatic = Automatic -BodyTubecfg.checkbox.ttip.Automatic = Use the diameter of the previous/next component -BodyTubecfg.checkbox.ttip.Automatic_noReferenceComponent = There is no previous/next component to take the diameter of -BodyTubecfg.checkbox.ttip.Automatic_alreadyAuto = The previous/next component already has its auto setting turned on +BodyTubecfg.checkbox.ttip.Automatic = Uses the diameter of the previous/next component. +BodyTubecfg.checkbox.ttip.Automatic_noReferenceComponent = There is no previous/next component to take the diameter of. +BodyTubecfg.checkbox.ttip.Automatic_alreadyAuto = The previous/next component already has its auto setting turned on. BodyTubecfg.checkbox.Filled = Filled +BodyTubecfg.checkbox.Filled.ttip = Changes the body tube from a hollow tube to a solid rod. ! FinSetConfig FinSetConfig.tab.Fintabs = Fin tabs @@ -827,8 +830,9 @@ FinSetConfig.but.Converttofreeform = Convert to freeform FinSetConfig.but.Converttofreeform.ttip = Convert this fin set into a freeform fin set FinSetConfig.Convertfinset = Convert fin set FinSetConfig.but.Splitfins = Split fins -FinSetConfig.but.Splitfins.ttip = Split the fin set into separate fins +FinSetConfig.but.Splitfins.ttip = Split the fin set into separate fins. FinSetConfig.but.AutoCalc = Calculate automatically +FinSetConfig.but.AutoCalc.ttip = Calculates the height and length of the fin tabs, based on
inner tube and centering ring components of the fin's parent component. FinSetConfig.lbl.Through-the-wall = Through-the-wall fin tabs: FinSetConfig.lbl.Tablength = Tab length: FinSetConfig.ttip.Tablength = The length of the fin tab. @@ -914,9 +918,13 @@ RocketCompCfg.but.Setforall = Set for all RocketCompCfg.but.ttip.Setforall = Set this finish for all components of the rocket. RocketCompCfg.lbl.Overridemassorcenter = Override the mass or center of gravity of the RocketCompCfg.checkbox.Overridemass = Override mass: +RocketCompCfg.checkbox.Overridemass.ttip = Overrides the mass of the component calculated by the component's volume and density. RocketCompCfg.checkbox.Overridecenterofgrav = Override center of gravity: +RocketCompCfg.checkbox.Overridecenterofgrav.ttip = Overrides the component's center of gravity location. RocketCompCfg.checkbox.SetDragCoeff = Set coefficient of drag: +RocketCompCfg.checkbox.SetDragCoeff.ttip = Overrides the component's coefficient of drag. RocketCompCfg.checkbox.OverridemassandCG = Override mass and CG of all subcomponents +RocketCompCfg.checkbox.OverridemassandCG.ttip = Overrides the aggregate mass and center of gravity (CG) of this component
and its subcomponents with the mass and CG of this component. RocketCompCfg.lbl.longB1 = The overridden mass and center of gravity does not include motors.
RocketCompCfg.lbl.longB2 = The center of gravity is measured from the front end of the RocketCompCfg.lbl.Commentsonthe = Comments on the @@ -930,7 +938,7 @@ RocketCompCfg.lbl.Diameter = Diameter: RocketCompCfg.lbl.Length = Length: RocketCompCfg.lbl.Thickness = Thickness: RocketCompCfg.checkbox.Endcapped = End capped -RocketCompCfg.ttip.Endcapped = Whether the end of the shoulder is capped. +RocketCompCfg.checkbox.Endcapped.ttip = Caps (closes) the end of the shoulder. RocketCompCfg.title.Noseconeshoulder = Nose cone shoulder RocketCompCfg.title.Aftshoulder = Aft shoulder RocketCompCfg.border.Foreshoulder = Fore shoulder @@ -1104,11 +1112,12 @@ NoseConeCfg.lbl.Shapeparam = Shape parameter: NoseConeCfg.lbl.Noseconelength = Length: NoseConeCfg.lbl.Basediam = Base diameter: NoseConeCfg.checkbox.Automatic = Automatic -NoseConeCfg.checkbox.ttip.Automatic = Use the diameter of the next component -NoseConeCfg.checkbox.ttip.Automatic_noReferenceComponent = There is no next component to take the diameter of -NoseConeCfg.checkbox.ttip.Automatic_alreadyAuto = The next component already has its auto setting turned on +NoseConeCfg.checkbox.ttip.Automatic = Uses the diameter of the next component. +NoseConeCfg.checkbox.ttip.Automatic_noReferenceComponent = There is no next component to take the diameter of. +NoseConeCfg.checkbox.ttip.Automatic_alreadyAuto = The next component already has its auto setting turned on. NoseConeCfg.lbl.Wallthickness = Wall thickness: NoseConeCfg.checkbox.Filled = Filled +NoseConeCfg.checkbox.Filled.ttip = Makes this component solid instead of hollow. NoseConeCfg.tab.General = General NoseConeCfg.tab.ttip.General = General properties NoseConeCfg.tab.Shoulder = Shoulder @@ -1134,6 +1143,8 @@ ParachuteCfg.lbl.Linelength = Line length: ParachuteCfg.lbl.Material = Material: ParachuteCfg.lbl.Posrelativeto = Position relative to: ParachuteCfg.lbl.plus = plus +ParachuteCfg.checkbox.AutomaticPacked = Automatic +ParachuteCfg.checkbox.AutomaticPacked.ttip = Matches the packed diameter to the inside diameter of the parent component. ParachuteCfg.lbl.Packedlength = Packed length: ParachuteCfg.lbl.Packeddiam = Packed diameter: ParachuteCfg.lbl.Deploysat = Deploys at: @@ -1146,6 +1157,8 @@ ParachuteCfg.tab.ttip.Radialpos = Radial position configuration ParachuteCfg.lbl.Radialdistance = Radial distance: ParachuteCfg.lbl.Radialdirection = Radial direction: ParachuteCfg.but.Reset = Reset +ParachuteCfg.but.ResetCd.ttip = Resets the drag coefficient (CD) to a value of %.2f. +ParachuteCfg.but.ResetRadial.ttip = Resets the component to the rocket centerline. ParachuteCfg.lbl.plusdelay = plus ! ShockCordConfig @@ -1186,7 +1199,8 @@ StreamerCfg.combo.ttip.MaterialModel = The component material affects the weight StreamerCfg.lbl.longA1 = Drag coefficient CD: StreamerCfg.lbl.longB1 = The drag coefficient relative to the total area of the streamer.
StreamerCfg.lbl.longB2 = A larger drag coefficient yields a slowed descent rate. -StreamerCfg.lbl.Automatic = Automatic +StreamerCfg.lbl.AutomaticCd = Automatic +StreamerCfg.lbl.AutomaticCd.ttip = Calculate the streamer drag coefficient (CD) using its dimensions. StreamerCfg.lbl.longC1 = The drag coefficient is relative to the area of the streamer. StreamerCfg.lbl.Posrelativeto = Position relative to: StreamerCfg.lbl.plus = plus @@ -1215,16 +1229,18 @@ ThicknessRingCompCfg.tab.Generalprop = General properties ! TransitionConfig TransitionCfg.lbl.Transitionshape = Transition shape: TransitionCfg.checkbox.Clipped = Clipped +TransitionCfg.checkbox.Clipped.ttip = Changes the transition end tangency point from rounded to sharp. TransitionCfg.lbl.Shapeparam = Shape parameter: TransitionCfg.lbl.Transitionlength = Length: TransitionCfg.lbl.Forediam = Fore diameter: TransitionCfg.checkbox.Automatic = Automatic -TransitionCfg.checkbox.ttip.Automatic = Use the diameter of the previous/next component -TransitionCfg.checkbox.ttip.Automatic_noReferenceComponent = There is no previous/next component to take the diameter of -TransitionCfg.checkbox.ttip.Automatic_alreadyAuto = The previous/next component already has its auto setting turned on +TransitionCfg.checkbox.ttip.Automatic = Uses the diameter of the previous/next component. +TransitionCfg.checkbox.ttip.Automatic_noReferenceComponent = There is no previous/next component to take the diameter of. +TransitionCfg.checkbox.ttip.Automatic_alreadyAuto = The previous/next component already has its auto setting turned on. TransitionCfg.lbl.Aftdiam = Aft diameter: TransitionCfg.lbl.Wallthickness = Wall thickness: TransitionCfg.checkbox.Filled = Filled +TransitionCfg.checkbox.Filled.ttip = Makes this component solid instead of hollow. TransitionCfg.tab.General = General TransitionCfg.tab.Generalproperties = General properties TransitionCfg.tab.Shoulder = Shoulder diff --git a/swing/src/net/sf/openrocket/gui/configdialog/BodyTubeConfig.java b/swing/src/net/sf/openrocket/gui/configdialog/BodyTubeConfig.java index 39fbaa2ba..c2dc1d883 100644 --- a/swing/src/net/sf/openrocket/gui/configdialog/BodyTubeConfig.java +++ b/swing/src/net/sf/openrocket/gui/configdialog/BodyTubeConfig.java @@ -103,6 +103,7 @@ public class BodyTubeConfig extends RocketComponentConfig { //// Filled JCheckBox check = new JCheckBox(new BooleanModel(component, "Filled")); check.setText(trans.get("BodyTubecfg.checkbox.Filled")); + check.setToolTipText(trans.get("BodyTubecfg.checkbox.Filled.ttip")); panel.add(check, "skip, span 2, wrap"); //// Material diff --git a/swing/src/net/sf/openrocket/gui/configdialog/FinSetConfig.java b/swing/src/net/sf/openrocket/gui/configdialog/FinSetConfig.java index ad1837219..480a0195a 100644 --- a/swing/src/net/sf/openrocket/gui/configdialog/FinSetConfig.java +++ b/swing/src/net/sf/openrocket/gui/configdialog/FinSetConfig.java @@ -229,6 +229,7 @@ public abstract class FinSetConfig extends RocketComponentConfig { // Calculate fin tab height, length, and position autoCalc = new SelectColorButton(trans.get("FinSetConfig.but.AutoCalc")); + autoCalc.setToolTipText(trans.get("FinSetConfig.but.AutoCalc.ttip")); autoCalc.addActionListener(new ActionListener() { @Override diff --git a/swing/src/net/sf/openrocket/gui/configdialog/MassComponentConfig.java b/swing/src/net/sf/openrocket/gui/configdialog/MassComponentConfig.java index 23102e1f9..d5666cc73 100644 --- a/swing/src/net/sf/openrocket/gui/configdialog/MassComponentConfig.java +++ b/swing/src/net/sf/openrocket/gui/configdialog/MassComponentConfig.java @@ -114,7 +114,8 @@ public class MassComponentConfig extends RocketComponentConfig { ////// Automatic JCheckBox checkAutoPackedRadius = new JCheckBox(od.getAutomaticAction()); - checkAutoPackedRadius.setText(trans.get("TransitionCfg.checkbox.Automatic")); + checkAutoPackedRadius.setText(trans.get("ParachuteCfg.checkbox.AutomaticPacked")); + checkAutoPackedRadius.setToolTipText(trans.get("ParachuteCfg.checkbox.AutomaticPacked.ttip")); panel.add(checkAutoPackedRadius, "skip, span 2, wrap"); diff --git a/swing/src/net/sf/openrocket/gui/configdialog/NoseConeConfig.java b/swing/src/net/sf/openrocket/gui/configdialog/NoseConeConfig.java index 5f5881abc..18cd63fac 100644 --- a/swing/src/net/sf/openrocket/gui/configdialog/NoseConeConfig.java +++ b/swing/src/net/sf/openrocket/gui/configdialog/NoseConeConfig.java @@ -131,7 +131,8 @@ public class NoseConeConfig extends RocketComponentConfig { final JCheckBox filledCheckbox = new JCheckBox(new BooleanModel(component, "Filled")); //// Filled - filledCheckbox .setText(trans.get("NoseConeCfg.checkbox.Filled")); + filledCheckbox.setText(trans.get("NoseConeCfg.checkbox.Filled")); + filledCheckbox.setToolTipText(trans.get("NoseConeCfg.checkbox.Filled.ttip")); panel.add(filledCheckbox, "skip, span 2, wrap"); } diff --git a/swing/src/net/sf/openrocket/gui/configdialog/ParachuteConfig.java b/swing/src/net/sf/openrocket/gui/configdialog/ParachuteConfig.java index 38fdffc3b..83cf1abe6 100644 --- a/swing/src/net/sf/openrocket/gui/configdialog/ParachuteConfig.java +++ b/swing/src/net/sf/openrocket/gui/configdialog/ParachuteConfig.java @@ -103,6 +103,7 @@ public class ParachuteConfig extends RecoveryDeviceConfig { //// Reset button JButton button = new SelectColorButton(trans.get("ParachuteCfg.but.Reset")); + button.setToolTipText(String.format(trans.get("ParachuteCfg.but.ResetCd.ttip"), Parachute.DEFAULT_CD)); button.addActionListener(new ActionListener() { @Override public void actionPerformed(ActionEvent e) { @@ -202,7 +203,8 @@ public class ParachuteConfig extends RecoveryDeviceConfig { ////// Automatic JCheckBox checkAutoPackedRadius = new JCheckBox(od.getAutomaticAction()); - checkAutoPackedRadius.setText(trans.get("TransitionCfg.checkbox.Automatic")); + checkAutoPackedRadius.setText(trans.get("ParachuteCfg.checkbox.AutomaticPacked")); + checkAutoPackedRadius.setToolTipText(trans.get("ParachuteCfg.checkbox.AutomaticPacked.ttip")); panel.add(checkAutoPackedRadius, "skip, span 2, wrap 5lp"); //// Deployment @@ -300,6 +302,7 @@ public class ParachuteConfig extends RecoveryDeviceConfig { //// Reset button JButton button = new SelectColorButton(trans.get("ParachuteCfg.but.Reset")); + button.setToolTipText("ParachuteCfg.but.ResetRadial.ttip"); button.addActionListener(new ActionListener() { @Override public void actionPerformed(ActionEvent e) { diff --git a/swing/src/net/sf/openrocket/gui/configdialog/RingComponentConfig.java b/swing/src/net/sf/openrocket/gui/configdialog/RingComponentConfig.java index 27c2a4282..7e5837f9f 100644 --- a/swing/src/net/sf/openrocket/gui/configdialog/RingComponentConfig.java +++ b/swing/src/net/sf/openrocket/gui/configdialog/RingComponentConfig.java @@ -60,6 +60,7 @@ public class RingComponentConfig extends RocketComponentConfig { JCheckBox check = new JCheckBox(od.getAutomaticAction()); //// Automatic check.setText(trans.get("ringcompcfg.Automatic")); + check.setToolTipText(trans.get("ringcompcfg.AutomaticOuter.ttip")); panel.add(check, "skip, span 2, wrap"); } } @@ -87,6 +88,7 @@ public class RingComponentConfig extends RocketComponentConfig { JCheckBox check = new JCheckBox(m.getAutomaticAction()); //// Automatic check.setText(trans.get("ringcompcfg.Automatic")); + check.setToolTipText(trans.get("ringcompcfg.AutomaticInner.ttip")); panel.add(check, "skip, span 2, wrap"); } } diff --git a/swing/src/net/sf/openrocket/gui/configdialog/RocketComponentConfig.java b/swing/src/net/sf/openrocket/gui/configdialog/RocketComponentConfig.java index 57e7568d2..b9034ac91 100644 --- a/swing/src/net/sf/openrocket/gui/configdialog/RocketComponentConfig.java +++ b/swing/src/net/sf/openrocket/gui/configdialog/RocketComponentConfig.java @@ -424,6 +424,7 @@ public class RocketComponentConfig extends JPanel { check = new JCheckBox(bm); //// Override mass: check.setText(trans.get("RocketCompCfg.checkbox.Overridemass")); + check.setToolTipText(trans.get("RocketCompCfg.checkbox.Overridemass.ttip")); panel.add(check, "growx 1, gapright 20lp"); DoubleModel m = new DoubleModel(component, "OverrideMass", UnitGroup.UNITS_MASS, 0); @@ -449,6 +450,7 @@ public class RocketComponentConfig extends JPanel { check = new JCheckBox(bm); //// Override center of gravity:" check.setText(trans.get("RocketCompCfg.checkbox.Overridecenterofgrav")); + check.setToolTipText(trans.get("RocketCompCfg.checkbox.Overridecenterofgrav.ttip")); panel.add(check, "growx 1, gapright 20lp"); m = new DoubleModel(component, "OverrideCGX", UnitGroup.UNITS_LENGTH, 0); @@ -504,6 +506,7 @@ public class RocketComponentConfig extends JPanel { check = new JCheckBox(bm); //// Override mass and CG of all subcomponents check.setText(trans.get("RocketCompCfg.checkbox.OverridemassandCG")); + check.setToolTipText(trans.get("RocketCompCfg.checkbox.OverridemassandCG.ttip")); panel.add(check, "spanx, wrap 35lp"); @@ -514,6 +517,7 @@ public class RocketComponentConfig extends JPanel { check = new JCheckBox(bm); //// Override coefficient of drag: check.setText(trans.get("RocketCompCfg.checkbox.SetDragCoeff")); + check.setToolTipText(trans.get("RocketCompCfg.checkbox.SetDragCoeff.ttip")); panel.add(check, "growx 1, gapright 20lp"); m = new DoubleModel(component, "OverrideCD", UnitGroup.UNITS_COEFFICIENT, 0); @@ -629,8 +633,7 @@ public class RocketComponentConfig extends JPanel { check = new JCheckBox(bm); //// End capped check.setText(trans.get("RocketCompCfg.checkbox.Endcapped")); - //// Whether the end of the shoulder is capped. - check.setToolTipText(trans.get("RocketCompCfg.ttip.Endcapped")); + check.setToolTipText(trans.get("RocketCompCfg.checkbox.Endcapped.ttip")); sub.add(check, "spanx"); @@ -696,8 +699,7 @@ public class RocketComponentConfig extends JPanel { check = new JCheckBox(bm); //// End capped check.setText(trans.get("RocketCompCfg.checkbox.Endcapped")); - //// Whether the end of the shoulder is capped. - check.setToolTipText(trans.get("RocketCompCfg.ttip.Endcapped")); + check.setToolTipText(trans.get("RocketCompCfg.checkbox.Endcapped.ttip")); sub.add(check, "spanx"); diff --git a/swing/src/net/sf/openrocket/gui/configdialog/ShockCordConfig.java b/swing/src/net/sf/openrocket/gui/configdialog/ShockCordConfig.java index a7a6e8a78..29f574c2a 100644 --- a/swing/src/net/sf/openrocket/gui/configdialog/ShockCordConfig.java +++ b/swing/src/net/sf/openrocket/gui/configdialog/ShockCordConfig.java @@ -120,7 +120,8 @@ public class ShockCordConfig extends RocketComponentConfig { ////// Automatic JCheckBox checkAutoPackedRadius = new JCheckBox(od.getAutomaticAction()); - checkAutoPackedRadius.setText(trans.get("TransitionCfg.checkbox.Automatic")); + checkAutoPackedRadius.setText(trans.get("ParachuteCfg.checkbox.AutomaticPacked")); + checkAutoPackedRadius.setToolTipText(trans.get("ParachuteCfg.checkbox.AutomaticPacked.ttip")); panel2.add(checkAutoPackedRadius, "skip, span 2, wrap"); //// General and General properties diff --git a/swing/src/net/sf/openrocket/gui/configdialog/StreamerConfig.java b/swing/src/net/sf/openrocket/gui/configdialog/StreamerConfig.java index 504c6e712..b9b126c4d 100644 --- a/swing/src/net/sf/openrocket/gui/configdialog/StreamerConfig.java +++ b/swing/src/net/sf/openrocket/gui/configdialog/StreamerConfig.java @@ -121,7 +121,8 @@ public class StreamerConfig extends RecoveryDeviceConfig { JCheckBox check = new JCheckBox(m.getAutomaticAction()); //// Automatic - check.setText(trans.get("StreamerCfg.lbl.Automatic")); + check.setText(trans.get("StreamerCfg.lbl.AutomaticCd")); + check.setToolTipText(trans.get("StreamerCfg.lbl.AutomaticCd.ttip")); panel.add(check, "skip, span, wrap"); //// The drag coefficient is relative to the area of the streamer. @@ -188,7 +189,8 @@ public class StreamerConfig extends RecoveryDeviceConfig { ////// Automatic JCheckBox checkAutoPackedRadius = new JCheckBox(od.getAutomaticAction()); - checkAutoPackedRadius.setText(trans.get("TransitionCfg.checkbox.Automatic")); + checkAutoPackedRadius.setText(trans.get("ParachuteCfg.checkbox.AutomaticPacked")); + checkAutoPackedRadius.setToolTipText(trans.get("ParachuteCfg.checkbox.AutomaticPacked.ttip")); panel.add(checkAutoPackedRadius, "skip, span 2, wrap 5lp"); diff --git a/swing/src/net/sf/openrocket/gui/configdialog/TransitionConfig.java b/swing/src/net/sf/openrocket/gui/configdialog/TransitionConfig.java index 05975823b..b5b4c72cc 100644 --- a/swing/src/net/sf/openrocket/gui/configdialog/TransitionConfig.java +++ b/swing/src/net/sf/openrocket/gui/configdialog/TransitionConfig.java @@ -73,6 +73,7 @@ public class TransitionConfig extends RocketComponentConfig { {//// Clipped final JCheckBox checkbox = new JCheckBox(new BooleanModel(component, "Clipped")); checkbox.setText(trans.get("TransitionCfg.checkbox.Clipped")); + checkbox.setToolTipText(trans.get("TransitionCfg.checkbox.Clipped.ttip")); panel.add(checkbox, "wrap"); //// Shape parameter: @@ -165,6 +166,7 @@ public class TransitionConfig extends RocketComponentConfig { final JCheckBox thicknessCheckbox = new JCheckBox(new BooleanModel(component, "Filled")); //// Filled thicknessCheckbox.setText(trans.get("TransitionCfg.checkbox.Filled")); + thicknessCheckbox.setToolTipText(trans.get("TransitionCfg.checkbox.Filled.ttip")); panel.add(thicknessCheckbox, "skip, span 2, wrap"); }