hid toolbar
authorBill Kuker <bkuker@billkuker.com>
Tue, 8 Sep 2009 21:00:08 +0000 (21:00 +0000)
committerBill Kuker <bkuker@billkuker.com>
Tue, 8 Sep 2009 21:00:08 +0000 (21:00 +0000)
src/com/billkuker/rocketry/motorsim/visual/Editor.java

index 3bd194178ee9df029b069da684965edb225d837a..a47e199e244a42217e3f8e149f7efd2744653015 100644 (file)
@@ -1,6 +1,7 @@
 package com.billkuker.rocketry.motorsim.visual;\r
 \r
 import java.awt.Component;\r
+import java.awt.Dimension;\r
 import java.beans.IntrospectionException;\r
 import java.beans.Introspector;\r
 import java.beans.PropertyChangeEvent;\r
@@ -40,6 +41,9 @@ public class Editor extends PropertySheetPanel {
                PropertyEditorManager.registerEditor(Amount.class,\r
                                AmountPropertyEditor.class);\r
                \r
+               setToolBarVisible(false);\r
+               setMinimumSize(new Dimension(150,200));\r
+               \r
                getRendererRegistry().registerRenderer(Amount.class, AmountRenderer.class);\r
 \r
                // Build the list of properties we want it to edit\r