[incubator-netbeans-website] branch master updated: Update quickstart.asciidoc
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 eddc314 Update quickstart.asciidoc eddc314 is described below commit eddc3144aa2d363e36b11cfa3d33d9d4af919ea6 Author: Geertjan Wielenga AuthorDate: Sat Apr 6 22:10:47 2019 +0200 Update quickstart.asciidoc --- netbeans.apache.org/src/content/kb/docs/java/quickstart.asciidoc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 0817238..89e2bcd 100644 --- a/netbeans.apache.org/src/content/kb/docs/java/quickstart.asciidoc +++ b/netbeans.apache.org/src/content/kb/docs/java/quickstart.asciidoc @@ -97,7 +97,7 @@ image::images/proj-opened-maven-small.png[role="left", link="images/proj-opened- == Adding Code to the Java Source File -A skeleton main class has been created for you. You can add a "Hello World!" message by replacing this line... +A skeleton main class has been created for you. Let's add some basic content to produce a 'hello world' message. 1. Between the braces, type `psvm` and press kbd:[Tab]. You should now see `public static void main` statement. - To unsubscribe, e-mail: commits-unsubscr...@netbeans.apache.org For additional commands, e-mail: commits-h...@netbeans.apache.org For further information about the NetBeans mailing lists, visit: https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists
[incubator-netbeans-website] branch master updated: Update quickstart.asciidoc
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 10db5cd Update quickstart.asciidoc 10db5cd is described below commit 10db5cd7f0f8e88680f85729cb69db464ff0c3e1 Author: Geertjan Wielenga AuthorDate: Sat Apr 6 22:04:32 2019 +0200 Update quickstart.asciidoc --- netbeans.apache.org/src/content/kb/docs/java/quickstart.asciidoc | 4 ++-- 1 file changed, 2 insertions(+), 2 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 3dd01da..0817238 100644 --- a/netbeans.apache.org/src/content/kb/docs/java/quickstart.asciidoc +++ b/netbeans.apache.org/src/content/kb/docs/java/quickstart.asciidoc @@ -101,7 +101,7 @@ A skeleton main class has been created for you. You can add a "Hello World!" mes 1. Between the braces, type `psvm` and press kbd:[Tab]. You should now see `public static void main` statement. -2. Within the `public static void main` statement, type `sout` and press kbd:[Tab]. You should now see a 'System.out.println' statement. +2. Within the `public static void main` statement, type `sout` and press kbd:[Tab]. You should now see a `System.out.println` statement. 3. Within the quotation marks, type `hello world`. @@ -131,6 +131,6 @@ image::images/run-output-maven-small.png[role="left", link="images/run-output-ma Congratulations! Your application works. -You can view the build output by opening the Files window (from the Window menu) and expanding the target node. +You can view the build output by opening the Files window (from the Window menu) and expanding the `target` node. You now know how to accomplish the most common Java development tasks. To learn the complete Java development workflow, including testing and debugging, see link:https://netbeans.apache.org/kb/docs/java/javase-intro.html[Developing General Java Applications]. - To unsubscribe, e-mail: commits-unsubscr...@netbeans.apache.org For additional commands, e-mail: commits-h...@netbeans.apache.org For further information about the NetBeans mailing lists, visit: https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists
[incubator-netbeans-website] branch master updated: Update quickstart.asciidoc
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 df70ec2 Update quickstart.asciidoc df70ec2 is described below commit df70ec2f1649e7cd098aa0fab33b47d30ce0927a Author: Geertjan Wielenga AuthorDate: Sat Apr 6 21:58:22 2019 +0200 Update quickstart.asciidoc --- netbeans.apache.org/src/content/kb/docs/java/quickstart.asciidoc | 5 ++--- 1 file changed, 2 insertions(+), 3 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 4d8b58d..3dd01da 100644 --- a/netbeans.apache.org/src/content/kb/docs/java/quickstart.asciidoc +++ b/netbeans.apache.org/src/content/kb/docs/java/quickstart.asciidoc @@ -36,8 +36,7 @@ Welcome to Apache NetBeans IDE! In this tutorial, which should take about 10 minutes to complete, you are given a quick introduction to the basic Java development workflow in NetBeans IDE. -NOTE: The aim of this tutorial is to get you started with Java development in NetBeans IDE. + -To get started understanding and working with the Java language itself, see the link:https://docs.oracle.com/javase/tutorial/index.html[Java Tutorials]. +NOTE: The aim of this tutorial is to get you started with Java development with Maven in NetBeans IDE. Though not needed to complete this tutorial, to get started understanding and working with the Java language itself, see the link:https://docs.oracle.com/javase/tutorial/index.html[Java Tutorials], and to understand Maven, the link:https://maven.apache.org[Apache Maven Website]. == Setting Up the Project @@ -132,6 +131,6 @@ image::images/run-output-maven-small.png[role="left", link="images/run-output-ma Congratulations! Your application works. -You can view the build output by opening the Files window (from the Window menu) and expanding the project node. +You can view the build output by opening the Files window (from the Window menu) and expanding the target node. You now know how to accomplish the most common Java development tasks. To learn the complete Java development workflow, including testing and debugging, see link:https://netbeans.apache.org/kb/docs/java/javase-intro.html[Developing General Java Applications]. - To unsubscribe, e-mail: commits-unsubscr...@netbeans.apache.org For additional commands, e-mail: commits-h...@netbeans.apache.org For further information about the NetBeans mailing lists, visit: https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists
[incubator-netbeans-website] branch master updated: Update quickstart.asciidoc
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 5dd4944 Update quickstart.asciidoc 5dd4944 is described below commit 5dd4944c2ede5fdce540f61ad5a0b5ad6a3a4339 Author: Geertjan Wielenga AuthorDate: Sat Apr 6 21:49:13 2019 +0200 Update quickstart.asciidoc --- netbeans.apache.org/src/content/kb/docs/java/quickstart.asciidoc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 46a49c3..4d8b58d 100644 --- a/netbeans.apache.org/src/content/kb/docs/java/quickstart.asciidoc +++ b/netbeans.apache.org/src/content/kb/docs/java/quickstart.asciidoc @@ -117,7 +117,7 @@ Notice that when you press kbd:[Ctrl+Space], the editor shows you multiple ways [.feature] -- -image::images/editor-cc-maven-small.png[role="left", link="images/editor-cc-maven.png"] +image::images/editor-cc-maven2-small.png[role="left", link="images/editor-cc-maven2.png"] -- For a full description of editor assistance features, see link:https://netbeans.apache.org/kb/docs/java/editor-codereference.html[Code Assistance in the NetBeans IDE Java Editor: A Reference Guide]. - To unsubscribe, e-mail: commits-unsubscr...@netbeans.apache.org For additional commands, e-mail: commits-h...@netbeans.apache.org For further information about the NetBeans mailing lists, visit: https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists
[incubator-netbeans-website] branch master updated: Update quickstart.asciidoc
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 523d62c Update quickstart.asciidoc 523d62c is described below commit 523d62c22217877817a200f50eb7e01a1960ebb5 Author: Geertjan Wielenga AuthorDate: Sat Apr 6 21:38:56 2019 +0200 Update quickstart.asciidoc --- netbeans.apache.org/src/content/kb/docs/java/quickstart.asciidoc | 8 +--- 1 file changed, 5 insertions(+), 3 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 27ff476..46a49c3 100644 --- a/netbeans.apache.org/src/content/kb/docs/java/quickstart.asciidoc +++ b/netbeans.apache.org/src/content/kb/docs/java/quickstart.asciidoc @@ -104,7 +104,9 @@ A skeleton main class has been created for you. You can add a "Hello World!" mes 2. Within the `public static void main` statement, type `sout` and press kbd:[Tab]. You should now see a 'System.out.println' statement. -3. Within the quotation marks, type `hello world`. You should now see the following: +3. Within the quotation marks, type `hello world`. + +You should now see the following: [.feature] -- @@ -122,11 +124,11 @@ For a full description of editor assistance features, see link:https://netbeans. == Running the Application -Right-click the project and choose Run or choose Run Project under the Run menu. +Make sure to save the Java source file, right-click the project and choose Run or choose Run Project under the Run menu. Click Select Main Class. In the Output window (which can be opened from the Window menu), you should see the below. -image::images/run-output.png[] +image::images/run-output-maven-small.png[role="left", link="images/run-output-maven.png"] Congratulations! Your application works. - To unsubscribe, e-mail: commits-unsubscr...@netbeans.apache.org For additional commands, e-mail: commits-h...@netbeans.apache.org For further information about the NetBeans mailing lists, visit: https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists
[incubator-netbeans-website] branch master updated: Update quickstart.asciidoc
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 fd39af6 Update quickstart.asciidoc fd39af6 is described below commit fd39af697f5948b80465181b3b35b04ec5f835be Author: Geertjan Wielenga AuthorDate: Sat Apr 6 21:32:11 2019 +0200 Update quickstart.asciidoc --- netbeans.apache.org/src/content/kb/docs/java/quickstart.asciidoc | 6 +++--- 1 file changed, 3 insertions(+), 3 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 31c35f3..27ff476 100644 --- a/netbeans.apache.org/src/content/kb/docs/java/quickstart.asciidoc +++ b/netbeans.apache.org/src/content/kb/docs/java/quickstart.asciidoc @@ -100,9 +100,9 @@ image::images/proj-opened-maven-small.png[role="left", link="images/proj-opened- A skeleton main class has been created for you. You can add a "Hello World!" message by replacing this line... -1. Between the braces, type `psvm` and press the Tab key. You should now see `public static void main` statement. +1. Between the braces, type `psvm` and press kbd:[Tab]. You should now see `public static void main` statement. -2. Within the `public static void main` statement, type `sout` and press the Tab key. You should now see a 'System.out.println' statement. +2. Within the `public static void main` statement, type `sout` and press kbd:[Tab]. You should now see a 'System.out.println' statement. 3. Within the quotation marks, type `hello world`. You should now see the following: @@ -115,7 +115,7 @@ Notice that when you press kbd:[Ctrl+Space], the editor shows you multiple ways [.feature] -- -image::images/editor-cc-small.png[role="left", link="images/editor-cc.png"] +image::images/editor-cc-maven-small.png[role="left", link="images/editor-cc-maven.png"] -- For a full description of editor assistance features, see link:https://netbeans.apache.org/kb/docs/java/editor-codereference.html[Code Assistance in the NetBeans IDE Java Editor: A Reference Guide]. - To unsubscribe, e-mail: commits-unsubscr...@netbeans.apache.org For additional commands, e-mail: commits-h...@netbeans.apache.org For further information about the NetBeans mailing lists, visit: https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists
[incubator-netbeans-website] branch master updated: Update quickstart.asciidoc
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 888565b Update quickstart.asciidoc 888565b is described below commit 888565b9220d919c4f12c0f8d6506f1f05902991 Author: Geertjan Wielenga AuthorDate: Sat Apr 6 21:23:42 2019 +0200 Update quickstart.asciidoc --- .../src/content/kb/docs/java/quickstart.asciidoc | 18 +++--- 1 file changed, 7 insertions(+), 11 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 408b5ea..31c35f3 100644 --- a/netbeans.apache.org/src/content/kb/docs/java/quickstart.asciidoc +++ b/netbeans.apache.org/src/content/kb/docs/java/quickstart.asciidoc @@ -100,20 +100,16 @@ image::images/proj-opened-maven-small.png[role="left", link="images/proj-opened- A skeleton main class has been created for you. You can add a "Hello World!" message by replacing this line... +1. Between the braces, type `psvm` and press the Tab key. You should now see `public static void main` statement. -[source,java] - -// TODO code application logic here - +2. Within the `public static void main` statement, type `sout` and press the Tab key. You should now see a 'System.out.println' statement. -...with this line: +3. Within the quotation marks, type `hello world`. You should now see the following: -[source,java] - -System.out.println("Hello World!"); - - -Save the change by choosing File > Save. +[.feature] +-- +image::images/file-opened-maven-small.png[role="left", link="images/file-opened-maven.png"] +-- Notice that when you press kbd:[Ctrl+Space], the editor shows you multiple ways of completing the code at the cursor, as well as related documentation: - To unsubscribe, e-mail: commits-unsubscr...@netbeans.apache.org For additional commands, e-mail: commits-h...@netbeans.apache.org For further information about the NetBeans mailing lists, visit: https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists
[incubator-netbeans-website] branch master updated: Update quickstart.asciidoc
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 1b69f2e Update quickstart.asciidoc 1b69f2e is described below commit 1b69f2ec88d185225906879a23d5f0f7eaca84a5 Author: Geertjan Wielenga AuthorDate: Sat Apr 6 21:13:27 2019 +0200 Update quickstart.asciidoc --- .../src/content/kb/docs/java/quickstart.asciidoc | 12 ++-- 1 file changed, 6 insertions(+), 6 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 8a24f91..408b5ea 100644 --- a/netbeans.apache.org/src/content/kb/docs/java/quickstart.asciidoc +++ b/netbeans.apache.org/src/content/kb/docs/java/quickstart.asciidoc @@ -85,18 +85,18 @@ Click Finish. The Java source file is created and opened. -You should see the following components: +You should see the following components, (as shown in the figure below): -* *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. -* *Navigator:* Useful for quickly navigating between elements within the selected class. +* *Projects window:* Top left, contains a tree view of the components of the project, including source files, libraries that your code depends on, and so on. +* *Source Editor:* Central area, contains files, where most of your work will be done, currently with a Java source file called `Main` open. +* *Navigator:* Lower left, useful for quickly navigating between elements within the selected class. [.feature] -- -image::images/proj-opened-small.png[role="left", link="images/proj-opened.png"] +image::images/proj-opened-maven-small.png[role="left", link="images/proj-opened-maven.png"] -- -== Adding Code to the Generated Source File +== Adding Code to the Java Source File A skeleton main class has been created for you. You can add a "Hello World!" message by replacing this line... - To unsubscribe, e-mail: commits-unsubscr...@netbeans.apache.org For additional commands, e-mail: commits-h...@netbeans.apache.org For further information about the NetBeans mailing lists, visit: https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists
[incubator-netbeans-website] branch master updated: Update quickstart.asciidoc
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 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: commits-unsubscr...@netbeans.apache.org For additional commands, e-mail: commits-h...@netbeans.apache.org For further information about the NetBeans mailing lists, visit: https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists
[incubator-netbeans-website] branch master updated: Update quickstart.asciidoc
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 6b62669 Update quickstart.asciidoc 6b62669 is described below commit 6b626694d42581e853a89e60a8050115ae2d637d Author: Geertjan Wielenga AuthorDate: Sat Apr 6 20:46:49 2019 +0200 Update quickstart.asciidoc --- netbeans.apache.org/src/content/kb/docs/java/quickstart.asciidoc | 6 ++ 1 file changed, 2 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 adf3900..34f2b29 100644 --- a/netbeans.apache.org/src/content/kb/docs/java/quickstart.asciidoc +++ b/netbeans.apache.org/src/content/kb/docs/java/quickstart.asciidoc @@ -56,13 +56,11 @@ NOTE: The first time you create a new Java project, you will be prompted to down Follow the prompts and install as recommended by the wizard. [start=3] -3. In the Name and Location page of the wizard, do the following (as shown in the figure below): -* In the Project Name field, type `HelloWorldApp`. -* In the Create Main Class field, type `helloworldapp.HelloWorldApp`. +3. In the Name and Location page of the wizard, type `HelloWorldApp` in the Project Name field, (as shown in the figure below): [.feature] -- -image::images/proj-wizard2-small.png[role="left", link="images/proj-wizard2.png"] +image::images/proj-wizard2-maven-small.png[role="left", link="images/proj-wizard2-maven.png"] -- Click Finish. - To unsubscribe, e-mail: commits-unsubscr...@netbeans.apache.org For additional commands, e-mail: commits-h...@netbeans.apache.org For further information about the NetBeans mailing lists, visit: https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists
[incubator-netbeans-website] branch master updated: Update quickstart.asciidoc
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 8b971ad Update quickstart.asciidoc 8b971ad is described below commit 8b971ad181963a812661453264623fbae29327e3 Author: Geertjan Wielenga AuthorDate: Sat Apr 6 20:33:32 2019 +0200 Update quickstart.asciidoc --- netbeans.apache.org/src/content/kb/docs/java/quickstart.asciidoc | 6 +++--- 1 file changed, 3 insertions(+), 3 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 c28ff94..adf3900 100644 --- a/netbeans.apache.org/src/content/kb/docs/java/quickstart.asciidoc +++ b/netbeans.apache.org/src/content/kb/docs/java/quickstart.asciidoc @@ -29,7 +29,7 @@ :toc-title: :description: NetBeans IDE Java Quick Start Tutorial - Apache NetBeans :keywords: Apache NetBeans, Tutorials, NetBeans IDE Java Quick Start Tutorial -:reviewed: 2019-01-25 +:reviewed: 2019-04-06 :experimental: Welcome to Apache NetBeans IDE! @@ -45,11 +45,11 @@ Take the steps below to set up a new Java project. 1. In the IDE, choose File > New Project or click the "New Project" button in the toolbar. -2. In the New Project wizard, expand the Java category and select Java Application as shown in the figure below. Then click Next. +2. In the New Project wizard, select Java Application, as shown in the figure below. Then click Next. [.feature] -- -image::images/proj-wizard-maven-small.png[role="left", link="images/proj-wizard-maven.png"] +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. + - To unsubscribe, e-mail: commits-unsubscr...@netbeans.apache.org For additional commands, e-mail: commits-h...@netbeans.apache.org For further information about the NetBeans mailing lists, visit: https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists
[incubator-netbeans-website] branch master updated: Update quickstart.asciidoc
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 823c2bb Update quickstart.asciidoc 823c2bb is described below commit 823c2bb7ae60aa7feb9f4b3fd7aaf9225a5473dc Author: Geertjan Wielenga AuthorDate: Sat Apr 6 20:21:06 2019 +0200 Update quickstart.asciidoc --- netbeans.apache.org/src/content/kb/docs/java/quickstart.asciidoc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 b34616a..c28ff94 100644 --- a/netbeans.apache.org/src/content/kb/docs/java/quickstart.asciidoc +++ b/netbeans.apache.org/src/content/kb/docs/java/quickstart.asciidoc @@ -49,7 +49,7 @@ Take the steps below to set up a new Java project. [.feature] -- -image::images/proj-wizard-small.png[role="left", link="images/proj-wizard.png"] +image::images/proj-wizard-maven-small.png[role="left", link="images/proj-wizard-maven.png"] -- NOTE: The first time you create a new Java project, you will be prompted to download and enable support for Java. + - To unsubscribe, e-mail: commits-unsubscr...@netbeans.apache.org For additional commands, e-mail: commits-h...@netbeans.apache.org For further information about the NetBeans mailing lists, visit: https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists
[incubator-netbeans-website] branch master updated: Update quickstart.asciidoc
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 433b8f0 Update quickstart.asciidoc 433b8f0 is described below commit 433b8f001360f1cb987172c15837805ed85118ab Author: Geertjan Wielenga AuthorDate: Thu Jan 17 17:06:51 2019 +0100 Update quickstart.asciidoc --- .../src/content/kb/docs/java/quickstart.asciidoc | 36 +++--- 1 file changed, 5 insertions(+), 31 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 8c4a31f..ae5b253 100644 --- a/netbeans.apache.org/src/content/kb/docs/java/quickstart.asciidoc +++ b/netbeans.apache.org/src/content/kb/docs/java/quickstart.asciidoc @@ -49,7 +49,6 @@ image::images/proj-wizard-small.png[role="left", link="images/proj-wizard.png"] [start=3] 3. In the Name and Location page of the wizard, do the following (as shown in the figure below): * In the Project Name field, type `HelloWorldApp`. -* Leave the Use Dedicated Folder for Storing Libraries checkbox unselected. * In the Create Main Class field, type `helloworldapp.HelloWorldApp`. [.feature] -- @@ -62,7 +61,6 @@ The project 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. * Navigator: Useful for quickly navigate between elements within the selected class. - [.feature] -- image::images/proj-opened-small.png[role="left", link="images/proj-opened.png"] @@ -92,36 +90,12 @@ System.out.println("Hello World!"); Save the change by choosing File > Save. -The file should look something like the following code sample. - - -[source,java] - - -/* - * To change this template, choose Tools | Templates - * and open the template in the editor. - */ - -package helloworldapp; - -/** - * - * @author - */ -public class HelloWorldApp { +The file should look as shown below. -/** - * @param args the command line arguments - */ -public static void main(String[] args) { -System.out.println("Hello World!"); -} - -} - - - +[.feature] +-- +image::images/helloworldapp-open-small.png[role="left", link="images/helloworldapp-open.png"] +-- === Compiling and Running the Program - To unsubscribe, e-mail: commits-unsubscr...@netbeans.apache.org For additional commands, e-mail: commits-h...@netbeans.apache.org For further information about the NetBeans mailing lists, visit: https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists