TinyWindowUI(TinyWindow window, BufferedImage image)
public TinyWindowUI(TinyWindow window, BufferedImage image)
    TinyWindowUI(TinyWindow window, BufferedImage image)    {        if (window == null) throw new NullPointerException("No window.");        this.window = window;        titleBar = new TitleBar(window.getTitle());        canvas = new ThumbnailCanvas(image);        makeBorders();        makeComponentsSize(image);        buildUI();    }