1420 topMargin = new JFormattedTextField(nf); |
1420 topMargin = new JFormattedTextField(nf); |
1421 topMargin.addFocusListener(this); |
1421 topMargin.addFocusListener(this); |
1422 topMargin.addActionListener(this); |
1422 topMargin.addActionListener(this); |
1423 topMargin.getAccessibleContext().setAccessibleName( |
1423 topMargin.getAccessibleContext().setAccessibleName( |
1424 getMsg("label.topmargin")); |
1424 getMsg("label.topmargin")); |
1425 topMargin = new JFormattedTextField(nf); |
1425 |
1426 bottomMargin = new JFormattedTextField(nf); |
1426 bottomMargin = new JFormattedTextField(nf); |
1427 bottomMargin.addFocusListener(this); |
1427 bottomMargin.addFocusListener(this); |
1428 bottomMargin.addActionListener(this); |
1428 bottomMargin.addActionListener(this); |
1429 bottomMargin.getAccessibleContext().setAccessibleName( |
1429 bottomMargin.getAccessibleContext().setAccessibleName( |
1430 getMsg("label.bottommargin")); |
1430 getMsg("label.bottommargin")); |
1431 topMargin = new JFormattedTextField(nf); |
1431 |
1432 c.gridwidth = GridBagConstraints.RELATIVE; |
1432 c.gridwidth = GridBagConstraints.RELATIVE; |
1433 lblLeft = new JLabel(getMsg("label.leftmargin") + " " + unitsMsg, |
1433 lblLeft = new JLabel(getMsg("label.leftmargin") + " " + unitsMsg, |
1434 JLabel.LEADING); |
1434 JLabel.LEADING); |
1435 lblLeft.setDisplayedMnemonic(getMnemonic("label.leftmargin")); |
1435 lblLeft.setDisplayedMnemonic(getMnemonic("label.leftmargin")); |
1436 lblLeft.setLabelFor(leftMargin); |
1436 lblLeft.setLabelFor(leftMargin); |