slider.addAdjustmentListener(this);
slider.addMouseListener(this);
owner = (af != null) ? af : fs.frame;
- frame = new JVDialog(owner, MessageManager.formatMessage(
- "label.variable_color_for", new String[] { type }), true, 480,
- 248);
+ frame = new JVDialog(owner, MessageManager
+ .formatMessage("label.variable_color_for", new String[]
+ { type }), true, 480, 248);
frame.setMainPanel(this);
validate();
frame.setVisible(true);
{
try
{
- float f = new Float(thresholdValue.getText()).floatValue();
+ float f = Float.valueOf(thresholdValue.getText()).floatValue();
slider.setValue((int) (f * SCALE_FACTOR_1K));
adjustmentValueChanged(null);