Help coderanch get a
new server
by contributing to the fundraiser
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

Replace Class Files

 
Greenhorn
Posts: 17
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
    Number of slices to send:
    Optional 'thank-you' note:
  • 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.
 
Rancher
Posts: 43081
77
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
    Number of slices to send:
    Optional 'thank-you' note:
  • 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.
 
Ranch Hand
Posts: 32
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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.
 
No matter. Try again. Fail again. Fail better. This time, do it with this tiny ad:
We need your help - Coderanch server fundraiser
https://coderanch.com/t/782867/Coderanch-server-fundraiser
reply
    Bookmark Topic Watch Topic
  • New Topic