Explorar o código

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

Ludwig Tietze %!s(int64=7) %!d(string=hai) anos
pai
achega
e218fcaff2
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  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();