|
The variable terminal. The user inputs this information and the program gets it with .getText. I successfully save the text in the CompName using .getText, I then have to pass this information from MapDrive.java to Drives.Java, it is successfully saved in MapDrive.java (I know this because of a println(), but when I try to use the same information again in Drives.Java the println() comes out as null...basically I get Y: \\null\\username\\password where null is supposed to be whatever is held in the variable terminal. Hopefully that helps, but again I'm not sure if I'm passing the variable incorrectly or what. Thanks for your help so far.
|