void (JCheckBox checkBox, Presentation presentation) { checkBox.setText(presentation.getText(true)); checkBox.setToolTipText(presentation.getDescription()); checkBox.setMnemonic(presentation.getMnemonic()); checkBox.setDisplayedMnemonicIndex(presentation.getDisplayedMnemonicIndex()); checkBox.setEnabled(presentation.isEnabled()); checkBox.setVisible(presentation.isVisible()); }