• Post Reply Bookmark Topic Watch Topic
  • New Topic

how to transfer input value of user from one jdialog to another jdialog

 
rohtash rathore
Greenhorn
Posts: 7
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi Sir,
I am stuck in some problem please help me here is the question,
i am working on swing based desktop application where i have main
menu,now when user select any of the menu item he will be navigate to
another j Dialog and then on another one now i want to move those
values from one j Dialog to another j Dialog and lastly to j Frame how
can i do this?i am not able to transfer those values from j dialog to
another i am able to use these on same j dialogs
please help me and thanks in advance.
Thanks in Advance and your precious time
 
Campbell Ritchie
Marshal
Posts: 52581
119
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Welcome to the Ranch

Why are you thinking about having values in a display class? You should have a model which implements the logic of the application, and all values should be inside that model.
 
rohtash rathore
Greenhorn
Posts: 7
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi Sir,
I didnt get you,
I am explaining you once again what i want to do.
I have main menu where i have add Item section now when user click it there are lot of option will come to fill like cost quantity and all this is our jdialog ,and it has one more option which is called subcatgory to which i provided one more jdialog when user fill this section the value get automatically displays in second dialog in drop down llke combo box.Then when this jdialg(second one) will filled.These value get inserted into jframe which is our main menu
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!