netbeans-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From git-site-r...@apache.org
Subject [netbeans-website] branch asf-site updated: Automated site publishing by Jenkins build 1340
Date Sat, 06 Jun 2020 16:05:44 GMT
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/netbeans-website.git


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

commit e9527f2786a79c3ef3313c1235e0e0d070809216
Author: jenkins <builds@apache.org>
AuthorDate: Sat Jun 6 16:05:39 2020 +0000

    Automated site publishing by Jenkins build 1340
---
 content/tutorials/nbm-quick-start.html | 8 +++++---
 1 file changed, 5 insertions(+), 3 deletions(-)

diff --git a/content/tutorials/nbm-quick-start.html b/content/tutorials/nbm-quick-start.html
index 51ee6fa..c5b1dd3 100644
--- a/content/tutorials/nbm-quick-start.html
+++ b/content/tutorials/nbm-quick-start.html
@@ -790,18 +790,20 @@ public class UppercaseFilter implements WordFilter {
 <div class="olist arabic">
 <ol class="arabic" start="1">
 <li>
-<p>In the "WordEditorCore" module, we publish a String whenever the user clicks the
"Filter!" button. To do so, change the constructor of the "WordTopComponent" as follows:*private
 <a href="http://bits.netbeans.org/dev/javadoc/org-openide-util-lookup/org/openide/util/lookup/InstanceContent.html">InstanceContent</a>
content;*</p>
+<p>In the "WordEditorCore" module, we publish a String whenever the user clicks the
"Filter!" button. To do so, change the constructor of the "WordTopComponent" as follows:</p>
 </li>
 </ol>
 </div>
 <div class="listingblock">
 <div class="content">
-<pre class="prettyprint highlight"><code class="language-java" data-lang="java">private
WordTopComponent() {
+<pre class="prettyprint highlight"><code class="language-java" data-lang="java">*private
InstanceContent content;*
+
+private WordTopComponent() {
     initComponents();
     setName(Bundle.CTL_WordTopComponent());
     setToolTipText(Bundle.HINT_WordTopComponent());
     *content = new InstanceContent();
-link:http://bits.netbeans.org/dev/javadoc/org-openide-windows/org/openide/windows/TopComponent.html#associateLookup(org.openide.util.Lookup)[associateLookup](new
 link:http://bits.netbeans.org/dev/javadoc/org-openide-util-lookup/org/openide/util/lookup/AbstractLookup.html[AbstractLookup](content));*
+    this.associateLookup(new AbstractLookup(content));*
 }</code></pre>
 </div>
 </div>


---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@netbeans.apache.org
For additional commands, e-mail: commits-help@netbeans.apache.org

For further information about the NetBeans mailing lists, visit:
https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists


Mime
View raw message