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

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


The following commit(s) were added to refs/heads/master by this push:
     new f16f0aa6d Update DevFaqRemoveStatusBar.asciidoc
f16f0aa6d is described below

commit f16f0aa6dae313060992d0808427dcb9f2e3c833
Author: Jean-Marc Borer <[email protected]>
AuthorDate: Fri Jul 15 09:06:19 2022 +0000

    Update DevFaqRemoveStatusBar.asciidoc
---
 .../src/content/wiki/DevFaqRemoveStatusBar.asciidoc        | 14 ++++----------
 1 file changed, 4 insertions(+), 10 deletions(-)

diff --git 
a/netbeans.apache.org/src/content/wiki/DevFaqRemoveStatusBar.asciidoc 
b/netbeans.apache.org/src/content/wiki/DevFaqRemoveStatusBar.asciidoc
index 322d24d23..3851aa7bd 100644
--- a/netbeans.apache.org/src/content/wiki/DevFaqRemoveStatusBar.asciidoc
+++ b/netbeans.apache.org/src/content/wiki/DevFaqRemoveStatusBar.asciidoc
@@ -55,7 +55,7 @@ Never be afraid to read the code  :-)   Looking at 
org.netbeans.core.windows.vie
    }
 ----
 
-Constants.CUSTOM_STATUS_LINE_PATH is defined as
+`Constants.CUSTOM_STATUS_LINE_PATH` is defined as
 System.getProperty("netbeans.winsys.status_line.path");
 
 So, have a module which, in its ModuleInstall (or as a command-line parameter 
in their myApp.conf), does
@@ -64,8 +64,6 @@ System.setProperty("netbeans.winsys.status_line.path", 
"com/foo/com-foo-MyStatus
 
 and in its layer file, does something like
 
-<folder name="com">
-
 [source,xml]
 ----
 
@@ -74,21 +72,17 @@ and in its layer file, does something like
 </folder>
 ----
 
-</folder>
-
 and then a class
 
-package com.foo;
-public class MyStatusBar extends JLabel {
-
 [source,java]
 ----
 
+package com.foo;
+public class MyStatusBar extends JLabel {
  public Dimension getPreferredSize() { return new Dimension(0,0); }
  public Dimension getMaximumSize() { return new Dimension(0,0); } //may not be 
necessary
-----
-
 }
+----
 
 and you should get a status bar whose preferred size is to have no size at 
all.  
 


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