Hmmm
You must first instantiate the class that you are trying to use. In java, you instantiate the class to pass it arguments. You need to have a constructor, accessor, and mutator for the class you want to instantiate. Then you can access the objects in the class you want to use.
Did I make any sense...?
P.S. Been a while since I programmed so take my advice with a grain of salt.
|