XP L&F !!?

Hi guys..
I'm new to Java, and I want to use XP L&F for my calculator application so it looks XP style. Could you help please?

try this ...
     private UIManager.LookAndFeelInfo look[ ]; // lookandfeel array
     private void changeLookAndFeel()
               int i = 2; // type of look n feel in this case "windows"
               try {
                    look = UIManager.getInstalledLookAndFeels();
                    UIManager.setLookAndFeel(look.getClassName());
                    SwingUtilities.updateComponentTreeUI(this);
               catch (Exception e){
                    e.printStackTrace();
after put in your initialize ( frame ) something like this ..
initialize() // I call this method into constructor of JFrame
this.changeLookandFeel();
good luck

Similar Messages

Maybe you are looking for

  • Will an iWeb gallery work on a non-mobile me server?

    I've been using MobileMe's free trial working out a website for my dad's artwork and am close to the end of the trial. I had planned on just going to GoDaddy as I could find no justifiable use of the other features of MMe for myself. Q. Will the iWeb

  • Question Update 1.01.14 What is this?

    I have a slate Pro 8, Happy with the Tablet, not Happy with HP's Turtle crawl stance on getting updates. This will be my last HP product as my son is running Lolipop on his galaxy tablet. Not acceptable.  I also have a Laptop that was bought for us r

  • How to create objects to paint itselfs without specifiy the location

    How to create objects to paint itselfs without specifiy the location using Java 2D

  • Conference call on Iphone

    I don't understand how to combine 2 calls for a conference call. I tried the Merge Call button (from memory, I think that is what it is called), and all it did was put one on hold and connect me to the other person, back and forth, it would not combi

  • Compliance Calibrator for multiple SAP systems

    I was wondering if anyone could assist me with my query.  We are currently performing an implementation of Virsa CC for a client and have begun to configure a CC DEV system they have installed with their custom SoD rule set.  The DEV CC system (sitti