public void setCustomLayer ( final BufferedImage CUSTOM_LAYER ) { if ( customLayer != null ) { customLayer . flush ( ) ; } customLayer = CUSTOM_LAYER ; fireStateChanged ( ) ; }
Sets the given buffered image as the custom layer of the gauge