From: Bill Kuker Date: Sun, 30 Aug 2009 19:55:09 +0000 (+0000) Subject: Changed burn panel titles X-Git-Url: https://git.gag.com/?a=commitdiff_plain;h=2a5c8cdef227f158e3e553b97d2ec353e3e126f9;p=sw%2Fmotorsim Changed burn panel titles --- diff --git a/.project b/.project index 311ced9..9e6c56f 100644 --- a/.project +++ b/.project @@ -10,9 +10,15 @@ + + net.sourceforge.metrics.builder + + + org.eclipse.ajdt.ui.ajnature org.eclipse.jdt.core.javanature + net.sourceforge.metrics.nature diff --git a/src/com/billkuker/rocketry/motorsim/visual/workbench/MotorWorkbench.java b/src/com/billkuker/rocketry/motorsim/visual/workbench/MotorWorkbench.java index f1f0f20..4f5480e 100644 --- a/src/com/billkuker/rocketry/motorsim/visual/workbench/MotorWorkbench.java +++ b/src/com/billkuker/rocketry/motorsim/visual/workbench/MotorWorkbench.java @@ -56,6 +56,7 @@ public class MotorWorkbench extends JFrame implements TreeSelectionListener { mb = new MultiBurnChart(); allBurns = new JFrame(); + allBurns.setTitle("All Burns"); allBurns.setSize(800, 600); setDefaultCloseOperation(WindowConstants.HIDE_ON_CLOSE); allBurns.add(mb); diff --git a/src/com/billkuker/rocketry/motorsim/visual/workbench/MultiBurnChart.java b/src/com/billkuker/rocketry/motorsim/visual/workbench/MultiBurnChart.java index 365a8d6..554d74b 100644 --- a/src/com/billkuker/rocketry/motorsim/visual/workbench/MultiBurnChart.java +++ b/src/com/billkuker/rocketry/motorsim/visual/workbench/MultiBurnChart.java @@ -42,7 +42,7 @@ public class MultiBurnChart extends JPanel implements BurnWatcher { force = RocketScience.UnitPreference.preference .getPreferredUnit(SI.NEWTON); JFreeChart chart = ChartFactory.createXYLineChart( - "Burns", // Title + "", // Title time.toString(), // x-axis Label force.toString(), // y-axis Label dataset, PlotOrientation.VERTICAL, // Plot Orientation