package com.seaglasslookandfeel.demo;

import java.awt.FlowLayout;

import javax.swing.JButton;
import javax.swing.JFrame;
import javax.swing.SwingUtilities;

/**
 * Test frame rendering and also Chinese characters. I wonder what they mean?
 */
public class TestFrame extends JFrame {

    /**
     * Creates a new TestFrame object.
     */
    public TestFrame() {
        super("TestFrame");
        setTitle("简单例子");

        setLayout(new FlowLayout(FlowLayout.CENTER));
        add(new JButton("简单例子"));

        setSize(400, 300);
        setLocationRelativeTo(null);
        setDefaultCloseOperation(JFrame.DISPOSE_ON_CLOSE);
    }

    /**
     * Main method.
     *
     * @param args Command line args.
     */
    public static void main(String[] args) {
        SwingUtilities.invokeLater(new Runnable() {
                public void run() {
                    new TestFrame().setVisible(true);
                }
            });
    }

}

@@ -150,16 +150,46 @@
 ilities;
+%0Aimport javax.swing.UIManager;
 %0A%0A/**%0A *
@@ -785,24 +785,249 @@
 g%5B%5D args) %7B%0A
+        if (true) %7B%0A            try %7B%0A                UIManager.setLookAndFeel(%22com.seaglasslookandfeel.SeaGlassLookAndFeel%22);%0A            %7D catch (Exception e) %7B%0A                e.printStackTrace();%0A            %7D%0A        %7D%0A%0A
         Swin

Use Sea Glass.