Changed burn panel titles
authorBill Kuker <bkuker@billkuker.com>
Sun, 30 Aug 2009 19:55:09 +0000 (19:55 +0000)
committerBill Kuker <bkuker@billkuker.com>
Sun, 30 Aug 2009 19:55:09 +0000 (19:55 +0000)
.project
src/com/billkuker/rocketry/motorsim/visual/workbench/MotorWorkbench.java
src/com/billkuker/rocketry/motorsim/visual/workbench/MultiBurnChart.java

index 311ced974ae48dd6fef48d72cc97c9b8e34617ad..9e6c56f40c8fb97963f373c72bf9c54481bab97c 100644 (file)
--- a/.project
+++ b/.project
                        <arguments>
                        </arguments>
                </buildCommand>
+               <buildCommand>
+                       <name>net.sourceforge.metrics.builder</name>
+                       <arguments>
+                       </arguments>
+               </buildCommand>
        </buildSpec>
        <natures>
                <nature>org.eclipse.ajdt.ui.ajnature</nature>
                <nature>org.eclipse.jdt.core.javanature</nature>
+               <nature>net.sourceforge.metrics.nature</nature>
        </natures>
 </projectDescription>
index f1f0f20c947d2f61d5c55cfc1ce17b81cad0bf03..4f5480eda364dd7a34e56d9fc744e05742260bac 100644 (file)
@@ -56,6 +56,7 @@ public class MotorWorkbench extends JFrame implements TreeSelectionListener {
                \r
                mb = new MultiBurnChart();\r
                allBurns = new JFrame();\r
+               allBurns.setTitle("All Burns");\r
                allBurns.setSize(800, 600);\r
                setDefaultCloseOperation(WindowConstants.HIDE_ON_CLOSE);\r
                allBurns.add(mb);\r
index 365a8d677a1ceaa9673a1db80eaee2edb4bb2504..554d74b614208ee6f2cc2cb51268b32fe0d752fd 100644 (file)
@@ -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