| Update Window1 from Window2 [message #105831] | 
Thu, 08 September 2005 10:26   | 
 
Eclipse User  | 
 | 
 | 
   | 
 
Originally posted by: bp.maximuss.dk 
 
Hi NG 
 
I have a little problem. I have an application where i have a main window  
(win1) and a pop-up window (win2). My problem is that when i open win2 and  
do some stuff in it and hit the "ok" button, i need to have a List and a  
Tabel that i need to update with the new data that will be saved in my  
database when the "ok" button in win2 is pressed (win2 is then closed) 
 
If somebody have a little gui that i can look after or a good explanation  
on how to do it, i will preciate it very much 
 
Greetings from Denmark 
 
MaxiCom 
v/Bjarne Pedersen
 |  
 |  
  | 
| Re: Update Window1 from Window2 [message #105948 is a reply to message #105831] | 
Thu, 08 September 2005 16:59   | 
 
Eclipse User  | 
 | 
 | 
   | 
 
Originally posted by: eldzino.gmail.com 
 
hi Bjarne, 
 
make a class instance storing all the information that you wanna store 
in the DB and fill it in win2.. after hitting OK button in modal dialog 
pane, you can access the filled instance in win1 by some method like 
getReturnedInstance and in win1 write to DB... 
 
good luck 
 
Bjarne wrote: 
> Hi NG 
>  
> I have a little problem. I have an application where i have a main window  
> (win1) and a pop-up window (win2). My problem is that when i open win2 and  
> do some stuff in it and hit the "ok" button, i need to have a List and a  
> Tabel that i need to update with the new data that will be saved in my  
> database when the "ok" button in win2 is pressed (win2 is then closed) 
>  
> If somebody have a little gui that i can look after or a good explanation  
> on how to do it, i will preciate it very much 
>  
> Greetings from Denmark 
>  
> MaxiCom 
> v/Bjarne Pedersen
 |  
 |  
  | 
| Re: Update Window1 from Window2 [message #610718 is a reply to message #105831] | 
Thu, 08 September 2005 16:59   | 
 
Eclipse User  | 
 | 
 | 
   | 
 
Originally posted by: eldzino.gmail.com 
 
hi Bjarne, 
 
make a class instance storing all the information that you wanna store 
in the DB and fill it in win2.. after hitting OK button in modal dialog 
pane, you can access the filled instance in win1 by some method like 
getReturnedInstance and in win1 write to DB... 
 
good luck 
 
Bjarne wrote: 
> Hi NG 
>  
> I have a little problem. I have an application where i have a main window  
> (win1) and a pop-up window (win2). My problem is that when i open win2 and  
> do some stuff in it and hit the "ok" button, i need to have a List and a  
> Tabel that i need to update with the new data that will be saved in my  
> database when the "ok" button in win2 is pressed (win2 is then closed) 
>  
> If somebody have a little gui that i can look after or a good explanation  
> on how to do it, i will preciate it very much 
>  
> Greetings from Denmark 
>  
> MaxiCom 
> v/Bjarne Pedersen
 |  
 |  
  | 
Powered by 
FUDForum. Page generated in 0.05686 seconds