@Override
    public void paintScreen(){
        Graphics g;
        try{
            g = panel.getGraphics();
            if(g != null && dbImage != null){
                g.drawImage(dbImage, 0, 0, pWidth * StatePanel.SCALE, pHeight * StatePanel.SCALE, null);
            }
            if(g != null)
                g.dispose();
        }catch(Exception e){
            logger.log(Level.SEVERE,"Graphics exception {0}",e);
        }
    }