Look and Feel in the Designer
I mean what's the point of using the look and feel only in
Well, it looks neat, dunnit? They have used the same L&F in both C++BuilderX
and JBuilder X. Look at it this way, you can't use the L&F of M$ Outlook in
your own apps either, now can you? (Hmmm... bad example)
Besides, you can hack it:
import com.borland.primetime.*;
import com.borland.plaf.borland.*;
import javax.swing.UIManager;
public static void main(String[] args)
{
try
{
BorlandLookAndFeel borland = new BorlandLookAndFeel();
borland.setCurrentTheme(new BorlandTheme());
UIManager.setLookAndFeel("com.borland.plaf.borland .BorlandLookAndFeel");
}
catch(Exception e)
{
e.printStackTrace();
}
|