private void create(int[] init, Color bg, String fieldTitle) {
        setPreferredSize(new Dimension(GUIConstants.DEFAULT_FIELD_WIDTH, FIELDHEIGHT));
        setBackground(bg);
        setBorder(BorderFactory.createTitledBorder(fieldTitle));
        setLayout(new VerticalLayout(0, VerticalLayout.CENTER));
        setToolTipText(Field.strBorderTooltip);

        JPanel panel = new JPanel();
        panel.setBackground(bg);
        this.add(panel);

        final JTextField left = new JTextField();
        left.setColumns(NUMBERLENGTH + 1);
        left.setToolTipText(Field.strBorderTooltip);
        panel.add(left);

        final JTextField top = new JTextField();
        top.setColumns(NUMBERLENGTH + 1);
        top.setToolTipText(Field.strBorderTooltip);
        panel.add(top);

        final JTextField right = new JTextField();
        right.setColumns(NUMBERLENGTH + 1);
        right.setToolTipText(Field.strBorderTooltip);
        panel.add(right);

        final JTextField bottom = new JTextField();
        bottom.setColumns(NUMBERLENGTH + 1);
        bottom.setToolTipText(Field.strBorderTooltip);
        panel.add(bottom);

        if (init != null) {
            left.setText(init[0] + "");
            top.setText(init[1] + "");
            right.setText(init[2] + "");
            bottom.setText(init[3] + "");
        }

        left.addKeyListener(new KeyAdapter() {
            @Override
            public void keyReleased(KeyEvent e) {
                if (controlThicknessInput(left, NUMBERLENGTH, false)) {
                    leftFieldOnKeyReleased(left.getText());
                }
            }
        });

        top.addKeyListener(new KeyAdapter() {
            @Override
            public void keyReleased(KeyEvent e) {
                if (controlThicknessInput(top, NUMBERLENGTH, false)) {
                    topFieldOnKeyReleased(top.getText());
                }
            }
        });

        right.addKeyListener(new KeyAdapter() {
            @Override
            public void keyReleased(KeyEvent e) {
                if (controlThicknessInput(right, NUMBERLENGTH, false)) {
                    rightFieldOnKeyReleased(right.getText());
                }
            }
        });

        bottom.addKeyListener(new KeyAdapter() {
            @Override
            public void keyReleased(KeyEvent e) {
                if (controlThicknessInput(bottom, NUMBERLENGTH, false)) {
                    bottomFieldOnKeyReleased(bottom.getText());
                }
            }
        });

        JButton reset = new JButton(super.strReset);
        reset.setBackground(bg);
        this.add(reset);
        reset.addMouseListener(new MouseAdapter() {
            @Override
            public void mouseClicked(MouseEvent e) {
                int[] tmp = reset();
                if (tmp != null) {
                    left.setText(tmp[0] + "");
                    top.setText(tmp[1] + "");
                    right.setText(tmp[2] + "");
                    bottom.setText(tmp[3] + "");

                } else {
                    left.setText("");
                    top.setText("");
                    right.setText("");
                    bottom.setText("");
                }
            }
        });
    }