How to Creating Java Files

NetBeans IDE contains templates and wizards that you can use to create all kinds of source files,

from Java source files to XML documents and resource bundles.
The easiest way to create a file is to right-click the directory
node in the Filesystem window where you want to create
the file and choose from the New submenu in the node's
contextual menu. The New submenu contains shortcuts to
commonly-used templates and an All Templates command
that you can use to choose from all NetBeans templates



To demonstrate some of the IDE's source creation and
editing features, let's recreate the ColorPreview class that
comes with the colorpicker example in the IDE's sample
code. Right-click any directory in your mounted filesystems and choose New > Java Class. Name the
file ColorPreview and click Finish. The file opens in the Source Editor.


Comments

Saung Web said…
Thanks for your informations friend.. good luck