Comment out a bunch of System.out.printlns.
This commit is contained in:
parent
357f370096
commit
0eed52de50
@ -90,8 +90,8 @@ public class StyledLabel extends JLabel {
|
||||
if (str.startsWith("<html>") && str.indexOf("<br") < 0) {
|
||||
StyledLabel label = new StyledLabel("plaintext", size, style);
|
||||
label.validate();
|
||||
System.out.println("Plain-text label: " + label.getPreferredSize());
|
||||
System.out.println("HTML label: " + this.getPreferredSize());
|
||||
//System.out.println("Plain-text label: " + label.getPreferredSize());
|
||||
//System.out.println("HTML label: " + this.getPreferredSize());
|
||||
}
|
||||
}
|
||||
|
||||
|
@ -407,13 +407,13 @@ public class ComponentAnalysisDialog extends JDialog implements ChangeListener {
|
||||
this.addWindowListener(new WindowAdapter() {
|
||||
@Override
|
||||
public void windowClosed(WindowEvent e) {
|
||||
System.out.println("Closing method called: " + this);
|
||||
//System.out.println("Closing method called: " + this);
|
||||
theta.removeChangeListener(ComponentAnalysisDialog.this);
|
||||
aoa.removeChangeListener(ComponentAnalysisDialog.this);
|
||||
mach.removeChangeListener(ComponentAnalysisDialog.this);
|
||||
roll.removeChangeListener(ComponentAnalysisDialog.this);
|
||||
configuration.removeChangeListener(ComponentAnalysisDialog.this);
|
||||
System.out.println("SETTING NAN VALUES");
|
||||
//System.out.println("SETTING NAN VALUES");
|
||||
rocketPanel.setCPAOA(Double.NaN);
|
||||
rocketPanel.setCPTheta(Double.NaN);
|
||||
rocketPanel.setCPMach(Double.NaN);
|
||||
|
@ -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);
|
||||
|
@ -126,7 +126,7 @@ public class SimulationEditDialog extends JDialog {
|
||||
String name = field.getText();
|
||||
if (name == null || name.equals(""))
|
||||
return;
|
||||
System.out.println("Setting name:" + name);
|
||||
//System.out.println("Setting name:" + name);
|
||||
simulation.setName(name);
|
||||
|
||||
}
|
||||
|
@ -358,7 +358,7 @@ public class PlotConfiguration implements Cloneable {
|
||||
*/
|
||||
public PlotConfiguration fillAutoAxes(FlightDataBranch data) {
|
||||
PlotConfiguration config = recursiveFillAutoAxes(data).getU();
|
||||
System.out.println("BEST FOUND, fitting");
|
||||
//System.out.println("BEST FOUND, fitting");
|
||||
config.fitAxes(data);
|
||||
return config;
|
||||
}
|
||||
@ -483,13 +483,13 @@ public class PlotConfiguration implements Cloneable {
|
||||
double scale = Math.max(left.getRangeLength(), right.getRangeLength()) /
|
||||
Math.min(left.getRangeLength(), right.getRangeLength());
|
||||
|
||||
System.out.println("Scale: " + scale);
|
||||
//System.out.println("Scale: " + scale);
|
||||
|
||||
scale = roundScale(scale);
|
||||
if (right.getRangeLength() > left.getRangeLength()) {
|
||||
scale = 1 / scale;
|
||||
}
|
||||
System.out.println("Rounded scale: " + scale);
|
||||
//System.out.println("Rounded scale: " + scale);
|
||||
|
||||
// Scale right axis, enlarge axes if necessary and scale back
|
||||
min2 *= scale;
|
||||
|
@ -115,7 +115,7 @@ public class SimulationPlotDialog extends JDialog {
|
||||
|
||||
is = ClassLoader.getSystemResourceAsStream(file);
|
||||
if (is == null) {
|
||||
System.out.println("ERROR: File " + file + " not found!");
|
||||
//System.out.println("ERROR: File " + file + " not found!");
|
||||
return;
|
||||
}
|
||||
|
||||
|
@ -235,8 +235,8 @@ public class FinPointFigure extends AbstractScaleFigure {
|
||||
double y0 = p.y / EXTRA_SCALE;
|
||||
double delta = BOX_SIZE / scale;
|
||||
|
||||
System.out.println("Point: " + x0 + "," + y0);
|
||||
System.out.println("delta: " + (BOX_SIZE / scale));
|
||||
//System.out.println("Point: " + x0 + "," + y0);
|
||||
//System.out.println("delta: " + (BOX_SIZE / scale));
|
||||
|
||||
Coordinate[] points = finset.getFinPoints();
|
||||
for (int i = 1; i < points.length; i++) {
|
||||
@ -249,7 +249,7 @@ public class FinPointFigure extends AbstractScaleFigure {
|
||||
|
||||
double u = Math.abs((x2 - x1) * (y1 - y0) - (x1 - x0) * (y2 - y1)) /
|
||||
MathUtil.hypot(x2 - x1, y2 - y1);
|
||||
System.out.println("Distance of segment " + i + " is " + u);
|
||||
//System.out.println("Distance of segment " + i + " is " + u);
|
||||
if (u < delta)
|
||||
return i;
|
||||
}
|
||||
|
@ -356,7 +356,7 @@ public class GUIUtil {
|
||||
for (int row = 0; row < table.getRowCount(); row++) {
|
||||
for (int col = 0; col < columns; col++) {
|
||||
Object value = table.getValueAt(row, col);
|
||||
System.out.println("row=" + row + " col=" + col + " : " + value);
|
||||
//System.out.println("row=" + row + " col=" + col + " : " + value);
|
||||
widths[col] = Math.max(widths[col], value == null ? 0 : value.toString().length());
|
||||
}
|
||||
}
|
||||
|
@ -115,8 +115,7 @@ public class ExtendedISAModel extends InterpolatingAtmosphericModel {
|
||||
AtmosphericConditions diff = new AtmosphericConditions();
|
||||
diff.setPressure((cond2.getPressure() - cond1.getPressure()) / cond1.getPressure() * 100);
|
||||
diff.setTemperature((cond2.getTemperature() - cond1.getTemperature()) / cond1.getTemperature() * 100);
|
||||
System.out.println("alt=" + alt +
|
||||
": std:" + cond1 + " mod:" + cond2 + " diff:" + diff);
|
||||
//System.out.println("alt=" + alt + ": std:" + cond1 + " mod:" + cond2 + " diff:" + diff);
|
||||
}
|
||||
}
|
||||
|
||||
|
@ -258,7 +258,7 @@ public class FreeformFinSet extends FinSet {
|
||||
|
||||
if (index == 0) {
|
||||
|
||||
System.out.println("Set point zero to x:" + x);
|
||||
//System.out.println("Set point zero to x:" + x);
|
||||
for (int i = 1; i < points.size(); i++) {
|
||||
Coordinate c = points.get(i);
|
||||
points.set(i, c.setX(c.x - x));
|
||||
|
@ -467,7 +467,7 @@ public abstract class SymmetricComponent extends BodyComponent implements Radial
|
||||
final double l = length / DIVISIONS;
|
||||
|
||||
r1 = getRadius(0);
|
||||
System.out.println(r1);
|
||||
//System.out.println(r1);
|
||||
x = 0;
|
||||
|
||||
longitudinalInertia = 0;
|
||||
|
Loading…
x
Reference in New Issue
Block a user