g.gridy = 1;
g.insets = bottom_right_margin;
NumberFormat nf = NumberFormat.getNumberInstance();
nf.setMaximumFractionDigits(1);
fix_time = new DecimalField(0.0, 4, nf);
setTextFieldMinSize(fix_time);
fix_time.setToolTipText(resources.getString("Fix_Time_Tooltip"));
defectTimerButton = new StartStopButtons();
c = BoxUtils.hbox(fix_time, 1, defectTimerButton.stopButton, 1,
defectTimerButton.startButton);
g.fill = GridBagConstraints.VERTICAL;
g.anchor = GridBagConstraints.NORTHWEST;
g.gridx = 0; fixLayout.setConstraints(c, g);
fixPanel.add(c);
fix_time.getDocument().addDocumentListener(this);
nf = NumberFormat.getIntegerInstance();
fix_count = new DecimalField(1, 4, nf);
setTextFieldMinSize(fix_count);
fix_count.setToolTipText(resources.getString("Fix_Count_Tooltip"));
g.gridx = 1; fixLayout.setConstraints(fix_count, g);
fixPanel.add(fix_count);
fix_count.getDocument().addDocumentListener(this);