Hi all,
I am doing the dive log tutorial from the java website but the problem is that they are packaged and this is causing me a problem, here is one of the lines that I am having problems with
my question is, is there another way to write this so it is not reliant on typing the directory at the command prompt, because I use Jcreator this syntax doesn’t seem to work. Do i need to put all the classes that are being called into one class? even when calling the class from main with
gives me an error. Any help appreciated, thx in advance.
I am doing the dive log tutorial from the java website but the problem is that they are packaged and this is causing me a problem, here is one of the lines that I am having problems with
Code:
tabbedPane.addTab("Favorite Web Site", null, new WebSite(), "Click here to see a web site");
my question is, is there another way to write this so it is not reliant on typing the directory at the command prompt, because I use Jcreator this syntax doesn’t seem to work. Do i need to put all the classes that are being called into one class? even when calling the class from main with
Code:
GuiFrame gf =new GuiFrame();