Boa Noite Pessoal,
Peguei um exemplo de splash Screen pra implementar e estou com o seguinte problema no método splashText. O original cria um retângulo que é preenchido com a cor de fundo toda vez que precisa mudar o texto.Eu fiz uma imagem de fundo com ele e gostaria de apagar somente o texto. Tentei utilizar um layer alpha pra isso mas ainda não estou conseguindo. Alguma luz?
public static void splashText(String str)
{
if (mySplash != null && mySplash.isVisible())
{ // important to check here so no other methods need to know if there
// really is a Splash being displayed
// erase the last status text
//splashGraphics.setComposite(AlphaComposite.Clear);
//splashGraphics.setPaint(Color.YELLOW);
//splashGraphics.fill(splashTextArea);
// draw the text
splashGraphics.setPaint(Color.BLACK);
splashGraphics.drawString(str, (int)(splashTextArea.getX() + 10),(int)(splashTextArea.getY() + 15));
// make sure it's displayed
mySplash.update();
}
}