If I wanted to use a solarisui for just a jtabbedpane, and the metal ui for everything else, how would I do that?



If I wanted to use a solarisui for just a jtabbedpane, and the metal ui for everything else, how wou..

Answer / Mudit Kumar Saxena

To use SolarisUI for a JTabbedPane while keeping the Metal UI for other components in Java Swing, you can create a custom LookAndFeel (LAF) that extends MetalLookAndFeel and overrides the getComponentUI method for JTabbedPane to return a new instance of your custom SolarisUITabbedPaneUI. This allows you to swap out the UI for just the JTabbedPane component.

Is This Answer Correct ?    0 Yes 0 No

Post New Answer

More Advanced Java Interview Questions

how to create Calculator GUI using Gridbaglayout as like as Window Calculator??????????? (Open calculator Go-->Run-->type calc-->Enter)

1 Answers   TCS,


What are the different algorithms used for clustering?

1 Answers  


how can u cal servlet from java?

7 Answers  


What is difference RMI registry and OSAgent?

1 Answers  


What do you know about seam?

1 Answers  


What are the steps involved in developing an RMI object?

1 Answers  


What is J2EE?

2 Answers  


What is the purpose of the notify() method?

1 Answers  


What is Servlet Filter And What does it work?

1 Answers   TCS,


What is permgen or permanent generation?

1 Answers  


Difference between DurableSubscription and non- DurableSubscription?

1 Answers  


what is activation monitor and what is its job?

1 Answers  


Categories