Voce deve ter uma tela onde o usuário vai digitar o login e senha. Ao clicar
no botão ok, essa informação deve ser validade. Depois de validada cria a
janela nova. Nessa parte de criar voce pode ter um atributo dentro do seu
objeto que guarda o usuário corrente e então, na hora de criar voce passa
esse login ou via construtor ou via metodo.


Abs
--
Felipe Costa
Undergraduating in Computer Science at UFRJ
Black belt <http://www.blackbeltfactory.com/ui#User/fcosta> on
JavaBlackBelt  <http://www.blackbeltfactory.com/ui#User/fcosta>



On Sun, Jul 25, 2010 at 10:39 PM, Romulo Freires
<[email protected]>wrote:

> pode dar um exemplo felipe?
>
> vlw cara
>
>
> 2010/7/25 Felipe Costa <[email protected]>
>
>> Voce pode passar um parametro na hora de criar a outra tela, o login no
>> caso.
>>
>>
>> Abs
>> --
>> Felipe Costa
>> Undergraduating in Computer Science at UFRJ
>> Black belt <http://www.blackbeltfactory.com/ui#User/fcosta> on
>> JavaBlackBelt  <http://www.blackbeltfactory.com/ui#User/fcosta>
>>
>>
>>
>> On Sun, Jul 25, 2010 at 9:47 PM, João Lucas Nery Dantas <[email protected]
>> > wrote:
>>
>>> Desktop!
>>>
>>> 2010/7/25 Felipe Costa <[email protected]>
>>>
>>>  No projeto desktop ou web?
>>>>
>>>> Abs
>>>> --
>>>> Felipe Costa
>>>> Undergraduating in Computer Science at UFRJ
>>>> Black belt <http://www.blackbeltfactory.com/ui#User/fcosta> on
>>>> JavaBlackBelt  <http://www.blackbeltfactory.com/ui#User/fcosta>
>>>>
>>>>
>>>>
>>>> 2010/7/25 Romulo Freires <[email protected]>
>>>>
>>>> Estou com uma duvida,
>>>>>
>>>>> Eu criei uma tela para login e nao estou sabendo como faco para guardar
>>>>> quem fez o login no sistema. Isso será necessário para saber quem fez a
>>>>> aposta e também mostrar os pontos referentes aquele login.
>>>>>
>>>>> Em outras palavras eu quero guardar um valor de um textfield de uma
>>>>> tela para outra.
>>>>>
>>>>> --
>>>>> 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]<comp2-geral%[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]<comp2-geral%[email protected]>
>>>> .
>>>> For more options, visit this group at
>>>> http://groups.google.com/group/comp2-geral?hl=en.
>>>>
>>>
>>>
>>>
>>> --
>>> João Lucas Nery Dantas
>>> Tel: 8885-0596
>>>
>>>  --
>>> 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]<comp2-geral%[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]<comp2-geral%[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]<comp2-geral%[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