drawComponent não funciona. Eu tinha tentando charmar paintComponent (antes
e depois de drawGraphics), mas não funcionou. Chamando antes não acontece
nada (porque a imagem é desenhada depois), e chamando depois a tela fica
"limpa", como se não tivesse nada lá.

2011/7/13 erick najjar <[email protected]>

> tentem chamar a super dentro da função sobreescrita
>
> public void paintComponent(Graphics g){
>        super.drawComponent(g);
>
>      . . .
>
> }
>
>
>
>
>  --
> You received this message because you are subscribed to the Google Groups
> "Comp 2 - Geral" group.
> To post to this group, send email to [email protected].
> To unsubscribe from this group, send email to
> [email protected].
> For more options, visit this group at
> http://groups.google.com/group/comp2-geral?hl=en.
>

-- 
You received this message because you are subscribed to the Google Groups "Comp 
2 - Geral" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/comp2-geral?hl=en.

Responder a