Win a copy of The Java Performance Companion this week in the Performance forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

in login system how dispose first open window not all

 
sandhiya sindhi
Ranch Hand
Posts: 50
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
dear sir....
i'm working on software by using desktop pane. where i have made login system..
when main desktop pane is open and user want to change than how first one open window dispose???
when i close one open window it exit from application.
kindly help me sir....
2. is how can i pass varialbe value from one class to another???
thanxxx in advance
[ March 07, 2004: Message edited by: sandhiya sindhi ]
 
Arnold Reuser
Ranch Hand
Posts: 196
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Are you actually asking how a variable should be passed from one object to another ? Maybe you should rephrase your question otherwise the answer can be :
object1.instancevariable1 = object2.instancevariable2;
ofcourse not the best way. You should use a get- and set-method instead, but it is possible.
[ March 07, 2004: Message edited by: Arnold Reuser ]
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic