Component tfWording = ComponentsFactory.createWrappedMultilineLabel(
Strings.message("userprefs.tab.twitter.wording"));
JCheckBox chEnabled = ComponentsFactory.createCheckBox(
Strings.message("userprefs.tab.twitter.enable"),
new ToggleButtonAdapter(new BufferedValueModel(
new PropertyAdapter(prefs, TwitterPreferences.PROP_ENABLED),
trigger)));
JCheckBox chProfilePics = ComponentsFactory.createCheckBox(
Strings.message("userprefs.tab.twitter.profile.pics"),
new ToggleButtonAdapter(new BufferedValueModel(
new PropertyAdapter(prefs, TwitterPreferences.PROP_PROFILE_PICS),
trigger)));
JCheckBox chPasteLink = ComponentsFactory.createCheckBox(
Strings.message("userprefs.tab.twitter.paste.link"),
new ToggleButtonAdapter(new BufferedValueModel(
new PropertyAdapter(prefs, TwitterPreferences.PROP_PASTE_LINK),
trigger)));
JLabel lbScreenName = new JLabel(Strings.message("userprefs.tab.twitter.screenname"));
JLabel lbPassword = new JLabel(Strings.message("userprefs.tab.twitter.password"));