String currentLaF = UIManager.getLookAndFeel().getName();
UIManager.LookAndFeelInfo[] lafInfo = UIManager.getInstalledLookAndFeels();
for (UIManager.LookAndFeelInfo aLafInfo : lafInfo) {
JMenuItem menuItem = new LookAndFeelMenuItem(myDoggySetContext, aLafInfo.getName(), aLafInfo.getClassName());
lafMenu.add(menuItem);
if (currentLaF.equals(aLafInfo.getName()))
menuItem.setSelected(true);
}
menuBar.add(fileMenu);
menuBar.add(contentMenu);
menuBar.add(lafMenu);