P
poener
Hello all,
I think this should be a pretty simple question, but I can't figure out
how to do it...
I have written a class in $WHATEVER/Scripts, and I want to use it in a
program that I am writting in $WHATEVER/Control. Since it looks like I
can't use a simple include filename like I would do in C, I would like
to know how should I do it.
=================
A more complicated issue...
The class in $WHATEVER/Scripts reads which devices are connected to the
USB ports of the computer and generates a series of objects with allow
to communicate with those devices.
Now I have to include this class on each java program which wants to
communicate with any of those devices, but I think a much better way of
doing would be to run this communications class once, independently,
and then, when a program needed to communicate with one or several of
these devices, that it could talk to this communications class and
access its objects to talk to the devices... Is there a way of doing
this?
Thank you,
- J.
I think this should be a pretty simple question, but I can't figure out
how to do it...
I have written a class in $WHATEVER/Scripts, and I want to use it in a
program that I am writting in $WHATEVER/Control. Since it looks like I
can't use a simple include filename like I would do in C, I would like
to know how should I do it.
=================
A more complicated issue...
The class in $WHATEVER/Scripts reads which devices are connected to the
USB ports of the computer and generates a series of objects with allow
to communicate with those devices.
Now I have to include this class on each java program which wants to
communicate with any of those devices, but I think a much better way of
doing would be to run this communications class once, independently,
and then, when a program needed to communicate with one or several of
these devices, that it could talk to this communications class and
access its objects to talk to the devices... Is there a way of doing
this?
Thank you,
- J.