S
Sue
I have a java application which has source code for the graphical user
interface and also additional code for some calculations. I have to
give access to a few users so they can edit the calculations but I have
to limit access to the source code for the gui itself. What is the best
way to do this? I was thinking of splitting the source code into two
classes, one with the code for the graphical interface alone and the
other for the calculations part. If I do this will it be possible to
give the users the .java file for the calculations part alone with the
..class files for the gui? Should the gui class extend the calculations
class or vice versa? Also if the gui class is the one for which the
source code is not available, which class should contain the main
method? As always thank you very much for any help!
interface and also additional code for some calculations. I have to
give access to a few users so they can edit the calculations but I have
to limit access to the source code for the gui itself. What is the best
way to do this? I was thinking of splitting the source code into two
classes, one with the code for the graphical interface alone and the
other for the calculations part. If I do this will it be possible to
give the users the .java file for the calculations part alone with the
..class files for the gui? Should the gui class extend the calculations
class or vice versa? Also if the gui class is the one for which the
source code is not available, which class should contain the main
method? As always thank you very much for any help!