• Post Reply Bookmark Topic Watch Topic
  • New Topic

wrong output  RSS feed

 
Rahul Shilpakar
Ranch Hand
Posts: 132
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi Ranchers,

I first of all run PersonalInfoForm class



Now i copied the code of PersonalInfoForm to ConnectionSetupScreen class and changed the instance variable names.
There is no compilation issues.

And now when i run ConnectionSetupScreen class its showing me PersonalInfoForm Screen. That is output of PersonalInfoForm class.

Why so?

I assured that i am running ConnectionSetupScreen class.
 
Rob Spoor
Sheriff
Posts: 21095
85
Chrome Eclipse IDE Java Windows
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
How did you determine that it was a PersonalInfoForm?
By the title? If so, do you set a new title for ConnectionSetupScreen?
By the contents? If so, do you give ConnectionSetupScreen different contents?

If you just copied the code and that's it (no modifications), then of course the frames will look and behave identically.
 
Rahul Shilpakar
Ranch Hand
Posts: 132
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
i see

i was wrong. i was running the constructor of PerosnalInfo.

thanks for your reply.
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!