Quick Question (Functions)
I just have a quick question... how do you create and call functions in Java? For example, I have a portion of an applet that takes a selected directory (stored as a string, like c:/test in a variable called "the_dir") and I want to make a function like postData(the_dir); to send the variable to the postData function. The whole concept of classes and all the restrictions in Java get me really confused... (I usually code PHP, only been dabbling in Java for the last few days). I guess the real question is, how do you define and call a function? Any help is appreciated.