public ImageEffectDialog(final String effect) {
super(new VerticalFieldManager());
// Create radio buttons for the image effect choices
_options = new RadioButtonGroup();
final RadioButtonField none =
new RadioButtonField("None", _options, effect == null);
final RadioButtonField greyscale =
new RadioButtonField("Greyscale", _options,
(effect != null && effect.equals("monochrome")));
final RadioButtonField sepia =
new RadioButtonField("Sepia", _options,
(effect != null && effect.equals("sepia")));
// Add fields to the dialog
add(new RichTextField("Choose Effect", Field.NON_FOCUSABLE));
add(new SeparatorField());