In setting-default-background-color usage,
changing texture is completely ignored.
The reason is that image cache is not flushed in
setTextureURL(URL) method.
public void setTextureURL(URL url)
{
if (!isTexture() || url == null)
return;
m_textureURL = url;
m_dirty = true;
m_image = null; // You should also do this
} // setTextureURL
Fixing this way makes getTextureImage() method works well.
Really nice Look and Feel, I like it!
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
In setting-default-background-color usage,
changing texture is completely ignored.
The reason is that image cache is not flushed in
setTextureURL(URL) method.
public void setTextureURL(URL url)
{
if (!isTexture() || url == null)
return;
m_textureURL = url;
m_dirty = true;
m_image = null; // You should also do this
} // setTextureURL
Fixing this way makes getTextureImage() method works well.
Really nice Look and Feel, I like it!
Thanks !
I updated CVS!