This is an automated email from the ASF dual-hosted git repository.
geertjan pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/incubator-netbeans-website.git
The following commit(s) were added to refs/heads/master by this push:
new 5bbb708 Update quickstart.asciidoc
5bbb708 is described below
commit 5bbb7087eaeb4eb3c2cefca75d91f8ef74d696be
Author: Geertjan Wielenga <[email protected]>
AuthorDate: Sat Apr 6 21:04:13 2019 +0200
Update quickstart.asciidoc
---
.../src/content/kb/docs/java/quickstart.asciidoc | 29 +++++++++++++++++++---
1 file changed, 25 insertions(+), 4 deletions(-)
diff --git a/netbeans.apache.org/src/content/kb/docs/java/quickstart.asciidoc
b/netbeans.apache.org/src/content/kb/docs/java/quickstart.asciidoc
index 34f2b29..8a24f91 100644
--- a/netbeans.apache.org/src/content/kb/docs/java/quickstart.asciidoc
+++ b/netbeans.apache.org/src/content/kb/docs/java/quickstart.asciidoc
@@ -52,11 +52,10 @@ Take the steps below to set up a new Java project.
image::images/proj-wizard-maven2-small.png[role="left",
link="images/proj-wizard-maven2.png"]
--
-NOTE: The first time you create a new Java project, you will be prompted to
download and enable support for Java. +
-Follow the prompts and install as recommended by the wizard.
+NOTE: The first time you create a new Java project, you will be prompted to
download and enable support for Java. Follow the prompts and install as
recommended by the wizard.
[start=3]
-3. In the Name and Location page of the wizard, type `HelloWorldApp` in the
Project Name field, (as shown in the figure below):
+3. In the Name and Location page of the wizard, type `HelloWorldApp` in the
Project Name field, (as shown in the figure below):
[.feature]
--
@@ -64,7 +63,29 @@ image::images/proj-wizard2-maven-small.png[role="left",
link="images/proj-wizard
--
Click Finish.
-The project is created and opened. You should see the following components:
+The project is created and opened.
+
+== Creating a Java Source File
+
+Right-click the package name and choose New | Java Class, (as shown in the
figure below):
+
+[.feature]
+--
+image::images/proj-wizard3-maven-small.png[role="left",
link="images/proj-wizard3-maven.png"]
+--
+
+In the New Java Class wizard, type `Main` in the Class Name field, (as shown
in the figure below):
+
+[.feature]
+--
+image::images/proj-wizard4-maven-small.png[role="left",
link="images/proj-wizard4-maven.png"]
+--
+
+Click Finish.
+
+The Java source file is created and opened.
+
+You should see the following components:
* *Projects window:* Contains a tree view of the components of the project,
including source files, libraries that your code depends on, and so on.
* *Source Editor:* Contains files, where most of your work will be done,
currently with a file called `HelloWorldApp` open.
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]
For further information about the NetBeans mailing lists, visit:
https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists