Ver código fonte

new JTextField() -> new JTextField(6) eZ 2h

Ludwig Tietze 7 anos atrás
pai
commit
e218fcaff2
1 arquivos alterados com 1 adições e 1 exclusões
  1. 1 1
      src/ui/view/GUI.java

+ 1 - 1
src/ui/view/GUI.java

@@ -211,7 +211,7 @@ public class GUI implements CategoryListener {
 	private final HolonCanvas holonCanvas;
 	private final UnitGraph unitGraph;
 	/** Textfield to show the period of an element */
-	private final JTextField unitGraphLocalPeriod = new JTextField();
+	private final JTextField unitGraphLocalPeriod = new JTextField(6);
 	private final JCheckBox unitGraphStretchMode=new JCheckBox();
 	private final JLabel unitGraphStretchModeLbl=new JLabel("  Use global:  ");//Some padding
 	private final JSplitPane splitPane3 = new JSplitPane();