Ola Blenner,

Experimente usar a exceção NumberFormatException (veja na API do
Java<http://download.oracle.com/javase/1,5.0/docs/api/>
).

Abraços

--
Leonardo Borba

Contato <http://www.meadiciona.com/leonardoborba>




Em 14 de julho de 2011 18:44, Blenner Vinicius <[email protected]>escreveu:

> ai no meu trabalho o campo idade ta aceitando letras tbm como faço pra ele
> so aceitar numeros
>
>
> 2011/7/13 Lucian Sturião <[email protected]>
>
>> Mas aí dá pra adicionar coisas em cima do Panel criado a partir disso?
>> Usei esse código e tudo que foi adicionado no painel sumiu, só fica
>> aparecendo a imagem.
>>
>> 2011/7/13 erick najjar <[email protected]>
>>
>>> http://www.java2s.com/Code/Java/Swing-JFC/Panelwithbackgroundimage.htm
>>>
>>> acho q isso resolve todos os seus problemas
>>>
>>>  --
>>> 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.
>>
>
>  --
> 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