Please help me use this LookAndFeel in java.
I have downloaded quauqa-5.4.1.zip
I tried the following, but it's giving me exception in thread:-
package ch.randelshofer.quaqua;
class Account extends JFrame
{
@SuppressWarnings("unchecked")
public static void main (String [] fisd)
{
Account acc=new Account();
acc.setVisible(true);
acc.setSize(900,600);
java.awt.EventQueue.invokeLater(new Runnable()
{
public void run() {
new Account().setVisible(true);
try {
System.setProperty(
"Quaqua.tabLayoutPolicy","wrap"
);
UIManager.setLookAndFeel("ch.randelshofer.quaqua.QuaquaLookAndFeel");
}
catch (Exception e)
{
System.err.println("Oops! Something went wrong!");
}
}
});
}
}