Oops. I did need to removeAll when setting up the summary contents, so that changing...
[sw/motorsim] / gui / com / billkuker / rocketry / motorsim / visual / SummaryPanel.java
index aa0e972cbe1333f785dc849b4a767276b920c79c..20176330abb4b535d36cd4b7036f15cc573cc3ad 100644 (file)
@@ -70,7 +70,7 @@ public class SummaryPanel extends JPanel implements Burn.BurnProgressListener, R
        private void setBurnSummary(final BurnSummary bi) {\r
                SwingUtilities.invokeLater(new Thread() {\r
                        public void run() {\r
-                               remove(bar);\r
+                               removeAll();\r
                                setLayout(new GridLayout(2, 5));\r
                                add(new JLabel("Rating"));\r
                                add(new JLabel("Total Impulse"));\r