public static void createUI() {
        JFrame f = new JFrame("Wallpaper");

        JPanel panel = createPanel();
        //LayerUI<JComponent> layerUI = new WallpaperLayerUI();
        //LayerUI<JComponent> layerUI = new BlurLayerUI();
        //LayerUI<JPanel> layerUI = new SpotlightLayerUI();
        final WaitLayerUI layerUI = new WaitLayerUI();
        JLayer<?> jlayer = new JLayer<JPanel>(panel, layerUI);

        final Timer stopper = new Timer(4000, new ActionListener() {
            public void actionPerformed(ActionEvent ae) {
                layerUI.stop();
            }
        });
        stopper.setRepeats(false);

        JButton mOrderButton = null;
        for(Component c :panel.getComponents()){
            if(c instanceof JButton){
                mOrderButton = (JButton) c;
            }

        }
        mOrderButton.addActionListener(
                new ActionListener() {
                    public void actionPerformed(ActionEvent ae) {
                        layerUI.start();
                        if (!stopper.isRunning()) {
                            stopper.start();
                        }
                    }
                }
        );


        f.add (jlayer);

        f.setSize(300, 200);
        f.setDefaultCloseOperation (JFrame.EXIT_ON_CLOSE);
        f.setLocationRelativeTo (null);
        f.setVisible (true);
    }