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

Replace Class Files

 
nandhini sruthi
Greenhorn
Posts: 17
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,
I want to replace one Class Files from one location to other location,how can doing this using java.

Thanks in Advance.
 
nandhini sruthi
Greenhorn
Posts: 17
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,
When I replace the class and java files using browse button existing screen details should be changed with other details.
I planed to do like the following method,
please reply this method is the correct way or not:
"First I design the Screen with changes details using java then I will get that file using browse button in existing Screen(existing screen contains Browse button),After replace the changes details screen,screen should display the changes."
please any body help me.

Thanks in Advance.
 
Ulf Dittmer
Rancher
Posts: 42968
73
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I don't understand what "replacing a class file from one location to other location" means. Is this a question about class loading and unloading, or about constructing a GUI of some sort?
 
nandhini sruthi
Greenhorn
Posts: 17
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,
I am doing License version functionality
I have trial version that contains two button Buy License and UPgrade and some details about trial version.I have to change from trial version to Licese version ,While click the Buy License button display one window that contains Browse button,I am getting some files from
any location using Browse button and moving that files into trial version files location,after moving some files,trial version should change to license version.

Thanks in Advance.
 
Prakash Subramanian
Ranch Hand
Posts: 32
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
If I guessed right, you have written a software which wants to change itself from a trial version to a licensed version, by copying the appropriate class files or java files. The concept itself is way out.... and your question does not reflect your need correctly if so. Software license enabling does not work this way.

If you think about it, and read about the concepts of class loading, program execution fundamentals and a few more topics, you would find a better way of approaching your problem.

You should rethink your strategy for this.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic