This is an automated email from the ASF dual-hosted git repository.

git-site-role pushed a commit to branch asf-site
in repository https://gitbox.apache.org/repos/asf/incubator-netbeans-website.git


The following commit(s) were added to refs/heads/asf-site by this push:
     new 58712e3  Automated site publishing by Jenkins build 230
58712e3 is described below

commit 58712e3843cc866801153cdc3b6843e9b4715a3b
Author: jenkins <[email protected]>
AuthorDate: Mon Jan 14 15:36:22 2019 +0000

    Automated site publishing by Jenkins build 230
---
 content/kb/docs/java/groovy-quickstart.html | 35 ++++++++++++++++-------------
 1 file changed, 19 insertions(+), 16 deletions(-)

diff --git a/content/kb/docs/java/groovy-quickstart.html 
b/content/kb/docs/java/groovy-quickstart.html
index 6129c93..a88a100 100644
--- a/content/kb/docs/java/groovy-quickstart.html
+++ b/content/kb/docs/java/groovy-quickstart.html
@@ -81,6 +81,7 @@
             <div id="toc" class="toc">
 <div id="toctitle"></div>
 <ul class="sectlevel1">
+<li><a href="#_requirements">Requirements</a></li>
 <li><a href="#_activate_the_groovy_plugin">Activate the Groovy Plugin</a></li>
 <li><a href="#_creating_the_application">Creating the Application</a></li>
 <li><a href="#_creating_the_java_class_and_the_groovy_file">Creating the Java 
Class and the Groovy File</a></li>
@@ -99,8 +100,13 @@
 </div>
 <div class="title">Figure 1. Content on this page applies to the NetBeans IDE 
7.2, 7.3, 7.4 and 8.0</div>
 </div>
+</div>
+</div>
+<div class="sect1">
+<h2 id="_requirements">Requirements</h2>
+<div class="sectionbody">
 <div class="paragraph">
-<p><strong>To follow this tutorial, you need the following software and 
resources.</strong></p>
+<p>To follow this tutorial, you need the following software and resources.</p>
 </div>
 <table class="tableblock frame-all grid-all spread">
 <colgroup>
@@ -115,8 +121,8 @@
 </thead>
 <tbody>
 <tr>
-<td class="tableblock halign-left valign-top"><p class="tableblock"><a 
href="https://netbeans.org/downloads/index.html";>NetBeans IDE</a></p></td>
-<td class="tableblock halign-left valign-top"><p class="tableblock">7.2, 7.3, 
7.4, 8.0, Java bundle</p></td>
+<td class="tableblock halign-left valign-top"><p class="tableblock"><a 
href="http://netbeans.apache.org/download/index.html";>NetBeans IDE</a></p></td>
+<td class="tableblock halign-left valign-top"><p class="tableblock">7.2, 7.3, 
7.4, 8.0, or up Java bundle</p></td>
 </tr>
 <tr>
 <td class="tableblock halign-left valign-top"><p class="tableblock"><a 
href="http://www.oracle.com/technetwork/java/javase/downloads/index.html";>Java 
Development Kit (JDK)</a></p></td>
@@ -153,7 +159,7 @@
 <p>Alternatively, you can type <code>groovy</code> in the Search field to 
filter the list of plugins.</p>
 </div>
 <div class="olist arabic">
-<ol class="arabic">
+<ol class="arabic" start="4">
 <li>
 <p>Select the checkbox for the Groovy and Grails plugin and click Activate.
 image::images/groovy-plugin.png[title="Groovy plugin selected in the Plugins 
manager"]</p>
@@ -223,7 +229,7 @@ image::images/groovy-newjframe2.png[title="Name and 
Location panel in New JFrame
 <p>When you click Finish the IDE creates the JFrame form and opens the file in 
the editor.</p>
 </div>
 <div class="olist arabic">
-<ol class="arabic">
+<ol class="arabic" start="5">
 <li>
 <p>Right-click the project node in the Projects window and choose New &gt; 
Other to open the New File dialog box.</p>
 </li>
@@ -265,15 +271,15 @@ image::images/groovy-newgroovyclass.png[title="Groovy 
Class template in New File
 </div>
 <div class="listingblock">
 <div class="content">
-<pre class="prettyprint highlight"><code class="language-java" 
data-lang="java">class GreetingProvider {
+<pre class="prettyprint highlight"><code class="language-groovy" 
data-lang="groovy">class GreetingProvider {
 
-    *def greeting = "Hello from Groovy"*
+    def greeting = "Hello from Groovy"
 
 }</code></pre>
 </div>
 </div>
 <div class="olist arabic">
-<ol class="arabic">
+<ol class="arabic" start="3">
 <li>
 <p>Open  <code>DisplayJFrame.java</code>  in the editor (if not already open) 
and click the Design tab.</p>
 </li>
@@ -288,14 +294,14 @@ image::images/groovy-jtextfield.png[title="JTextfield in 
DesignJFrame open in th
 </div>
 <div class="listingblock">
 <div class="content">
-<pre class="prettyprint highlight"><code class="language-java" 
data-lang="java">public class DisplayJFrameForm extends javax.swing.JFrame {*
+<pre class="prettyprint highlight"><code class="language-java" 
data-lang="java">public class DisplayJFrameForm extends javax.swing.JFrame {
 
-    GreetingProvider provider = new GreetingProvider();*
+    GreetingProvider provider = new GreetingProvider();
 
     public DisplayJFrame() {
         initComponents();
-        *String greeting = provider.getGreeting().toString();
-        jTextField1.setText(greeting);*
+        String greeting = provider.getGreeting().toString();
+        jTextField1.setText(greeting);
     }</code></pre>
 </div>
 </div>
@@ -309,7 +315,7 @@ image::images/groovy-jtextfield.png[title="JTextfield in 
DesignJFrame open in th
 <div class="title">Figure 2. Code completion in the editor</div>
 </div>
 <div class="olist arabic">
-<ol class="arabic">
+<ol class="arabic" start="6">
 <li>
 <p>Right-click the project node in the Projects window and choose Run.</p>
 </li>
@@ -330,9 +336,6 @@ image::images/groovy-jtextfield.png[title="JTextfield in 
DesignJFrame open in th
 <div class="paragraph">
 <p>You now know how to create a basic Java application that interacts with 
Groovy.</p>
 </div>
-<div class="paragraph">
-<p><a 
href="/about/contact_form.html?to=3&amp;subject=Feedback:%20NetBeans%20IDE%20Groovy%20Quick%20Start">Send
 Feedback on This Tutorial</a></p>
-</div>
 </div>
 </div>
 <div class="sect1">


---------------------------------------------------------------------
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

Reply via email to