Paint p = (Paint)thumbnailColorMap.get(t);
Paint p = (Paint)thumbnailColorMap.get(t.getModel());
            public void paint(Graphics2D g, Thumbnail t)            {                Rectangle2D region = t.getBounds().getBounds2D();                if(thumbnailColorMap.containsKey(t.getModel()))                {                    Paint p = (Paint)thumbnailColorMap.get(t);                    if(p != null)                    {                        g.setPaint(p);                        g.fill(region);                    }                }                else                {                    setupMethod(t.getModel()); // TODO: change to t, show variance                    Paint p = (Paint)thumbnailColorMap.get(t.getModel());                    if(p != null)                    {                        g.setPaint(p);                        g.fill(region);                    }                }            }