state = ImViewer.READY;
    void setImage(BufferedImage image)    {        browser.setRenderedImage(image);        //update image icon        computeSizes();        imageIcon = magnifyImage(factor, image);        state = ImViewer.READY;     }