Thursday, February 12, 2009

If I wanted to use a SolarisUI for just a JTabbedPane, and the Metal UI for everything else, how would I do that

Question :If I wanted to use a SolarisUI for just a JTabbedPane, and the Metal UI for everything else, how would I do that?
Answer :in the UIDefaults table, override the entry for tabbed pane and put in the SolarisUI delegate. (I don’t know it offhand, but I think it’s "com.sun.ui.motiflookandfeel.MotifTabbedPaneUI" - anything simiar is a good answer.)

No comments: