button.addActionListener(new UpdateHelpActionHandler());
}
Font font = title_.getFont().deriveFont(Font.PLAIN, size);
LComponent using;
if (checkbox) {
cbox = new LSpecialCheckBox(title, font, color, this);
cbox.setOffset(5);
cbox.tie(setting, save, help, false);
cbox.setFocusable(false);
using = cbox;
add(cbox);
} else {
titleLabel = new LLabel(title, font, color);
using = titleLabel;
add(titleLabel);
}
button.setLocation(using.getWidth() + spacing, using.getHeight() / 2 - button.getHeight() / 2);
add(button);
setLocation(location.x - button.getWidth() - using.getWidth() - spacing, location.y);
setSize(using.getWidth() + button.getWidth() + spacing, using.getHeight());
if (button.getY() < 0) {
button.setLocation(button.getX(), 0);
setSize(getWidth(), button.getHeight());
using.setLocation(using.getX(), button.getHeight() / 2 - using.getHeight() / 2);
}
}