package net.sourceforge.javydreamercsw.validation.manager.web;

import com.vaadin.server.ThemeResource;
import com.vaadin.ui.Window;

/**
 *
 * @author Javier A. Ortiz Bultron <javier.ortiz.78@gmail.com>
 */
public class VMWindow extends Window {

    protected final ValidationManagerUI menu;
    private final ThemeResource small = new ThemeResource("VMSmall.png");

    public VMWindow() {
        super();
        menu = null;
        setIcon(small);
    }

    public VMWindow(String caption) {
        super(caption);
        menu = null;
        setIcon(small);
    }

    public VMWindow(ValidationManagerUI menu, String caption) {
        super(caption);
        this.menu = menu;
        setIcon(small);
    }

    public VMWindow(ValidationManagerUI menu) {
        super();
        this.menu = menu;
        setIcon(small);
    }
}

@@ -61,48 +61,8 @@
 b;%0A%0A
-import com.vaadin.server.ThemeResource;%0A
 impo
@@ -86,16 +86,16 @@
 Window;%0A
+
 %0A/**%0A *%0A
@@ -168,16 +168,22 @@
 %0Apublic 
+final 
 class VM
@@ -256,82 +256,8 @@
 enu;
-%0A    private final ThemeResource small = new ThemeResource(%22VMSmall.png%22);
 %0A%0A  
@@ -324,37 +324,66 @@
         setIcon(
-small
+ValidationManagerUI.SMALL_APP_ICON
 );%0A    %7D%0A%0A    pu
@@ -467,37 +467,66 @@
         setIcon(
-small
+ValidationManagerUI.SMALL_APP_ICON
 );%0A    %7D%0A%0A    pu
@@ -641,37 +641,66 @@
         setIcon(
-small
+ValidationManagerUI.SMALL_APP_ICON
 );%0A    %7D%0A%0A    pu
@@ -804,13 +804,42 @@
 con(
-small
+ValidationManagerUI.SMALL_APP_ICON
 );%0A 

Use common small icon.