Oi pessoal eu estava tentado colocar um splash no jFram mas não esta dando certo
Qual é o erro nos codigos abaixo?
até mais…
public class principal extends javax.swing.JFrame {
HiloProgreso hilo;
public principal() {
initComponents();
iniciarSplash();
hilo=new HiloProgreso(progreso);
hilo.start();
this.setLocation(250,300);
this.setSize(250,300);
hilo=null;
}
public void iniciarSplash(){
getProgreso().setBorderPaited(true);
getProgreso().setForeground(new Color(50,50,153,100));
getProgreso().setStringPaited(true);
}