Creating a JAR
Ok. Heres my problem:
I have used BlueJ and messed with NetBeans - BlueJ Edition 5.0, however neither can succesfully create a working JAR for me. Basically i THINK the problem is the MANIFEST.MF file but truelly I am unsure. What I am trying to do, and can do inside a program like BlueJ or NetBeans - BJ ED, is create a program which calculates TAKT time. The workings are unimportant but I want to create a user interface. NetBeans has a fantastic drap and drop ability similar to that of VB6 which I love. However, I can't get it to work properly in a JAR file. I believe I should be placing the code to call this window in the method: public static void main(String[] args) {}. But despite my efforts, I have achieved nothing but more errors than Vista at first release. So I decided I can't get it to work in BlueJ (except inside the program when I run the "Driver" file which I use to run everything), NetBeans BJ-Ed and NetBeans IDE 5.5 (which I dabled with) fail, so heck lets try something else - Eclipse. Only it has a bigger problem! I downloaded and it looks great. From the start I wa happy. Tutorials > SWT - create a program to display a window with "Hello World!" in it. FANTASTIC I thought. But no! ITS TUTORIAL CANT CREATE THE PROGRAM!!!! It comes up with these errors:
Display cannot be resolved to a type
Display cannot be resolved to a type
Shell cannot be resolved to a type
Shell cannot be resolved to a type
COME ON!!! WHAT IS IT WITH BAD TUTORIALS!!! NETBEANS BJ-Ed was the same for certain things.
So this is a huge call to say:
HELP PLEASE!!!
I just need to use ANY PROGRAM!!! to create a JAR which 1: Works and 2: Displays a GUI for a user.
Thank you. Im off to go cry in a corner now and give my laptop "that look".
|