]> git.gag.com Git - debian/openrocket/blobdiff - core/src/net/sf/openrocket/gui/dialogs/motor/thrustcurve/ThrustCurveMotorSelectionPanel.java
create changelog entry
[debian/openrocket] / core / src / net / sf / openrocket / gui / dialogs / motor / thrustcurve / ThrustCurveMotorSelectionPanel.java
index 2600cff380ab809f33077da41f7e3bfc09080c7e..7deaaa8f1e5e7e5922e98c74cf1e18f237f98b9c 100644 (file)
@@ -763,7 +763,7 @@ public class ThrustCurveMotorSelectionPanel extends JPanel implements MotorSelec
                s = s.trim();
                if (s.length() == 0) {
                        //// No description available.
-                       comment.setText("No description available.");
+                       comment.setText(trans.get("TCMotorSelPan.noDescription"));
                        comment.setFont(noCommentFont);
                        comment.setForeground(NO_COMMENT_COLOR);
                } else {
@@ -777,7 +777,7 @@ public class ThrustCurveMotorSelectionPanel extends JPanel implements MotorSelec
        private void scrollSelectionVisible() {
                if (selectedMotorSet != null) {
                        int index = table.convertRowIndexToView(model.getIndex(selectedMotorSet));
-                       System.out.println("index=" + index);
+                       //System.out.println("index=" + index);
                        table.getSelectionModel().setSelectionInterval(index, index);
                        Rectangle rect = table.getCellRect(index, 0, true);
                        rect = new Rectangle(rect.x, rect.y - 100, rect.width, rect.height + 200);