super(name);
themes = themeArray;
ButtonGroup group = new ButtonGroup();
for (int i = 0; i < themes.length; i++) {
JRadioButtonMenuItem item = new JRadioButtonMenuItem( themes[i].getName() );
group.add(item);
add( item );
item.setActionCommand(i+"");
item.addActionListener(this);
if ( i == 0)
item.setSelected(true);
}