Product Version: NtetBeans IDE Dev (Build nbms-and-javadoc-7160-on-20110507)
Java: 1.6.0_26; Java HotSpot(TM) 64-Bit Server VM 20.1-b02
System: Linux version 2.6.38-8-generic running on amd64; UTF-8; en_US (nb)
Userdir: /home/jamie/.netbeans/7.0
here's how to create a new java class in NetBeans ...
first, right click on the Java Source Package (name) and choose New > Java Class... (i could not get a screen shot while making selections - either the program or the os wouldn't allow it)
a new window will appear for you to name the new class as you wish
a new window will appear for you to name the new class as you wish
either hit [enter] or [Finish] button and the new class file is created and currently displayed
start programming the new class
sometimes NetBeans adds things needed only locally and not elsewhere such as "package [name];" at the top of the file. i just leave myself a note to comment out in those cases. if there are oodles of files, you may want to create a makefile to include commenting out the top line using a script.
new class file is now the workspace |
new class file with comments |
cioa
No comments:
Post a Comment