This is an automated email from the ASF dual-hosted git repository. vieiro 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 77aac1b NOTE: Admonitions 77aac1b is described below commit 77aac1b536be29a47b403be218145400fb9912b0 Author: Antonio Vieiro <vie...@users.noreply.github.com> AuthorDate: Sat Jan 19 10:10:38 2019 +0100 NOTE: Admonitions Replacing *Note:* with NOTE: to comply with asciidoc requirements. --- .../src/content/kb/docs/ide/cvs.asciidoc | 4 ++-- .../src/content/kb/docs/ide/git.asciidoc | 26 +++++++++++----------- .../kb/docs/ide/git_nb_ssh_screencast.asciidoc | 2 +- .../install-and-configure-mysql-server.asciidoc | 6 ++--- .../content/kb/docs/ide/mercurial-queues.asciidoc | 14 ++++++------ .../src/content/kb/docs/ide/mercurial.asciidoc | 14 ++++++------ .../src/content/kb/docs/ide/mysql.asciidoc | 2 +- .../src/content/kb/docs/ide/oracle-db.asciidoc | 2 +- .../src/content/kb/docs/ide/subversion.asciidoc | 2 +- .../src/content/kb/docs/java/code-inspect.asciidoc | 6 ++--- .../kb/docs/java/debug-multithreaded.asciidoc | 2 +- .../kb/docs/java/editor-inspect-transform.asciidoc | 12 +++++----- .../kb/docs/java/gbcustomizer-advanced.asciidoc | 16 ++++++------- .../kb/docs/java/gbcustomizer-basic.asciidoc | 6 ++--- .../kb/docs/java/gui-automatic-i18n.asciidoc | 4 ++-- .../src/content/kb/docs/java/gui-binding.asciidoc | 8 +++---- .../content/kb/docs/java/gui-filechooser.asciidoc | 2 +- .../kb/docs/java/gui-functionality.asciidoc | 8 +++---- .../src/content/kb/docs/java/gui-gaps.asciidoc | 6 ++--- .../kb/docs/java/gui-image-display.asciidoc | 2 +- .../kb/docs/java/hibernate-java-se.asciidoc | 2 +- .../content/kb/docs/java/javase-deploy.asciidoc | 16 ++++++------- .../content/kb/docs/java/javase-embedded.asciidoc | 4 ++-- .../src/content/kb/docs/java/javase-intro.asciidoc | 2 +- .../src/content/kb/docs/java/javase-jdk8.asciidoc | 4 ++-- .../src/content/kb/docs/java/jmx-getstart.asciidoc | 2 +- .../kb/docs/java/maven-hib-java-se.asciidoc | 2 +- .../src/content/kb/docs/java/native_pkg.asciidoc | 14 ++++++------ .../content/kb/docs/java/profiler-intro.asciidoc | 2 +- .../content/kb/docs/java/quickstart-gui.asciidoc | 16 ++++++------- .../kb/docs/javaee/javaee-entapp-ejb.asciidoc | 2 +- .../content/kb/docs/javaee/maven-entapp.asciidoc | 2 +- .../kb/docs/javaee/profiler-javaee.asciidoc | 2 +- .../src/content/kb/docs/javame/imp-ng.asciidoc | 8 +++---- .../src/content/kb/docs/javame/java-card.asciidoc | 2 +- .../src/content/kb/docs/javame/javacard.asciidoc | 2 +- .../kb/docs/javame/nb_me8_screencast.asciidoc | 2 +- .../docs/javame/nb_me_plugins_screencast.asciidoc | 2 +- .../content/kb/docs/php/ajax-quickstart.asciidoc | 6 ++--- .../content/kb/docs/php/code-templates.asciidoc | 4 ++-- .../php/configure-php-environment-ubuntu.asciidoc | 2 +- .../php/configure-php-environment-windows.asciidoc | 6 ++--- .../src/content/kb/docs/php/debugging.asciidoc | 6 ++--- .../src/content/kb/docs/php/phpunit.asciidoc | 2 +- .../src/content/kb/docs/php/project-setup.asciidoc | 2 +- .../src/content/kb/docs/php/quickstart.asciidoc | 2 +- .../content/kb/docs/php/screencast-apigen.asciidoc | 2 +- .../content/kb/docs/php/wish-list-lesson1.asciidoc | 6 ++--- .../content/kb/docs/php/wish-list-lesson2.asciidoc | 2 +- .../content/kb/docs/php/wish-list-lesson3.asciidoc | 2 +- .../content/kb/docs/php/wish-list-lesson4.asciidoc | 2 +- .../content/kb/docs/php/wish-list-lesson6.asciidoc | 4 ++-- .../content/kb/docs/php/wish-list-lesson8.asciidoc | 2 +- 53 files changed, 140 insertions(+), 140 deletions(-) diff --git a/netbeans.apache.org/src/content/kb/docs/ide/cvs.asciidoc b/netbeans.apache.org/src/content/kb/docs/ide/cvs.asciidoc index 64aef8f..9649778 100644 --- a/netbeans.apache.org/src/content/kb/docs/ide/cvs.asciidoc +++ b/netbeans.apache.org/src/content/kb/docs/ide/cvs.asciidoc @@ -34,7 +34,7 @@ This document demonstrates how to perform basic versioning tasks in the IDE by g CVS, or Concurrent Versions System, is an open-source version control system that keeps track of all work and changes in a set of files. This is typically used during the implementation of a software project, allowing multiple developers to collaborate. For more information about CVS, consult the link:http://ximbiot.com/cvs/[+official documentation+]. -*Note:* After NetBeans IDE 7.0.1, CVS support is available after installing the CVS plugin from the NetBeans IDE Update Center. Please see the link:http://wiki.netbeans.org/CVSSupport[+CVS FAQ+] page for details. +NOTE: After NetBeans IDE 7.0.1, CVS support is available after installing the CVS plugin from the NetBeans IDE Update Center. Please see the link:http://wiki.netbeans.org/CVSSupport[+CVS FAQ+] page for details. image::images/netbeans-stamp-80-74-73.png[title="Content on this page applies to the NetBeans IDE 6.9 and more recent"] @@ -92,7 +92,7 @@ If you want to connect to a remote repository from the IDE, then check out files Depending on the method you are using you may need to specify other information, such as a password and proxy settings for connecting to a remote repository (e.g. for `pserver`). Click Next. -*Note:*If you are trying to set up public key SSH authentication, see: link:http://wiki.netbeans.org/wiki/view/FaqHowToSetUpSSHAuth[+How to set up public key SSH authentication?+]. +NOTE:If you are trying to set up public key SSH authentication, see: link:http://wiki.netbeans.org/wiki/view/FaqHowToSetUpSSHAuth[+How to set up public key SSH authentication?+]. For more help with accessing local repositories, see: link:http://wiki.netbeans.org/wiki/view/FaqHowToAccessLocalCVS[+How can I access local repositories?+] 3. In the Modules to Checkout panel of the wizard, specify the module that you want to check out in the Module field. If you do not know the name of the module you want to check out, click the Browse button to view the repository's contents. From the Browse CVS Module dialog that appears, select any of the listed modules and click OK. Your selection is then added to the Module field: diff --git a/netbeans.apache.org/src/content/kb/docs/ide/git.asciidoc b/netbeans.apache.org/src/content/kb/docs/ide/git.asciidoc index fad30d4..5043739 100644 --- a/netbeans.apache.org/src/content/kb/docs/ide/git.asciidoc +++ b/netbeans.apache.org/src/content/kb/docs/ide/git.asciidoc @@ -105,7 +105,7 @@ After a Git repository is cloned, the metadata ``.git`` folder is created insi To clone a repository from GitHub via the SSH protocol, proceed as follows: -*Note:* You need to have a GitHub account and be a project member in order to clone via SSH. +NOTE: You need to have a GitHub account and be a project member in order to clone via SSH. 1. Choose ``Team`` > ``Git`` > ``Clone`` from the main menu. The Clone Repository wizard displays. 2. At the Remote Repository page of the Clone Repository wizard, specify the path to the repository required in the Repository URL field, for example, ``g...@github.com:apache/incubator-netbeans.git`` . @@ -114,7 +114,7 @@ To clone a repository from GitHub via the SSH protocol, proceed as follows: 5. (*Skip if using SSH-agent or Pageant for automated SSH access to the Git server.*) Complete the following steps to access the Git server using your private SSH key and a passphrase: 1. Specify the path to the key file, for example ``C:\Users\key`` . -*Note:* The OpenSSH private key format is required. Keys generated by PuTTYgen for Microsoft Windows must be converted to the OpenSSH format before using them in the IDE. +NOTE: The OpenSSH private key format is required. Keys generated by PuTTYgen for Microsoft Windows must be converted to the OpenSSH format before using them in the IDE. 2. Enter the passphrase for the key file, for example, ``abcd`` . 3. (Optional) Select the Save Passphrase option if required. @@ -186,7 +186,7 @@ This displays the list of files that are not staged. |=== -*Note:* The <<viewFileStatus,status>> of the file in the HEAD displays in green to the left of the slash like shown in the following picture. +NOTE: The <<viewFileStatus,status>> of the file in the HEAD displays in green to the left of the slash like shown in the following picture. image::images/new.png[] @@ -220,7 +220,7 @@ The Source Editor's left margin shows changes occurring on a line-by-line basis. image::images/left-margin.png[] -*Note:* You can click on a color grouping in the margin to call versioning commands. For example, the picture below shows widgets available to you when clicking a red icon which indicates that lines have been removed from your local copy: +NOTE: You can click on a color grouping in the margin to call versioning commands. For example, the picture below shows widgets available to you when clicking a red icon which indicates that lines have been removed from your local copy: image::images/left-widgets.png[] @@ -349,7 +349,7 @@ image::images/versioning-right-click-small.png[role="left", link="images/version Comparing file versions is a common task when working with versioned projects. The IDE enables you to compare revisions by using the Diff command: -*Note:* Several comparing modes - Diff To HEAD, Diff To Tracked, and Diff To - are available in the IDE. +NOTE: Several comparing modes - Diff To HEAD, Diff To Tracked, and Diff To - are available in the IDE. 1. Select a versioned file or folder (e.g. from the ``Projects`` , ``Files`` , or ``Favorites`` window). 2. Choose ``Team`` > ``Diff`` > ``Diff to HEAD`` from the main menu. @@ -362,7 +362,7 @@ image::images/diff-viewer-small.png[role="left", link="images/diff-viewer.png"] The Diff Viewer makes use of the same <<color-coding-table,color coding>> used elsewhere to display version control changes. In the screen capture displayed above, the green block indicates content that has been added to the more current revision. The red block indicates that content from the earlier revision has been removed from the later. Blue indicates that changes have occurred within the highlighted line(s). -*Note:* Other revisions can be selected from the ``Diff`` and ``to`` drop-down lists below the Diff Viewer toolbar. +NOTE: Other revisions can be selected from the ``Diff`` and ``to`` drop-down lists below the Diff Viewer toolbar. The Diff Viewer toolbar also includes buttons that enable you to invoke the most common Git tasks on all files displayed in the list. The following table lists the Git commands available in the toolbar of the Diff Viewer: @@ -505,7 +505,7 @@ To create a local branch, if you want to work on a separate version of your file 1. In the Projects or Files window, choose a project or folder from the repository in which you want to create the branch. 2. In the main menu, choose Team > Branch/Tag > Create Branch. -*Note:* As an alternative right-click the versioned project or folder and choose Git > Branch/Tag > Create Branch in the popup menu. +NOTE: As an alternative right-click the versioned project or folder and choose Git > Branch/Tag > Create Branch in the popup menu. The Create Branch dialog box displays. @@ -543,14 +543,14 @@ image::images/chkout-rev-small.png[role="left", link="images/chkout-rev.png"] 2. Specify the revision required by entering a commit ID, existing branch, or tag name in the Revision field or press Select to view the list of revisions maintained in the repository. 3. Skip if you did not press Select in the previous step. In the Select Revision dialog box, expand Branches and choose the branch required, specify the commit ID in the adjacent list if required, and press Select. -*Note:* If the specified revision refers to a valid commit that is not marked with a branch name, your HEAD becomes detached and you are no longer on any branch. +NOTE: If the specified revision refers to a valid commit that is not marked with a branch name, your HEAD becomes detached and you are no longer on any branch. 4. Review the Commit ID, Author, Message fields information specific to the revision being checked out. 5. To create a new branch out of the checked out revision, choose the Checkout as New Branch option and enter the name in the Branch Name field. 6. Press Checkout to check out revision. Files in the Working Tree and in the Index are updated to match the version in the specified revision. -*Note:* If you want to switch your files to a branch that already exists (e.g., to a commit that is not at the top of one of your branches), you can use the Team > Git > Branch > Switch To Branch command, specify the branch in the Switch to Selected Branch dialog box, check it out as a new branch (optionally), and press Switch. +NOTE: If you want to switch your files to a branch that already exists (e.g., to a commit that is not at the top of one of your branches), you can use the Team > Git > Branch > Switch To Branch command, specify the branch in the Switch to Selected Branch dialog box, check it out as a new branch (optionally), and press Switch. The IDE supports context-sensitive checkout of the file(s), folder(s), or project(s) currently selected in the IDE. To check out some files (not a branch) from the Index, complete the following steps: @@ -586,9 +586,9 @@ image::images/merge-small.png[role="left", link="images/merge.png"] 4. Press Merge. A three-way merge between the current branch, your Working Tree contents, and the specified branch is done. -*Note:* If a merge conflict occurs, the conflicting file is marked with <<badges,a red badge>> to indicate this. +NOTE: If a merge conflict occurs, the conflicting file is marked with <<badges,a red badge>> to indicate this. -*Note:* After merging you must still <<committing,commit>> the changes in order for them to be added to the HEAD. +NOTE: After merging you must still <<committing,commit>> the changes in order for them to be added to the HEAD. === Deleting a Branch @@ -598,7 +598,7 @@ To delete an unnecessary local branch, complete the following steps: 1. Choose Team > Repository Browser from the main menu. 2. In the Git Repository Browser, choose the branch to be deleted. -*Note:* The branch must be inactive, i.e. not currently checked out into the Working Tree. +NOTE: The branch must be inactive, i.e. not currently checked out into the Working Tree. 3. Right-click the selected branch and choose Delete Branch from the popup menu. 4. In the Delete Branch dialog box, press OK to confirm the branch deletion. @@ -656,7 +656,7 @@ Your local repository is synchronized with the origin repository. To contribute changes from your local Git repository into a public Git repository, perform the following steps: -*Note:* When you are going to push your commits into a repository and some other changes have been pushed in the meantime, you need to pull and merge those changes first. +NOTE: When you are going to push your commits into a repository and some other changes have been pushed in the meantime, you need to pull and merge those changes first. 1. Choose Team > Remote > Push. The Push to Remote Repository wizard displays. diff --git a/netbeans.apache.org/src/content/kb/docs/ide/git_nb_ssh_screencast.asciidoc b/netbeans.apache.org/src/content/kb/docs/ide/git_nb_ssh_screencast.asciidoc index 64bfd75..50fdae2 100644 --- a/netbeans.apache.org/src/content/kb/docs/ide/git_nb_ssh_screencast.asciidoc +++ b/netbeans.apache.org/src/content/kb/docs/ide/git_nb_ssh_screencast.asciidoc @@ -41,7 +41,7 @@ Time: 3:25 link:http://bits.netbeans.org/media/git_nb_ssh.mp4[+Watch full size/Download+] (.mp4) (Ctrl-Click to download, 6,7 MB) -*Note:* Closed captioning is available for this video. Click the CC button at the bottom of the video to turn closed captions on. +NOTE: Closed captioning is available for this video. Click the CC button at the bottom of the video to turn closed captions on. link:/about/contact_form.html?to=3&subject=Feedback:%20Screencast%20-%20Cloning%20a%20Git%20Repository%20Using%20NetBeans%20IDE[+Send Us Your Feedback+] | | diff --git a/netbeans.apache.org/src/content/kb/docs/ide/install-and-configure-mysql-server.asciidoc b/netbeans.apache.org/src/content/kb/docs/ide/install-and-configure-mysql-server.asciidoc index bc1a848..3370c39 100644 --- a/netbeans.apache.org/src/content/kb/docs/ide/install-and-configure-mysql-server.asciidoc +++ b/netbeans.apache.org/src/content/kb/docs/ide/install-and-configure-mysql-server.asciidoc @@ -34,7 +34,7 @@ This document recommends a sequence of steps to set up the MySQL database server For information about installing and configuring MySQL database server for other operating systems, refer to the link:http://dev.mysql.com/doc/refman/5.6/en/installing.html[+Installing and Upgrading MySQL+] documentation. -*Note:* The link:../../72/ide/install-and-configure-mysql-server.html[+Setting Up the MySQL Database Server 5.1 versions in the Windows Operating System+] document provides the instructions on setting up the 5.1 versions of MySQL Server on Windows. +NOTE: The link:../../72/ide/install-and-configure-mysql-server.html[+Setting Up the MySQL Database Server 5.1 versions in the Windows Operating System+] document provides the instructions on setting up the 5.1 versions of MySQL Server on Windows. == Contents @@ -76,7 +76,7 @@ When the server installation is completed successfully, the information message * *Open Firewall port for network access*. Select to add firewall exception for the specified port. * *Advanced Configuration.* Select the Show Advanced Options checkbox to display an additional configuration page for setting advanced options for the server instance if required. -*Note:* Choosing this option is necessary to get to the panel for setting the network options where you will turn off the firewall for the port used by the MySQL server. +NOTE: Choosing this option is necessary to get to the panel for setting the network options where you will turn off the firewall for the port used by the MySQL server. Click Next. 11. At the second MySQL Server Configuration page (2/3), set the following options: @@ -84,7 +84,7 @@ Click Next. * *MySQL Root Password*. Enter the root user's password. * *Repeat Password*. Retype the root user's password. -*Note:* The root user is a user who has full access to the MySQL database server - creating, updating, and removing users, and so on. Remember the root password - you will need it later when creating a sample database. +NOTE: The root user is a user who has full access to the MySQL database server - creating, updating, and removing users, and so on. Remember the root password - you will need it later when creating a sample database. * *MySQL User Accounts*. Click Add User to create a user account. In the MySQL User Details dialog box, enter a user name, a database role, and a password (for example, ``!phpuser`` ). Click OK. Click Next. diff --git a/netbeans.apache.org/src/content/kb/docs/ide/mercurial-queues.asciidoc b/netbeans.apache.org/src/content/kb/docs/ide/mercurial-queues.asciidoc index 88b76ac..143768c 100644 --- a/netbeans.apache.org/src/content/kb/docs/ide/mercurial-queues.asciidoc +++ b/netbeans.apache.org/src/content/kb/docs/ide/mercurial-queues.asciidoc @@ -60,7 +60,7 @@ image::images/netbeans-stamp-80-74.png[title="Content on this page applies to th |link:http://mercurial.selenic.com/downloads/[+Mercurial client software+] |1.04 or higher |=== -*Note:* Refer to the link:mercurial.html#settingUp[+Using Mercurial Support in NetBeans IDE+] for information on how to install Mercurial client software on your system. +NOTE: Refer to the link:mercurial.html#settingUp[+Using Mercurial Support in NetBeans IDE+] for information on how to install Mercurial client software on your system. == Enabling the Mercurial Queues Support @@ -100,7 +100,7 @@ Alternatively, choose either of the following options and click OK afterwards: * click the Recent Messages button (image::images/recent.png[]) to select a message from a list of most recent commit messages * click the Load Template button (image::images/load.png[]) to select a message template for a commit message. -*Note:* The provided description of a patch will be used as a commit message when <<finish,turning the patch into a permanent changeset>>. +NOTE: The provided description of a patch will be used as a commit message when <<finish,turning the patch into a permanent changeset>>. 4. Select files to be included into the patch in the Files To Include In Patch table. 5. (Optional) Specify information pertinent to an issue related to the created patch using the fields of the Update Issue area. @@ -127,7 +127,7 @@ Alternatively, choose either of the following options and click OK afterwards: * click the Recent Messages button (image::images/recent.png[]) to select a message from a list of most recent commit messages * click the Load Template button (image::images/load.png[]) to select a message template for a commit message. -*Note:* The provided description of a patch will be used as a commit message when <<finish,turning the patch into a permanent changeset>>. +NOTE: The provided description of a patch will be used as a commit message when <<finish,turning the patch into a permanent changeset>>. 3. Select files to be included into the patch in the Files To Include In Patch table. 4. (Optional) In the Update Issue area, specify information pertinent to an issue related to the changes being committed. @@ -151,7 +151,7 @@ image::images/qdiff-small.png[role="left", link="images/qdiff.png"] 2. Review and revise differences found in the compared files using either Graphical or Textual Diff Viewer. -*Note:* The Graphical Diff Viewer highlights changes in the files using the following color encoding. +NOTE: The Graphical Diff Viewer highlights changes in the files using the following color encoding. |=== |*Blue* ( ) |Indicates lines that have been changed since the earlier patch. @@ -180,7 +180,7 @@ The following icons enable you to make changes directly within the Graphical Dif To switch to a particular patch in a patch queue series, you need to complete the following steps: -*Note:* To switch between patches there _must_ be _no_ local modifications in the working copy, otherwise the switch fails. +NOTE: To switch between patches there _must_ be _no_ local modifications in the working copy, otherwise the switch fails. 1. Choose ``Team`` > ``Queues`` > ``Go To Patch`` from the main menu (alternatively, right-click the project name and select ``Mercurial`` > ``Queues`` > `` Go To Patch`` from the pop-up menu). The Go To Patch dialog box displays a list of all patches available in a stack. @@ -202,7 +202,7 @@ The IDE applies the changes contained in the selected patch to the chosen projec Once your work on a patch is done, it can be turned into a permanent changeset. To turn all applied patches in a patch queue series into regular changesets, complete the following steps: -*Note:* To apply all saved patches in the repository, choose ``Team`` > ``Queues`` > ``Push All Patches`` from the main menu. +NOTE: To apply all saved patches in the repository, choose ``Team`` > ``Queues`` > ``Push All Patches`` from the main menu. 1. Choose ``Team`` > ``Queues`` > ``Finish Patches`` from the main menu (alternatively, right-click the project name and select ``Mercurial`` > ``Queues`` > ``Finish Patches`` from the pop-up menu). The Finish Patches dialog box displays. @@ -211,7 +211,7 @@ image::images/finish-patches.png[] 2. Select the name of a patch to be finished in the patches field. -*Note:* All patches in the series before the selected patch will also be finished. +NOTE: All patches in the series before the selected patch will also be finished. 3. Click Finish Patches. The IDE turns all applied patches up to the selected patch into regular changesets. diff --git a/netbeans.apache.org/src/content/kb/docs/ide/mercurial.asciidoc b/netbeans.apache.org/src/content/kb/docs/ide/mercurial.asciidoc index cfb564f..782f8d8 100644 --- a/netbeans.apache.org/src/content/kb/docs/ide/mercurial.asciidoc +++ b/netbeans.apache.org/src/content/kb/docs/ide/mercurial.asciidoc @@ -101,7 +101,7 @@ To create a Mercurial repository on your computer using the command-line, type i hg clone /path/to/your/repository ---- -*Note:* The NetBeans Mercurial repositories (link:http://hg.netbeans.org/[+http://hg.netbeans.org/+]) are used for demonstration purposes in this tutorial. +NOTE: The NetBeans Mercurial repositories (link:http://hg.netbeans.org/[+http://hg.netbeans.org/+]) are used for demonstration purposes in this tutorial. == Synchronizing Local Files with a Repository @@ -129,7 +129,7 @@ If you want to connect to a remote repository from the IDE, then check out files image::images/clone-repository-small.png[role="left", link="images/clone-repository.png"] -- -*Note:* The IDE's drop-down menus are context-sensitive, i.e. the available options depend on the item currently selected. Therefore, if you are already working within a Mercurial project, you can choose ``Team`` > ``Remote`` > ``Clone Other`` from the main menu. +NOTE: The IDE's drop-down menus are context-sensitive, i.e. the available options depend on the item currently selected. Therefore, if you are already working within a Mercurial project, you can choose ``Team`` > ``Remote`` > ``Clone Other`` from the main menu. 2. In Repository URL, enter the path to the repository (e.g. ``http://hg.netbeans.org/main`` ). 3. In the User and Password fields that the Clone wizard displays, enter your netbeans.org username and password. @@ -157,7 +157,7 @@ image::images/clone-push-small.png[role="left", link="images/clone-push.png"] image::images/clone-destination-small.png[role="left", link="images/clone-destination.png"] -- -*Note:* If you are running Windows, be careful of the path length that you specify; i.e., ``C:\Documents and Settings\myName\My Documents\NetBeans\etc\etc`` can cause an unsuccessful clone due to very long file paths. Try using ``C:\`` instead. +NOTE: If you are running Windows, be careful of the path length that you specify; i.e., ``C:\Documents and Settings\myName\My Documents\NetBeans\etc\etc`` can cause an unsuccessful clone due to very long file paths. Try using ``C:\`` instead. 10. Leave the Scan for NetBeans Projects after Checkout option selected, then click Finish to initiate the check out action. The IDE checks out the specified sources and the IDE's status bar indicates the progress of the files downloading from the repository to your local working directory. You can also view files as they are being checked out from the Output window (Ctrl-4 on Windows/Command-4 on OS X). @@ -190,7 +190,7 @@ Choose Window > Output to open the Output window and view the progress. image::images/output-small.png[role="left", link="images/output.png"] -- -*Note:* After the project files are placed under Mercurial version control, they get registered in the repository as ``Locally New`` . The new files and their status can be viewed by clicking on ``Mercurial`` > ``Show changes`` from the right-click menu. +NOTE: After the project files are placed under Mercurial version control, they get registered in the repository as ``Locally New`` . The new files and their status can be viewed by clicking on ``Mercurial`` > ``Show changes`` from the right-click menu. [.feature] -- @@ -206,7 +206,7 @@ image::images/commit-dialog-small.png[role="left", link="images/commit-dialog.pn 5. Type your message in the Commit Message text area and click Commit. -*Note:* The committed files are placed together with the ``.hg`` directory in the Mercurial repository directory. The commit details are available in the IDE Output window (Ctrl-4 on Windows/Command-4 on OS X). +NOTE: The committed files are placed together with the ``.hg`` directory in the Mercurial repository directory. The commit details are available in the IDE Output window (Ctrl-4 on Windows/Command-4 on OS X). == Editing Sources @@ -262,7 +262,7 @@ When you are working in the Projects (Ctrl-1 on Windows/Command-1 on OS X), File image::images/badge-example.png[] -*Note:* Status labels are textual indication of file status in the Versioning, Projects, and Files windows. To display status labels, choose View > Show Versioning Labels from the main toolbar. +NOTE: Status labels are textual indication of file status in the Versioning, Projects, and Files windows. To display status labels, choose View > Show Versioning Labels from the main toolbar. Badges, color coding, file status labels, and perhaps most importantly, the Versioning window all contribute to your ability to effectively view and manage and versioning information in the IDE. @@ -495,7 +495,7 @@ Before pushing changes that you have committed locally to the shared repository, To push changes, choose ``Team`` > ( ``Mercurial`` >) ``Remote`` > ``Push Current Branch`` , ``Team`` > ( ``Mercurial`` >) ``Remote`` > ``Push All Branches`` , or ``Team`` > ( ``Mercurial`` >) ``Remote`` > ``Push`` from the main menu. The output from a successful Push will list any changesets created. -*Note:* Since you maintain a copy of the entire repository on your system, the general practice is to make multiple commits to your local repository and only after the particular task is complete, perform the push to the shared repository. +NOTE: Since you maintain a copy of the entire repository on your system, the general practice is to make multiple commits to your local repository and only after the particular task is complete, perform the push to the shared repository. == Summary diff --git a/netbeans.apache.org/src/content/kb/docs/ide/mysql.asciidoc b/netbeans.apache.org/src/content/kb/docs/ide/mysql.asciidoc index f241232..fb791f2 100644 --- a/netbeans.apache.org/src/content/kb/docs/ide/mysql.asciidoc +++ b/netbeans.apache.org/src/content/kb/docs/ide/mysql.asciidoc @@ -50,7 +50,7 @@ image::images/netbeans-stamp-80-74-73.png[title="Content on this page applies to |MySQL database server |link:http://dev.mysql.com/downloads/mysql/[+version 5.x+] |=== -*Note:* This tutorial assumes that you already have the MySQL RDBMS installed and configured on your computer. If you are installing for the first time, please refer to the official link:http://dev.mysql.com/doc/refman/5.0/en/installing-cs.html[+MySQL documentation+] for help. You can also refer to link:install-and-configure-mysql-server.html[+Setting Up the MySQL Database Server in the Windows Operating System+]. +NOTE: This tutorial assumes that you already have the MySQL RDBMS installed and configured on your computer. If you are installing for the first time, please refer to the official link:http://dev.mysql.com/doc/refman/5.0/en/installing-cs.html[+MySQL documentation+] for help. You can also refer to link:install-and-configure-mysql-server.html[+Setting Up the MySQL Database Server in the Windows Operating System+]. == Configuring MySQL Server Properties diff --git a/netbeans.apache.org/src/content/kb/docs/ide/oracle-db.asciidoc b/netbeans.apache.org/src/content/kb/docs/ide/oracle-db.asciidoc index 155f1f2..31b88ef 100644 --- a/netbeans.apache.org/src/content/kb/docs/ide/oracle-db.asciidoc +++ b/netbeans.apache.org/src/content/kb/docs/ide/oracle-db.asciidoc @@ -108,7 +108,7 @@ If the attempt is successful, the message "Connection succeeded" is displayed in image::images/customize-conn.png[] 7. Select ``HR`` in the Select Schema dropdown list. Click Finish. -*Note:* You need to unlock the HR schema before you can access it in NetBeans. Unlocking the HR database is described in the Oracle Database XE link:http://download.oracle.com/docs/cd/B25329_01/doc/admin.102/b25610/toc.htm[+Getting Started tutorial+]. +NOTE: You need to unlock the HR schema before you can access it in NetBeans. Unlocking the HR database is described in the Oracle Database XE link:http://download.oracle.com/docs/cd/B25329_01/doc/admin.102/b25610/toc.htm[+Getting Started tutorial+]. The new connection will appear under the Databases node in the Services window. You can expand it and start browsing the database object's structure. Change the display name for the connection node: choose Properties from the node's popup menu and click the ellipsis button for the Display Name property. Enter OracleDB as the Display Name and click OK. diff --git a/netbeans.apache.org/src/content/kb/docs/ide/subversion.asciidoc b/netbeans.apache.org/src/content/kb/docs/ide/subversion.asciidoc index 84706b5..6510d8e 100644 --- a/netbeans.apache.org/src/content/kb/docs/ide/subversion.asciidoc +++ b/netbeans.apache.org/src/content/kb/docs/ide/subversion.asciidoc @@ -455,7 +455,7 @@ You can choose whether to view files containing changes from the local working c |*Both* ( image::images/both-mod.png[] ): |Displays both locally and remotely modified files |=== -*Note:* The color scheme described in the <<badges, Badges and Color Coding>> section is disregarded with respect to the above mentioned icons. +NOTE: The color scheme described in the <<badges, Badges and Color Coding>> section is disregarded with respect to the above mentioned icons. === Merging File Revisions diff --git a/netbeans.apache.org/src/content/kb/docs/java/code-inspect.asciidoc b/netbeans.apache.org/src/content/kb/docs/java/code-inspect.asciidoc index 58a1e73..40ef9b7 100644 --- a/netbeans.apache.org/src/content/kb/docs/java/code-inspect.asciidoc +++ b/netbeans.apache.org/src/content/kb/docs/java/code-inspect.asciidoc @@ -120,7 +120,7 @@ The description of the currently selected in the tree view finding is displayed image::images/alldescription-small.png[role="left", link="images/alldescription.png"] -- -*Note:* If you want to leave some part of your code that is reported as problematic as is, the IDE allows you to suppress the warning for this code to leave it without any changes. You can double-click a warning in the tree view of the Inspector Window to go to the Source Editor. Press Alt-Enter, click the black arrow pointing to the right at the end of the displayed hint, and choose ``SuppressWarning - _(warning name)_`` . +NOTE: If you want to leave some part of your code that is reported as problematic as is, the IDE allows you to suppress the warning for this code to leave it without any changes. You can double-click a warning in the tree view of the Inspector Window to go to the Source Editor. Press Alt-Enter, click the black arrow pointing to the right at the end of the displayed hint, and choose ``SuppressWarning - _(warning name)_`` . [.feature] -- @@ -283,7 +283,7 @@ The created ``newConfig`` configuration is available in the Configuration drop image::images/newconfig-inspect-small.png[role="left", link="images/newconfig-inspect.png"] -- -*Note:* To rename a configuration, select the ``newConfig`` configuration in the Configurations drop-down list, click the black arrow at the end of the Configurations drop-down list and choose Rename. Type a new name (for example, ``renamedConfig`` ) and press Enter to save your edits. +NOTE: To rename a configuration, select the ``newConfig`` configuration in the Configurations drop-down list, click the black arrow at the end of the Configurations drop-down list and choose Rename. Type a new name (for example, ``renamedConfig`` ) and press Enter to save your edits. image::images/renamedconfig.png[] @@ -302,7 +302,7 @@ image::images/delete-confirm.png[] The ``renamedConfig`` configuration is deleted from the Configurations list. -*Note:* Refer to the link:http://platform.netbeans.org/tutorials/nbm-java-hint.html[+NetBeans Java Hint Module Tutorial+] for information on how to create a NetBeans module that provides one or more NetBeans Java hints. +NOTE: Refer to the link:http://platform.netbeans.org/tutorials/nbm-java-hint.html[+NetBeans Java Hint Module Tutorial+] for information on how to create a NetBeans module that provides one or more NetBeans Java hints. === Running Single Inspections diff --git a/netbeans.apache.org/src/content/kb/docs/java/debug-multithreaded.asciidoc b/netbeans.apache.org/src/content/kb/docs/java/debug-multithreaded.asciidoc index 992a910..56c4603 100644 --- a/netbeans.apache.org/src/content/kb/docs/java/debug-multithreaded.asciidoc +++ b/netbeans.apache.org/src/content/kb/docs/java/debug-multithreaded.asciidoc @@ -36,7 +36,7 @@ The Debugging window simplifies the debugging process by integrating into one wi This tutorial uses two sample projects to demonstrate how to work with the Debugging window. To complete this tutorial you first download and open the projects Gallery and Deadlock. -*Note:* To follow this tutorial, you need the link:https://netbeans.org/projects/samples/downloads/download/Samples/Java/debugging-samples.zip[+Gallery Project and Deadlock Project+]. +NOTE: To follow this tutorial, you need the link:https://netbeans.org/projects/samples/downloads/download/Samples/Java/debugging-samples.zip[+Gallery Project and Deadlock Project+]. === Downloading the Sample Projects diff --git a/netbeans.apache.org/src/content/kb/docs/java/editor-inspect-transform.asciidoc b/netbeans.apache.org/src/content/kb/docs/java/editor-inspect-transform.asciidoc index 796d49d..40ad9cd 100644 --- a/netbeans.apache.org/src/content/kb/docs/java/editor-inspect-transform.asciidoc +++ b/netbeans.apache.org/src/content/kb/docs/java/editor-inspect-transform.asciidoc @@ -87,7 +87,7 @@ A set of refactorings grouped together constitute a configuration that can be ru * <<migrate8,Migrate to JDK 8>> * <<organize,Organize Imports>> -*Note:* Not all releases of the JDK introduce new language features. +NOTE: Not all releases of the JDK introduce new language features. ==== Migrate to JDK 5 @@ -98,7 +98,7 @@ The ``Migrate to JDK 5`` configuration available in the IDE by default incorpo image::images/jdk5-conf-small.png[role="left", link="images/jdk5-conf.png"] -- -*Note:* The list of refactorings in the configuration can be modified in the Inspections list of the Manage Inspections dialog box by selecting and deselecting the items under the ``JDK Migration Support`` node. +NOTE: The list of refactorings in the configuration can be modified in the Inspections list of the Manage Inspections dialog box by selecting and deselecting the items under the ``JDK Migration Support`` node. ==== Migrate to JDK 7 @@ -109,7 +109,7 @@ The ``Migrate to JDK 7`` configuration available in the IDE by default incorpo image::images/jdk7-conf-small.png[role="left", link="images/jdk7-conf.png"] -- -*Note:* The list of refactorings in the configuration can be modified in the Inspections list of the Manage Inspections dialog box by selecting and deselecting the items under the ``JDK Migration Support`` node. +NOTE: The list of refactorings in the configuration can be modified in the Inspections list of the Manage Inspections dialog box by selecting and deselecting the items under the ``JDK Migration Support`` node. *To run and apply the default ``Migrate to JDK 7`` configuration:* @@ -135,13 +135,13 @@ The ``Migrate to JDK 8`` configuration available in the IDE by default incorpo image::images/jdk8-conf-small.png[role="left", link="images/jdk8-conf.png"] -- -*Note:* The list of refactorings in the configuration can be modified in the Inspections list of the Manage Inspections dialog box by selecting and deselecting the items under the ``JDK Migration Support`` node. +NOTE: The list of refactorings in the configuration can be modified in the Inspections list of the Manage Inspections dialog box by selecting and deselecting the items under the ``JDK Migration Support`` node. ==== Organize Imports The ``Organize Imports`` configuration enables you to inspect the way import statements are organized in the code and refactor your code if desired. By default it includes a single inspection that checks whether import statements correspond to the specified code style rules. -*Note:* To configure the code style rules for import statements: +NOTE: To configure the code style rules for import statements: 1. Choose Tools > Options > Editor > Formatting in the main IDE toolbar. 2. Select Java in the Language drop-down list. @@ -176,7 +176,7 @@ image::images/imports-ref-small.png[role="left", link="images/imports-ref.png"] A custom inspection can be created to instruct the IDE what code structures are to be found and how to transform them. -*Note:* To avoid adding a duplicate inspection to the IDE, choose Refactor > Inspect and Transform from the main menu, click either Manage or Browse, and, in the Manage Inspections dialog box, use the Search field to look for the required inspection prior to creating a new inspection. +NOTE: To avoid adding a duplicate inspection to the IDE, choose Refactor > Inspect and Transform from the main menu, click either Manage or Browse, and, in the Manage Inspections dialog box, use the Search field to look for the required inspection prior to creating a new inspection. *To create a custom inspection:* diff --git a/netbeans.apache.org/src/content/kb/docs/java/gbcustomizer-advanced.asciidoc b/netbeans.apache.org/src/content/kb/docs/java/gbcustomizer-advanced.asciidoc index 08eebed..70e1d7e 100644 --- a/netbeans.apache.org/src/content/kb/docs/java/gbcustomizer-advanced.asciidoc +++ b/netbeans.apache.org/src/content/kb/docs/java/gbcustomizer-advanced.asciidoc @@ -69,7 +69,7 @@ Before starting to lay out the components with the help of the GridBag Customize 1. Download and unzip the link:https://netbeans.org/projects/samples/downloads/download/Samples%252FJava%252Fgbcustomizer-advanced-tutorial.zip[+gbcustomizer-advanced-tutorial.zip+] project to any location on your computer. 2. In the NetBeans IDE Projects tab, click Open Project on the File menu, navigate to the ``GridBagCustomizerAdvancedTutorial`` project that you extracted in the previous step, and click Open Project. The project folder might be in a containing folder that is also called ``GridBagCustomizerAdvancedTutorial`` . -*Note:* The ``GridBagCustomizerAdvancedTutorial`` project uses the ``JUnit`` and ``JUnit 4`` class libraries, which are located in the Update Center. You need to click Resolve Problems in the Open project dialog box, then click Resolve in the Resolve Reference Problems dialog box and install the JUnit plugin following the instructions in the NetBeans IDE Installer. When the installation is completed, click Finish to close the NetBeans IDE Installer dialog box, then click Close to c [...] +NOTE: The ``GridBagCustomizerAdvancedTutorial`` project uses the ``JUnit`` and ``JUnit 4`` class libraries, which are located in the Update Center. You need to click Resolve Problems in the Open project dialog box, then click Resolve in the Resolve Reference Problems dialog box and install the JUnit plugin following the instructions in the NetBeans IDE Installer. When the installation is completed, click Finish to close the NetBeans IDE Installer dialog box, then click Close to clo [...] 3. Expand ``Source Packages > tutorial`` and double-click ``ContactsAdvancedInitial.java`` . The sample form opens in the GUI Builder Design view. @@ -93,7 +93,7 @@ The Customize Layout dialog box opens as shown below. image::images/customizerdialog-small.png[role="left", link="images/customizerdialog.png"] -- -*Note:* In this tutorial the GridBagLayout is already set. In case you work with another form, in step 2 above, right-click the form and choose ``Set Layout`` > ``Grid Bag Layout`` (this enables the ``Customize Layout`` menu item) and complete the procedure. +NOTE: In this tutorial the GridBagLayout is already set. In case you work with another form, in step 2 above, right-click the form and choose ``Set Layout`` > ``Grid Bag Layout`` (this enables the ``Customize Layout`` menu item) and complete the procedure. == Advanced Features @@ -102,7 +102,7 @@ In this section you will use the advanced features of the GridBag Customizer to image::images/targetlayout.png[] -*Note:* To view the target layout in your NetBeans IDE, in the Projects tab, expand ``Source Packages > tutorial`` and double-click ``ContactsAdvancedFinal.java`` . +NOTE: To view the target layout in your NetBeans IDE, in the Projects tab, expand ``Source Packages > tutorial`` and double-click ``ContactsAdvancedFinal.java`` . The ``ContactsAdvancedFinal`` form with the target layout opens in the GUI Builder Design view. @@ -159,7 +159,7 @@ The form should look like shown below. image::images/constraintsset.png[] -*Note:* The GridBag Customizer helps you to add, remove, and change the position of components in the layout. To change properties of the components in the layout like background or text, use the GUI Builder Design window. +NOTE: The GridBag Customizer helps you to add, remove, and change the position of components in the layout. To change properties of the components in the layout like background or text, use the GUI Builder Design window. To set the display text for the ``JLabel1`` , do as follows: @@ -194,7 +194,7 @@ The GridBag Customizer can resize several components together thus making room f image::images/movesecondcolumn.png[] -*Note:* Before dragging make sure the cursor is not changed into a two-way arrow, otherwise you will resize the selection instead. +NOTE: Before dragging make sure the cursor is not changed into a two-way arrow, otherwise you will resize the selection instead. After you move the components, the form should look like shown below. @@ -237,7 +237,7 @@ image::images/enclose-small.png[role="left", link="images/enclose.png"] After the components are enclosed into a subcontainer, the boundary between the ``Home Phone:`` label and text field no longer affects the boundary between the ``Street`` text field and button. -*Note:* The ``Enclose in Container`` action creates a new subcontainer in the cells occupied by the selected components. It moves the selected components into a newly introduced container but it preserves their relative positions and other layout constraints. +NOTE: The ``Enclose in Container`` action creates a new subcontainer in the cells occupied by the selected components. It moves the selected components into a newly introduced container but it preserves their relative positions and other layout constraints. Repeat the two steps listed above for the ``City:`` text field and the ``Browse`` button to the right of it, to enclose them into a subcontainer like shown below. @@ -252,7 +252,7 @@ A new subcontainer is created for the buttons. image::images/subcontainerbuttons.png[] -*Note:* None of the components in the subcontainer is resizable. Therefore, they are placed next to each other in the center of the container, which is the default anchoring. +NOTE: None of the components in the subcontainer is resizable. Therefore, they are placed next to each other in the center of the container, which is the default anchoring. To change the anchoring of the whole subcontainer, complete the following steps: @@ -306,7 +306,7 @@ image::images/newbutton-small.png[role="left", link="images/newbutton.png"] image::images/designparentcontainer.png[] -*Note:* The context menu does not display if you right-click the buttons. +NOTE: The context menu does not display if you right-click the buttons. The layout design is completed. A final change that is not related to layout of the container is left. diff --git a/netbeans.apache.org/src/content/kb/docs/java/gbcustomizer-basic.asciidoc b/netbeans.apache.org/src/content/kb/docs/java/gbcustomizer-basic.asciidoc index 17ed075..44a831c 100644 --- a/netbeans.apache.org/src/content/kb/docs/java/gbcustomizer-basic.asciidoc +++ b/netbeans.apache.org/src/content/kb/docs/java/gbcustomizer-basic.asciidoc @@ -89,7 +89,7 @@ The Customize Layout dialog box opens as shown below. image::images/customizerdialog-small.png[role="left", link="images/customizerdialog.png"] -- -*Note:* In this tutorial the GridBagLayout is already set. In case you work with another form, in step 2 above, right-click the form and choose ``Set Layout`` > ``Grid Bag Layout`` from the context menu (this enables the ``Customize Layout`` menu item.). Then complete the procedure. +NOTE: In this tutorial the GridBagLayout is already set. In case you work with another form, in step 2 above, right-click the form and choose ``Set Layout`` > ``Grid Bag Layout`` from the context menu (this enables the ``Customize Layout`` menu item.). Then complete the procedure. === Grid Area @@ -142,7 +142,7 @@ The components are now placed in accordance with the target layout. image::images/layout1-small.png[role="left", link="images/layout1.png"] -- -*Note:* When a component is moved the target cells are highlighted with green. +NOTE: When a component is moved the target cells are highlighted with green. === Resizing @@ -233,7 +233,7 @@ To get the labels aligned to the left instead of to the center as they are at th 1. Select the ``First name:`` , ``Surname:`` , ``Street`` , ``City`` , and ``State`` labels. -*Note:* You can select multiple components by pressing the left mouse button on the first component, holding it, and dragging it pressed to the last component as if drawing a rectangle that encloses all the labels. After you release the mouse all the five components are highlighted with orange borders and green background as shown below. +NOTE: You can select multiple components by pressing the left mouse button on the first component, holding it, and dragging it pressed to the last component as if drawing a rectangle that encloses all the labels. After you release the mouse all the five components are highlighted with orange borders and green background as shown below. image::images/multiselect.png[] diff --git a/netbeans.apache.org/src/content/kb/docs/java/gui-automatic-i18n.asciidoc b/netbeans.apache.org/src/content/kb/docs/java/gui-automatic-i18n.asciidoc index 36d2bb4..9af866b 100644 --- a/netbeans.apache.org/src/content/kb/docs/java/gui-automatic-i18n.asciidoc +++ b/netbeans.apache.org/src/content/kb/docs/java/gui-automatic-i18n.asciidoc @@ -105,7 +105,7 @@ We will now use the GUI builder to enter internationalized strings for the JLabe 1. Select the appropriate GUI component (e.g. ``jLabel1`` ) in the Design Area. 2. In the Properties window, click the ellipsis (...) button for the Text property. -*Note:* You can also internationalize other properties that have String values, such as Mnemonic, Accessible Name, Accessible Descriptor, and ToolTip. +NOTE: You can also internationalize other properties that have String values, such as Mnemonic, Accessible Name, Accessible Descriptor, and ToolTip. 3. The property editor is switched to resource bundle mode. Check that the Bundle Name field is set to ``demo.Bundle`` and the Key field contains the string ``FindDialog.jLabel1.text`` 4. Type ``Find What:`` in the Value field. @@ -118,7 +118,7 @@ Repeat the previous steps for all the components so that the form looks like the image::images/finddialog_new_small.png[role="left", link="images/finddialog_new.png"] -- -*Note:* Steps 1-5 can be done in a simpler and faster way: just double click ``jLabel1`` in the design view, change the text from ``jLabel1`` to ``Find What:`` , and press Enter. The result is the same as from the steps given above. +NOTE: Steps 1-5 can be done in a simpler and faster way: just double click ``jLabel1`` in the design view, change the text from ``jLabel1`` to ``Find What:`` , and press Enter. The result is the same as from the steps given above. To make the components the same width, complete the steps below: diff --git a/netbeans.apache.org/src/content/kb/docs/java/gui-binding.asciidoc b/netbeans.apache.org/src/content/kb/docs/java/gui-binding.asciidoc index 73ef68a..51a615f 100644 --- a/netbeans.apache.org/src/content/kb/docs/java/gui-binding.asciidoc +++ b/netbeans.apache.org/src/content/kb/docs/java/gui-binding.asciidoc @@ -111,7 +111,7 @@ When binding in the GUI Editor, you initiate a binding on the target and then yo In this case, since the JSlider comes with a default range of values, we will use it as the source. -*Note:* Bindings can be two-way (read/write), so that changes in the target are automatically reflected in the source. However, the direction of the initial binding is always from the source to the target. See the information on Update Mode in the <<prop-advanced,Advanced Binding Configuration>> section. +NOTE: Bindings can be two-way (read/write), so that changes in the target are automatically reflected in the source. However, the direction of the initial binding is always from the source to the target. See the information on Update Mode in the <<prop-advanced,Advanced Binding Configuration>> section. *To bind the slider to the text field:* @@ -199,7 +199,7 @@ The Validator drop-down list is populated with any validators that have been add * *Null Source Value. * Enables you to specify a different value to use if the source property has a ``null`` value when the binding is attempted. This field corresponds with the ``setSourceNullValue()`` method of the ``org.jdesktop.beansbinding.Binding`` class. * *Unreadable Source Value. * Enables you to specify a different value to use if the binding expression cannot be resolved when the binding is attempted. This field corresponds with the ``setSourceUnreadableValue()`` method of the ``org.jdesktop.beansbinding.Binding`` class. -*Note:* To better understand the classes and methods mentioned above, you can access the beans binding Javadoc documentation directly from the IDE. Choose Help > Javadoc References > Beans Binding. In the browser window that opens, click the ``org.jdesktop.beansbinding`` link to access documentation for those classes. +NOTE: To better understand the classes and methods mentioned above, you can access the beans binding Javadoc documentation directly from the IDE. Choose Help > Javadoc References > Beans Binding. In the browser window that opens, click the ``org.jdesktop.beansbinding`` link to access documentation for those classes. == Binding Data to Components @@ -247,7 +247,7 @@ This section shows you how you can bind data to JTable, JList, and JComboBox com 1. Open the Services window. 2. Connect to the database that contains the table that you want to add to the form. (You can connect to the database by right-clicking the node for the database connection and choosing Connect.) -*Note:* The tutorial uses the ``sample [app on App]`` database that can be connected to by selecting the Services window, expanding the Databases node, right-clicking the database connection node ( ``jdbc:derby://localhost:1527/sample[app on APP]`` ), and choosing Connect from the context menu. +NOTE: The tutorial uses the ``sample [app on App]`` database that can be connected to by selecting the Services window, expanding the Databases node, right-clicking the database connection node ( ``jdbc:derby://localhost:1527/sample[app on APP]`` ), and choosing Connect from the context menu. Specify ``app`` as a userid and ``app`` as a password, if you are prompted for a userid and password. 3. Expand the node for the connection, and expand its Tables node. @@ -344,7 +344,7 @@ jComboBox1.setRenderer(new DefaultListCellRenderer() { image::images/custom-small.png[role="left", link="images/custom.png"] -- -*Note:* You can also create a custom renderer in its own source file, compile the file, drag the renderer on to the form, and then set the combo box's renderer property to use this bean. +NOTE: You can also create a custom renderer in its own source file, compile the file, drag the renderer on to the form, and then set the combo box's renderer property to use this bean. == Special Binding Properties diff --git a/netbeans.apache.org/src/content/kb/docs/java/gui-filechooser.asciidoc b/netbeans.apache.org/src/content/kb/docs/java/gui-filechooser.asciidoc index 0cb18fb..82ecf74 100644 --- a/netbeans.apache.org/src/content/kb/docs/java/gui-filechooser.asciidoc +++ b/netbeans.apache.org/src/content/kb/docs/java/gui-filechooser.asciidoc @@ -234,7 +234,7 @@ new MyCustomFilter() } ---- -*Note:* To learn how to implement smarter, switchable file filters, have a look at the link:http://java.sun.com/javase/7/docs/api/javax/swing/JFileChooser.html#addChoosableFileFilter%28javax.swing.filechooser.FileFilter%29[+addChoosableFileFilter+] method. +NOTE: To learn how to implement smarter, switchable file filters, have a look at the link:http://java.sun.com/javase/7/docs/api/javax/swing/JFileChooser.html#addChoosableFileFilter%28javax.swing.filechooser.FileFilter%29[+addChoosableFileFilter+] method. == Running the Application diff --git a/netbeans.apache.org/src/content/kb/docs/java/gui-functionality.asciidoc b/netbeans.apache.org/src/content/kb/docs/java/gui-functionality.asciidoc index 70dc17f..fd6d26c 100644 --- a/netbeans.apache.org/src/content/kb/docs/java/gui-functionality.asciidoc +++ b/netbeans.apache.org/src/content/kb/docs/java/gui-functionality.asciidoc @@ -211,20 +211,20 @@ Our program is now complete we can now build and run it to see it in action. 1. Choose Run > Run Project (Number Addition) (alternatively, press F6). -*Note:* If you get a window informing you that Project NumberAddition does not have a main class set, then you should select ``my.NumberAddition.NumberAdditionUI`` as the main class in the same window and click the OK button. +NOTE: If you get a window informing you that Project NumberAddition does not have a main class set, then you should select ``my.NumberAddition.NumberAdditionUI`` as the main class in the same window and click the OK button. *To run the program outside of the IDE:* 1. Choose Run > Clean and Build Main Project (Shift-F11) to build the application JAR file. 2. Using your system's file explorer or file manager, navigate to the ` NumberAddition/dist` directory. -*Note:* The location of the ``NumberAddition`` project directory depends on the path you specified while creating the project in step 3 of the <<Exercise_1,Exercise 1: Creating a Project>> section. +NOTE: The location of the ``NumberAddition`` project directory depends on the path you specified while creating the project in step 3 of the <<Exercise_1,Exercise 1: Creating a Project>> section. 3. Double-click the `NumberAddition.jar` file. After a few seconds, the application should start. -*Note:* If double-clicking the JAR file does not launch the application, see link:../../articles/javase-deploy.html#troubleshooting[+this article+] for information on setting JAR file associations in your operating system. +NOTE: If double-clicking the JAR file does not launch the application, see link:../../articles/javase-deploy.html#troubleshooting[+this article+] for information on setting JAR file associations in your operating system. You can also launch the application from the command line. @@ -240,7 +240,7 @@ You can also launch the application from the command line. java -jar NumberAddition.jar ---- -*Note:* Make sure ``my.NumberAddition.NumberAdditionUI`` is set as the main class before running the application. You can check this by right-clicking the NumberAddition project node in the Projects pane, choosing Properties in the popup menu, and selecting the Run category in the Project Properties dialog box. The Main Class field should display ``my.numberaddition.NumberAdditionUI`` . +NOTE: Make sure ``my.NumberAddition.NumberAdditionUI`` is set as the main class before running the application. You can check this by right-clicking the NumberAddition project node in the Projects pane, choosing Properties in the popup menu, and selecting the Run category in the Project Properties dialog box. The Main Class field should display ``my.numberaddition.NumberAdditionUI`` . == How Event Handling Works diff --git a/netbeans.apache.org/src/content/kb/docs/java/gui-gaps.asciidoc b/netbeans.apache.org/src/content/kb/docs/java/gui-gaps.asciidoc index 765fa6e..67b63ba 100644 --- a/netbeans.apache.org/src/content/kb/docs/java/gui-gaps.asciidoc +++ b/netbeans.apache.org/src/content/kb/docs/java/gui-gaps.asciidoc @@ -71,7 +71,7 @@ The sample form opens in the GUI Builder Design view. image::images/initialform.png[] -*Note:* You can view the component hierarchy of the form in the Navigator window by choosing Window > Navigator from the main toolbar. +NOTE: You can view the component hierarchy of the form in the Navigator window by choosing Window > Navigator from the main toolbar. image::images/navigator.png[] @@ -130,7 +130,7 @@ The IDE enables you to resize a gap by clicking and then scrolling a mouse wheel To remove the remaining space between the ``Middle Name`` and ``Last Name`` rows, click the gap below and decrease the height of the gap by scrolling the mouse wheel downward and setting the new size to ``default small`` . -*Note:* The NetBeans GUI Builder supports three preferred gaps for component placement - ``default small`` , ``default medium`` , and ``default large`` . +NOTE: The NetBeans GUI Builder supports three preferred gaps for component placement - ``default small`` , ``default medium`` , and ``default large`` . image::images/default-small.png[] @@ -145,7 +145,7 @@ image::images/middle-inserted.png[] You can center a component by enclosing it into two identical gaps that have prior been marked as resizable. -*Note:* A container helps specify where the components should be centered. It is possible to center the buttons without enclosing them in a new panel but it is more difficult to accomplish in the GUI Builder and the resulting layout is a bit fragile. Therefore, we suggest to enclose the component being centered in a panel whenever it is possible. +NOTE: A container helps specify where the components should be centered. It is possible to center the buttons without enclosing them in a new panel but it is more difficult to accomplish in the GUI Builder and the resulting layout is a bit fragile. Therefore, we suggest to enclose the component being centered in a panel whenever it is possible. *To enclose the buttons and resizable gaps into a separate container, do as follows:* diff --git a/netbeans.apache.org/src/content/kb/docs/java/gui-image-display.asciidoc b/netbeans.apache.org/src/content/kb/docs/java/gui-image-display.asciidoc index 20cf53c..01063ca 100644 --- a/netbeans.apache.org/src/content/kb/docs/java/gui-image-display.asciidoc +++ b/netbeans.apache.org/src/content/kb/docs/java/gui-image-display.asciidoc @@ -184,7 +184,7 @@ Since you have used the property editor for `jLabel1`'s `Icon` property, the IDE In the Design View, right-click the JLabel and choose Events > Mouse > mouseClicked/mousePressed/mouseReleased from the popup menu. An event handler is generated for the corresponding event. -*Note:* You can get the mouse coordinates (for example, the location of a mouse click) in the event handler using the `event.getPoint()`, `event.getX()`, or `event.getY()` methods. See link:http://docs.oracle.com/javase/1.4.2/docs/api/java/awt/event/MouseEvent.html[+Class MouseEvent+] for details. +NOTE: You can get the mouse coordinates (for example, the location of a mouse click) in the event handler using the `event.getPoint()`, `event.getX()`, or `event.getY()` methods. See link:http://docs.oracle.com/javase/1.4.2/docs/api/java/awt/event/MouseEvent.html[+Class MouseEvent+] for details. == Building and Running the Application diff --git a/netbeans.apache.org/src/content/kb/docs/java/hibernate-java-se.asciidoc b/netbeans.apache.org/src/content/kb/docs/java/hibernate-java-se.asciidoc index d636dd2..c4f2220 100644 --- a/netbeans.apache.org/src/content/kb/docs/java/hibernate-java-se.asciidoc +++ b/netbeans.apache.org/src/content/kb/docs/java/hibernate-java-se.asciidoc @@ -540,7 +540,7 @@ When you click Finish the ``Actor.hbm.xml`` Hibernate mapping file opens in th You can use code completion in the editor to complete the values when modifying the mapping file. -*Note:* By default, the generated ``class`` element has a closing tag. Because you need to add property elements between the opening and closing ``class`` element tags, you need to make the following changes (displayed in bold). After making the changes you can then use code completion between the ``class`` tags. +NOTE: By default, the generated ``class`` element has a closing tag. Because you need to add property elements between the opening and closing ``class`` element tags, you need to make the following changes (displayed in bold). After making the changes you can then use code completion between the ``class`` tags. [source,xml] diff --git a/netbeans.apache.org/src/content/kb/docs/java/javase-deploy.asciidoc b/netbeans.apache.org/src/content/kb/docs/java/javase-deploy.asciidoc index 9faffbd..86d3a66 100644 --- a/netbeans.apache.org/src/content/kb/docs/java/javase-deploy.asciidoc +++ b/netbeans.apache.org/src/content/kb/docs/java/javase-deploy.asciidoc @@ -38,7 +38,7 @@ The answers to these questions are relatively simple, but not necessarily obviou * Calling the application from the command line. * Calling the application from a script file. -*Note:* To complete this tutorial, you need the link:https://netbeans.org/projects/samples/downloads/download/Samples%252FJava%252FDeploymentTutorial.zip[+Deployment Tutorial source files+]. +NOTE: To complete this tutorial, you need the link:https://netbeans.org/projects/samples/downloads/download/Samples%252FJava%252FDeploymentTutorial.zip[+Deployment Tutorial source files+]. === Creating Executable JAR File @@ -67,7 +67,7 @@ The project folder does _not_ have to be in the same location as the source file Click the Add Folder button that is to the right of the Source Package Folders field. Navigate to the ``DeploymentTutorial`` folder that you have just unzipped on your system, expand the folder, select the ``src`` folder, and click Open. The ``src`` folder is added to your Source Package Folders field. 6. Click Finish. -*Note:* If, for example, you want to exclude some source files from importing into the project, click Next to open the last Includes & Excludes window. In our case, we want to use all the source files in the ``src`` folder, so we click Finish to finish working in the New Project wizard. +NOTE: If, for example, you want to exclude some source files from importing into the project, click Next to open the last Includes & Excludes window. In our case, we want to use all the source files in the ``src`` folder, so we click Finish to finish working in the New Project wizard. The project opens in the IDE and becomes visible in the Projects window. You can explore the contents of the project by expanding the project's Source Packages node, where you should see classes called ``Grep`` and ``xGrep`` . ``Grep.java`` is a console version of the application. ``xGrep.java`` is a GUI version of the application and uses methods defined in ``Grep.java`` . @@ -127,7 +127,7 @@ When you build your project: * If you have specified any libraries for the project (in addition to the JDK), a ``lib`` folder is created in the ``dist`` folder. The libraries are copied into ``dist/lib`` . * The manifest file in the JAR is updated to include entries that designate main class and any libraries that are on the project's classpath. -*Note:* You can view the contents of the manifest in the IDE's Files window. After you have built your project, switch to the Files window and navigate to ``dist/AnotherGrep.jar`` . Expand the node for the JAR file, expand the ``META-INF`` folder, and double-click ``MANIFEST.MF`` to display the manifest in the Source Editor. +NOTE: You can view the contents of the manifest in the IDE's Files window. After you have built your project, switch to the Files window and navigate to ``dist/AnotherGrep.jar`` . Expand the node for the JAR file, expand the ``META-INF`` folder, and double-click ``MANIFEST.MF`` to display the manifest in the Source Editor. [source,java] @@ -168,7 +168,7 @@ Now that you have verified that the application works outside of the IDE, you ar * Send the application's JAR file to the people who will use the application. The users of your application should be able to run it by double-clicking the JAR file. If this does not work for them, show them the information in the <<troubleshooting,Troubleshooting JAR File Associations>> section below. -*Note:* If your application depends on additional libraries other than those included in JDK, you need to also include them in your distribution (not the case in our example). The relative paths to these libraries are added in the ``classpath`` entry of the JAR's manifest file when you are developing your application in the IDE. If these additional libraries will not be found at the specified classpath (i.e., relative path) at launch, the application will not start. +NOTE: If your application depends on additional libraries other than those included in JDK, you need to also include them in your distribution (not the case in our example). The relative paths to these libraries are added in the ``classpath`` entry of the JAR's manifest file when you are developing your application in the IDE. If these additional libraries will not be found at the specified classpath (i.e., relative path) at launch, the application will not start. Create a zip archive that contains the application JAR file and the library and provide this zip file to users. Instruct the users to unpack the zip file making sure that the JAR file and libraries JAR files are in the same folder. Run the application JAR file. === Starting Your Java Application @@ -282,11 +282,11 @@ If the JAR file type is associated with a JRE, the icon that represents that fil * The JAR file type is associated with the JRE, but the ``-jar`` option is not included in the command that is passed to the JRE when you double-click the icon. -*Note:* Sometimes JAR file associations are switched by software that you install, such as software to handle zip files. +NOTE: Sometimes JAR file associations are switched by software that you install, such as software to handle zip files. The way how you associate the JAR file type with the ``java`` launcher depends on your operating system. -*Note:* Make sure that there is a version of the JRE installed on your system. You should use version 1.4.2 or later. You cannot launch a Java application if no Java is installed. (If you have the JDK installed, you also get the JRE. However, if you are distributing the program to a non-programmer, that person does not necessarily have either the JRE or the JDK.) +NOTE: Make sure that there is a version of the JRE installed on your system. You should use version 1.4.2 or later. You cannot launch a Java application if no Java is installed. (If you have the JDK installed, you also get the JRE. However, if you are distributing the program to a non-programmer, that person does not necessarily have either the JRE or the JDK.) * On Windows XP, you can check for installed versions of Java by choosing Start > Control Panel > Add or Remove Software (you should see, for example, Java(TM) 7 Update 51). * On Windows Vista or 7, you can check for installed versions of Java by choosing Start > Control Panel > Programs and Components (you should see, for example, Java(TM) 7 Update 51). @@ -305,7 +305,7 @@ For Windows Vista or 7, click Default Programs and select Associate a file type 7. Click OK to exit the Open With dialog box. 8. Click Close to exit the Folder Options dialog box (on Windows XP) or the Associate a file type or protocol with a specific program dialog box (on Windows 7). -*Note:* If JAR files are associated with the Java Platform SE Binary on your system but double-clicking still does not execute the file JAR file, you might need to specify the ``-jar`` option in the file association. +NOTE: If JAR files are associated with the Java Platform SE Binary on your system but double-clicking still does not execute the file JAR file, you might need to specify the ``-jar`` option in the file association. To specify the ``-jar`` option in the file association on Microsoft Windows XP: @@ -332,7 +332,7 @@ Afterwards, the field should contain text similar to the following: 8. Click OK to exit the Edit File Type dialog box. 9. Click Close to exit the Folder Options dialog box. -*Note:* Starting with Windows Vista advanced file associations can be set via RegEdit. See the link:http://technet.microsoft.com/en-us/magazine/ee914604.aspx[+What Happened to the File Types Dialog?+] article for details. +NOTE: Starting with Windows Vista advanced file associations can be set via RegEdit. See the link:http://technet.microsoft.com/en-us/magazine/ee914604.aspx[+What Happened to the File Types Dialog?+] article for details. For UNIX and Linux systems, the procedure for changing file associations depends on which desktop environment (such as GNOME or KDE) that you are using. Look in your desktop environment's preference settings or consult the documentation for the desktop environment. diff --git a/netbeans.apache.org/src/content/kb/docs/java/javase-embedded.asciidoc b/netbeans.apache.org/src/content/kb/docs/java/javase-embedded.asciidoc index 94994ee..4ba2a1a 100644 --- a/netbeans.apache.org/src/content/kb/docs/java/javase-embedded.asciidoc +++ b/netbeans.apache.org/src/content/kb/docs/java/javase-embedded.asciidoc @@ -41,7 +41,7 @@ Once link:http://www.oracle.com/technetwork/java/embedded/downloads/javase/index * activate the Java SE feature in NetBeans IDE * install a remote Java SE platform in NetBeans IDE -*Note:* The remote operating system must be UNIX. Windows is not supported. +NOTE: The remote operating system must be UNIX. Windows is not supported. *To activate the Java SE feature in the IDE:* @@ -79,7 +79,7 @@ image::images/addjp-small.png[role="left", link="images/addjp.png"] 4. Specify the remote platform details such as the name, the IP address or DNS name of the device, login, password, and the path to the JRE on the remote device. -*Note:* The target operating system must be UNIX (Windows is not supported). +NOTE: The target operating system must be UNIX (Windows is not supported). 5. Click Finish. The IDE validates the remote JRE by executing a probe and downloads the remote JRE system properties. A new remote Java SE platform displays in the Java Platform Manager dialog box. diff --git a/netbeans.apache.org/src/content/kb/docs/java/javase-intro.asciidoc b/netbeans.apache.org/src/content/kb/docs/java/javase-intro.asciidoc index c3e30c5..966f43f 100644 --- a/netbeans.apache.org/src/content/kb/docs/java/javase-intro.asciidoc +++ b/netbeans.apache.org/src/content/kb/docs/java/javase-intro.asciidoc @@ -202,7 +202,7 @@ Now you will create and run a test for the project using JUnit and then run the 1. Right-click the `LibClass.java` node in the Projects window and choose Tools >Create/Update Tests (Ctrl-Shift-U). 2. In the Create Tests dialog box, click OK to run the command with the default options. -*Note:* If this is the first time you have created JUnit tests in the IDE, you will be prompted with the Select JUnit Version dialog box. Press Enter to select JUnit 4.x and continue to the Create Tests dialog box. +NOTE: If this is the first time you have created JUnit tests in the IDE, you will be prompted with the Select JUnit Version dialog box. Press Enter to select JUnit 4.x and continue to the Create Tests dialog box. The IDE creates the `org.me.mylib` package and the `LibClassTest.java` file in a separate `test` folder. You can find this file by expanding the Test Packages node and the `org.me.mylib` subnode. 3. In `LibClassTest.java`, delete the body of the `public void testAcrostic()` method. diff --git a/netbeans.apache.org/src/content/kb/docs/java/javase-jdk8.asciidoc b/netbeans.apache.org/src/content/kb/docs/java/javase-jdk8.asciidoc index 78c6f2e..42ce035 100644 --- a/netbeans.apache.org/src/content/kb/docs/java/javase-jdk8.asciidoc +++ b/netbeans.apache.org/src/content/kb/docs/java/javase-jdk8.asciidoc @@ -232,7 +232,7 @@ image::images/lambda_converted_small.png[role="left", link="images/lambda_conver If you choose the Run Inspect on option, the IDE displays the Inspect dialog box that allows to run a single Convert to Lambda inspection on the specified file. -*Note:* For more information on initiating the Inspect operation in the IDE, see link:http://www.oracle.com/pls/topic/lookup?ctx=nb7400&id=NBDAG613[+Using Hints in Source Code Analysis and Refactoring+] in _Developing Applications with NetBeans IDE_. +NOTE: For more information on initiating the Inspect operation in the IDE, see link:http://www.oracle.com/pls/topic/lookup?ctx=nb7400&id=NBDAG613[+Using Hints in Source Code Analysis and Refactoring+] in _Developing Applications with NetBeans IDE_. [.feature] -- @@ -248,7 +248,7 @@ image::images/lambda_inspection_small.png[role="left", link="images/lambda_inspe If you choose the Run Inspect&Transform on option, the IDE displays the Inspect and Transform dialog box that allows to run a single Convert to Lambda inspection (or a selected configuration) on the specified code and refactor it if needed. -*Note:* For more information on initiating the Inspect and Transform operation, see link:http://www.oracle.com/pls/topic/lookup?ctx=nb7400&id=NBDAG613[+Using Hints in Source Code Analysis and Refactoring+] in _Developing Applications with NetBeans IDE_. +NOTE: For more information on initiating the Inspect and Transform operation, see link:http://www.oracle.com/pls/topic/lookup?ctx=nb7400&id=NBDAG613[+Using Hints in Source Code Analysis and Refactoring+] in _Developing Applications with NetBeans IDE_. [.feature] -- diff --git a/netbeans.apache.org/src/content/kb/docs/java/jmx-getstart.asciidoc b/netbeans.apache.org/src/content/kb/docs/java/jmx-getstart.asciidoc index 7d75703..0a2f817 100644 --- a/netbeans.apache.org/src/content/kb/docs/java/jmx-getstart.asciidoc +++ b/netbeans.apache.org/src/content/kb/docs/java/jmx-getstart.asciidoc @@ -32,7 +32,7 @@ The NetBeans JMX Module integrates JMX technology right into your workflow in th This document has been updated for the JMX Wizard module version 3.0, for NetBeans IDE 6.5 and newer, and running on top of JDK 6 or JDK 7. You can download the JMX module from the Update Center. -*Note:* This document is a short and quick introduction to the JMX module for NetBeans IDE. For more detailed information, complete the JMX Module Tutorial link:jmx-tutorial.html[+Adding JMX Instrumentation to a Java Application+]. +NOTE: This document is a short and quick introduction to the JMX module for NetBeans IDE. For more detailed information, complete the JMX Module Tutorial link:jmx-tutorial.html[+Adding JMX Instrumentation to a Java Application+]. This getting started document gives you an overview of the JMX module features: diff --git a/netbeans.apache.org/src/content/kb/docs/java/maven-hib-java-se.asciidoc b/netbeans.apache.org/src/content/kb/docs/java/maven-hib-java-se.asciidoc index a02276f..908ad92 100644 --- a/netbeans.apache.org/src/content/kb/docs/java/maven-hib-java-se.asciidoc +++ b/netbeans.apache.org/src/content/kb/docs/java/maven-hib-java-se.asciidoc @@ -609,7 +609,7 @@ When you click Finish the ``Actor.hbm.xml`` Hibernate mapping file opens in th You can use code completion in the editor to complete the values when modifying the mapping file. -*Note:* By default, the generated ``class`` element has a closing tag. Because you need to add property elements between the opening and closing ``class`` element tags, you need to make the following changes (displayed in bold). After making the changes you can then use code completion between the ``class`` tags. +NOTE: By default, the generated ``class`` element has a closing tag. Because you need to add property elements between the opening and closing ``class`` element tags, you need to make the following changes (displayed in bold). After making the changes you can then use code completion between the ``class`` tags. [source,xml] diff --git a/netbeans.apache.org/src/content/kb/docs/java/native_pkg.asciidoc b/netbeans.apache.org/src/content/kb/docs/java/native_pkg.asciidoc index fc34c58..0e86700 100644 --- a/netbeans.apache.org/src/content/kb/docs/java/native_pkg.asciidoc +++ b/netbeans.apache.org/src/content/kb/docs/java/native_pkg.asciidoc @@ -36,7 +36,7 @@ Native packaging does not change the deployment model of your application: it ta In this tutorial you will create an ``EXE`` installer for a Java SE application and an ``MSI`` installer for a JavaFX application for the Windows operating system based on the sample applications bundled with the IDE. -*Note:* +NOTE: * The ``EXE`` and ``MSI`` installers you get are platform-specific, they will run only on a system that is compatible with the target Java platform for which the ``EXE`` / ``MSI`` installable packages have been created. (For example, if an ``EXE`` or ``MSI`` installer has been created on a machine with a 64-bit JDK installed, it must be run on a machine with 64-bit Windows installed.) * On Windows, both the applications are installed into the ``C:\Users\<username>\AppData\Local\`` directory and are available in the Start menu. @@ -67,7 +67,7 @@ To use the IDE's support for native packaging, the following additional tools ne * link:http://www.jrsoftware.org/[+Inno Setup 5.5+] (or more recent) for producing EXE installers on Windows is required. * link:http://wixtoolset.org/[+WiX 3.7+] (or more recent) for producing MSI installers on Windows is required. -*Note:* For a list of tools required for making installers for different platforms, see "link:http://www.oracle.com/pls/topic/lookup?ctx=nb7400&id=NBDAG2508[+Packaging an Application as a Native Installer+]" in _Developing Applications with NetBeans IDE_. +NOTE: For a list of tools required for making installers for different platforms, see "link:http://www.oracle.com/pls/topic/lookup?ctx=nb7400&id=NBDAG2508[+Packaging an Application as a Native Installer+]" in _Developing Applications with NetBeans IDE_. *To install Inno Setup:* @@ -189,7 +189,7 @@ The application can now be packaged in an installer for Windows. * Right-click the AnagramGame project and choose Package as > EXE Installer from the context menu. -*Note:* The IDE creates an ``EXE`` installer only if Inno Setup is <<tool,installed and added to the system Path variable>>. +NOTE: The IDE creates an ``EXE`` installer only if Inno Setup is <<tool,installed and added to the system Path variable>>. The IDE displays the progress and result of the packaging process in the Output window. @@ -198,7 +198,7 @@ The IDE displays the progress and result of the packaging process in the Output image::images/output_se_exe_small.png[role="left", link="images/output_se_exe.png"] -- -*Note:* The IDE first logs some progress and then for some time it looks as if nothing is happening - this is exactly the moment when Inno Setup is working in the background. It takes a while for the packaging to get completed. +NOTE: The IDE first logs some progress and then for some time it looks as if nothing is happening - this is exactly the moment when Inno Setup is working in the background. It takes a while for the packaging to get completed. When the ``EXE`` installer is ready, it is placed in the ``AnagramGame/dist/bundles/`` directory. @@ -276,7 +276,7 @@ Your JavaFX application is now ready to be cleaned and built. * Choose Run > Clean and Build Project from the main menu. The IDE displays the results in the Output window. -*Note:* If the build is successful but the IDE displays ``warning: [options] bootstrap class path not set in conjunction with -source 1.6`` in the Output window, the Source/Binary format needs to be set to JDK 8 in the project properties and the project needs to be cleaned and built again as follows: +NOTE: If the build is successful but the IDE displays ``warning: [options] bootstrap class path not set in conjunction with -source 1.6`` in the Output window, the Source/Binary format needs to be set to JDK 8 in the project properties and the project needs to be cleaned and built again as follows: 1. Right-click the BrickBreaker project in the Projects windows and choose Properties. 2. In the Project Properties dialog box, select the Sources category. @@ -292,7 +292,7 @@ The application can now be wrapped into a Windows-specific installable package. * Right-click the BrickBreaker project and choose Package as > MSI Installer from the context menu. -*Note:* The IDE creates an ``MSI`` installer only if WiX is <<tool,installed and added to the system Path variable>>. +NOTE: The IDE creates an ``MSI`` installer only if WiX is <<tool,installed and added to the system Path variable>>. The IDE displays the progress and result of the packaging process in the Output window. @@ -301,7 +301,7 @@ The IDE displays the progress and result of the packaging process in the Output image::images/output_fx_msi_small.png[role="left", link="images/output_fx_msi.png"] -- -*Note:* The IDE first logs some progress and then for some time it looks as if nothing is happening - this is exactly the moment when WiX is working in the background. It takes a while for the packaging to get completed. +NOTE: The IDE first logs some progress and then for some time it looks as if nothing is happening - this is exactly the moment when WiX is working in the background. It takes a while for the packaging to get completed. The installable JavaFX application is located in the ``BrickBreaker/dist/bundles/`` directory. diff --git a/netbeans.apache.org/src/content/kb/docs/java/profiler-intro.asciidoc b/netbeans.apache.org/src/content/kb/docs/java/profiler-intro.asciidoc index fd0da38..357d72d 100644 --- a/netbeans.apache.org/src/content/kb/docs/java/profiler-intro.asciidoc +++ b/netbeans.apache.org/src/content/kb/docs/java/profiler-intro.asciidoc @@ -145,7 +145,7 @@ You can choose to instrument all the methods in the application or limit the ins A root method is the method, class or package in your source code that you specify as an instrumentation root. Profiling data is collected when one of the application's threads enters and leaves the instrumentation root. No profiling data is collected until one of the application's threads enters the root method. Specifying a root method can significantly reduce the profiling overhead. For some applications, specifying a root method may be the only way to obtain any detailed and/or reali [...] -*Note:* The Quick profile mode is not available in NetBeans IDE 7.0 and earlier. You can only use instrumentation to obtain profiling results, but you can choose to instrument the entire application or limit instrumentation to part of the application by specifying one or more root methods. +NOTE: The Quick profile mode is not available in NetBeans IDE 7.0 and earlier. You can only use instrumentation to obtain profiling results, but you can choose to instrument the entire application or limit instrumentation to part of the application by specifying one or more root methods. You can further fine tune how much code is profiled by using a filter to limit the sources that are instrumented. diff --git a/netbeans.apache.org/src/content/kb/docs/java/quickstart-gui.asciidoc b/netbeans.apache.org/src/content/kb/docs/java/quickstart-gui.asciidoc index 738b1de..c74701e 100644 --- a/netbeans.apache.org/src/content/kb/docs/java/quickstart-gui.asciidoc +++ b/netbeans.apache.org/src/content/kb/docs/java/quickstart-gui.asciidoc @@ -131,7 +131,7 @@ The IDE creates the ``ContactEditorUI`` form and the ``ContactEditorUI`` cla Now that we've set up a new project for our application, let's take a minute to familiarize ourselves with the GUI Builder's interface. -*Note:* To explore the GUI Builder interface with an interactive demo, view the link:http://bits.netbeans.org/media/quickstart-gui-explore.swf[+Exploring GUI Builder (.swf)+] screencast. +NOTE: To explore the GUI Builder interface with an interactive demo, view the link:http://bits.netbeans.org/media/quickstart-gui-explore.swf[+Exploring GUI Builder (.swf)+] screencast. [.feature] -- @@ -149,7 +149,7 @@ The GUI Builder's various windows include: If you click the Source button, the IDE displays the application's Java source code in the Editor with sections of code that are automatically generated by the GUI Builder indicated by grey areas (they become blue when selected), called Guarded Blocks. Guarded blocks are protected areas that are not editable in Source view. You can only edit code appearing in the white areas of the Editor when in Source view. If you need to make changes to the code within a Guarded Block, clicking the De [...] -*Note:* For advanced developers, the Palette Manager is available that enables you to add custom components from JARs, libraries, or other projects to the Palette. To add custom components through the Palette Manager, choose Tools > Palette > Swing/AWT Components. +NOTE: For advanced developers, the Palette Manager is available that enables you to add custom components from JARs, libraries, or other projects to the Palette. To add custom components through the Palette Manager, choose Tools > Palette > Swing/AWT Components. <<top,top>> @@ -189,7 +189,7 @@ Thanks to the IDE's Free Design paradigm, you no longer have to struggle with la [quote] ---- -*Note:* Refer to the link:http://bits.netbeans.org/media/quickstart-gui-add.swf[+Adding individual and multiple components (.swf)+] screencast for an interactive demo on the section below. +NOTE: Refer to the link:http://bits.netbeans.org/media/quickstart-gui-add.swf[+Adding individual and multiple components (.swf)+] screencast for an interactive demo on the section below. === Adding Components: The Basics @@ -380,7 +380,7 @@ image::images/04_multi-add_2.png[] === Inserting Components -*Note:* Refer to the link:http://bits.netbeans.org/media/quickstart-gui-insert.swf[+Inserting components (.swf)+] screencast for an interactive demo on the section below. +NOTE: Refer to the link:http://bits.netbeans.org/media/quickstart-gui-insert.swf[+Inserting components (.swf)+] screencast for an interactive demo on the section below. Often it is necessary to add a component between components that are already placed in a form. Whenever you add a component between two existing components, the GUI Builder automatically shifts them to make room for the new component. To demonstrate this, we'll insert a JTextField between the JLabels we added previously, as shown in the following two illustrations. @@ -445,7 +445,7 @@ Alignment is one of the most fundamental aspects of creating professional-lookin === Component Alignment -*Note:* Refer to the link:http://bits.netbeans.org/media/quickstart-gui-align.swf[+Aligning and anchoring components (.swf)+] screencast for an interactive demo on the sections below. +NOTE: Refer to the link:http://bits.netbeans.org/media/quickstart-gui-align.swf[+Aligning and anchoring components (.swf)+] screencast for an interactive demo on the sections below. Every time you add a component to a form, the GUI Builder effectively aligns them, as evidenced by the alignment guidelines that appear. It is sometimes necessary, however, to specify different relationships between groups of components as well. Earlier we added four JLabels that we need for our ContactEditor GUI, but we didn't align them. Now we'll align the two columns of JLabels so that their right edges line up. @@ -617,7 +617,7 @@ Since JLists are used to display long lists of data, they typically require the === Component Sizing -*Note:* Refer to the link:http://bits.netbeans.org/media/quickstart-gui-resize.swf[+Resizing and indenting components (.swf)+] screencast for an interactive demo on the sections below. +NOTE: Refer to the link:http://bits.netbeans.org/media/quickstart-gui-resize.swf[+Resizing and indenting components (.swf)+] screencast for an interactive demo on the sections below. It is often beneficial to set several related components, such as buttons in modal dialogues, to be the same size for visual consistency. To demonstrate this we'll add four JButtons to our ContactEditor form that will allow us to add, edit, and remove individual entries from our contact list, as shown in the following illustrations. Afterwards, we'll set the four buttons to be the same size so they can be easily recognized as offering related functionality. @@ -810,7 +810,7 @@ If you are running the IDE on JDK 5, the IDE automatically generates your applic If you are running the IDE on JDK 6, the IDE generates your application code to use the GroupLayout classes that are in Java SE 6. This means that you can deploy the application to run on systems with Java SE 6 installed and you do not need to package your application with the Swing Layout Extensions library. -*Note:* If you create your application using JDK 6 but you need the application to also run on Java SE 5, you can have the IDE generate its code to use the Swing Layout Extensions library instead of the classes in Java SE 6. Open the ContactEditorUI class in the GUI Editor. In the Navigator, right-click the Form ContactEditorUI node and choose Properties in the popup menu. In the Properties dialog box, change the value of the Layout Generation Style property to Swing Layout Extensions Library. +NOTE: If you create your application using JDK 6 but you need the application to also run on Java SE 5, you can have the IDE generate its code to use the Swing Layout Extensions library instead of the classes in Java SE 6. Open the ContactEditorUI class in the GUI Editor. In the Navigator, right-click the Form ContactEditorUI node and choose Properties in the popup menu. In the Properties dialog box, change the value of the Layout Generation Style property to Swing Layout Extensions Library. [quote] ---- @@ -834,7 +834,7 @@ To run a standalone GUI application from the command line: ---- -*Note:* If you encounter the following error: +NOTE: If you encounter the following error: [quote] ---- diff --git a/netbeans.apache.org/src/content/kb/docs/javaee/javaee-entapp-ejb.asciidoc b/netbeans.apache.org/src/content/kb/docs/javaee/javaee-entapp-ejb.asciidoc index d3f9d95..c139999 100644 --- a/netbeans.apache.org/src/content/kb/docs/javaee/javaee-entapp-ejb.asciidoc +++ b/netbeans.apache.org/src/content/kb/docs/javaee/javaee-entapp-ejb.asciidoc @@ -564,7 +564,7 @@ out.println("</body>"); ---- 4. Press Ctrl-Shift-I to generate any necessary import statements for the class. -*Note:* When selecting the libraries to import for ``Connection`` , ``ConnectionFactory`` , ``Session`` and ``Queue`` , *confirm that you import the ``javax.jms`` libraries*. +NOTE: When selecting the libraries to import for ``Connection`` , ``ConnectionFactory`` , ``Session`` and ``Queue`` , *confirm that you import the ``javax.jms`` libraries*. image::images/import-jms.png[title="Select the JMS libraries in the Fix All Imports dialog"] 5. Save your changes to the file. diff --git a/netbeans.apache.org/src/content/kb/docs/javaee/maven-entapp.asciidoc b/netbeans.apache.org/src/content/kb/docs/javaee/maven-entapp.asciidoc index 75844c3..4c3a7f0 100644 --- a/netbeans.apache.org/src/content/kb/docs/javaee/maven-entapp.asciidoc +++ b/netbeans.apache.org/src/content/kb/docs/javaee/maven-entapp.asciidoc @@ -327,7 +327,7 @@ public void onMessage(Message message) { ---- 13. Fix your import statements (Ctrl-Shift-I; ⌘-Shift-I on Mac) and save your changes. -*Note:* When generating the import statements, you want to make sure to import the * ``jms`` * and * ``javax.annotation.Resource`` * libraries. +NOTE: When generating the import statements, you want to make sure to import the * ``jms`` * and * ``javax.annotation.Resource`` * libraries. For more details about message-driven beans, see the chapter link:http://download.oracle.com/javaee/6/tutorial/doc/gipko.html[+What is a Message-Driven Bean?+] in the link:http://download.oracle.com/javaee/6/tutorial/doc/index.html[+Java EE 6 Tutorial, Part I+]. diff --git a/netbeans.apache.org/src/content/kb/docs/javaee/profiler-javaee.asciidoc b/netbeans.apache.org/src/content/kb/docs/javaee/profiler-javaee.asciidoc index 3cfc034..8d7386f 100644 --- a/netbeans.apache.org/src/content/kb/docs/javaee/profiler-javaee.asciidoc +++ b/netbeans.apache.org/src/content/kb/docs/javaee/profiler-javaee.asciidoc @@ -246,7 +246,7 @@ If you select the Profile all classes filter the IDE will instrument all methods image::images/profileroot-sayhello-all.png[title="Drilldown graph of relative time spent in servlets in the application"] -*Note:* In a more complex application you may want to specify several root methods. You can select individual methods, entire classes and packages as profiling roots. +NOTE: In a more complex application you may want to specify several root methods. You can select individual methods, entire classes and packages as profiling roots. To specify a profiling root and analyze the performance of the application, perform the following steps. diff --git a/netbeans.apache.org/src/content/kb/docs/javame/imp-ng.asciidoc b/netbeans.apache.org/src/content/kb/docs/javame/imp-ng.asciidoc index 48b0e4b..9b37f0c 100644 --- a/netbeans.apache.org/src/content/kb/docs/javame/imp-ng.asciidoc +++ b/netbeans.apache.org/src/content/kb/docs/javame/imp-ng.asciidoc @@ -177,7 +177,7 @@ Now that you have created the application, you can run the application in the ID 1. Right-click the ``EmbeddedApp`` project node and choose Clean and Build. The Output window displays the BUILD SUCCESSFUL statement. -*Note:* Choose Window > Output > Output from the the IDE's main menu if the Output window is not visible. +NOTE: Choose Window > Output > Output from the the IDE's main menu if the Output window is not visible. 2. From the IDE's menu bar, choose Run > Run Project. The IMPNGPhone1 emulator starts and displays the EmbeddedApp application running. @@ -187,7 +187,7 @@ The IMPNGPhone1 emulator starts and displays the EmbeddedApp application running image::images/emulator-small.png[role="left", link="images/emulator.png"] -- -*Note:* More information on the Java ME Embedded Emulator is available in the link:http://docs.oracle.com/javame/config/cldc/rel/3.2/get-started-win/title.htm[+Oracle Java ME Embedded Getting Started Guide for the Windows 32 Platform+]. +NOTE: More information on the Java ME Embedded Emulator is available in the link:http://docs.oracle.com/javame/config/cldc/rel/3.2/get-started-win/title.htm[+Oracle Java ME Embedded Getting Started Guide for the Windows 32 Platform+]. In the Output window, you should see the output from the program, `Hello, world!` @@ -240,7 +240,7 @@ After NetBeans IDE restarts, you can start using the IDE to profile your mobile 1. In the Projects tab of the IDE, select the `EmbeddedApp` project name. 2. Choose Profile > Profile Project from the main menu to start a profiling session. -*Note:* You are prompted to integrate the profiler when a project is going to be profiled for the first time. +NOTE: You are prompted to integrate the profiler when a project is going to be profiled for the first time. [.feature] -- @@ -260,7 +260,7 @@ The IDE displays the profile data in the `cpu:_time_` window. image::images/cpu-small.png[role="left", link="images/cpu.png"] -- -*Note:* To save the data collected during the emulation session for future reference you can either: +NOTE: To save the data collected during the emulation session for future reference you can either: * export the data to a `nps` file by clicking the Export to button (image::images/export.png[]) * save a snapshot to a `png` file by clicking the Save Current View to Image button (image::images/image.png[]) diff --git a/netbeans.apache.org/src/content/kb/docs/javame/java-card.asciidoc b/netbeans.apache.org/src/content/kb/docs/javame/java-card.asciidoc index 313ed20..6d3cdd7 100644 --- a/netbeans.apache.org/src/content/kb/docs/javame/java-card.asciidoc +++ b/netbeans.apache.org/src/content/kb/docs/javame/java-card.asciidoc @@ -72,7 +72,7 @@ image::../../../images_www/articles/68/netbeans-stamp.gif[title="Content on this Since a smart card does not have a user interface, you either need a smart card reader to read and write the data on your cards, or use the emulator included in the Java Card Reference Implementation (RI). This tutorial will use the emulator. -*Note:* the Java Card plugin works on any operating system, but the Java Card Reference Implementation emulator is only available for Windows. However, you can set it up as a Java Platform on other operating systems by pointing NetBeans to an installation of the RI on a Windows partition on a Mac or Linux system, but you won't be able to run projects using this setup. +NOTE: the Java Card plugin works on any operating system, but the Java Card Reference Implementation emulator is only available for Windows. However, you can set it up as a Java Platform on other operating systems by pointing NetBeans to an installation of the RI on a Windows partition on a Mac or Linux system, but you won't be able to run projects using this setup. === Installing Plugins into the NetBeans IDE diff --git a/netbeans.apache.org/src/content/kb/docs/javame/javacard.asciidoc b/netbeans.apache.org/src/content/kb/docs/javame/javacard.asciidoc index 845f8ac..e69d5ca 100644 --- a/netbeans.apache.org/src/content/kb/docs/javame/javacard.asciidoc +++ b/netbeans.apache.org/src/content/kb/docs/javame/javacard.asciidoc @@ -72,7 +72,7 @@ image::../../../images_www/articles/69/netbeans-stamp.gif[title="Content on this Since a smart card does not have a user interface, you either need a smart card reader to read and write the data on your cards, or use the emulator included in the Java Card Reference Implementation (RI). This tutorial will use the emulator. -*Note:* the Java Card plugin works on any operating system, but the Java Card Reference Implementation emulator is only available for Windows. However, you can set it up as a Java Platform on other operating systems by pointing NetBeans to an installation of the RI on a Windows partition on a Mac or Linux system, but you won't be able to run projects using this setup. +NOTE: the Java Card plugin works on any operating system, but the Java Card Reference Implementation emulator is only available for Windows. However, you can set it up as a Java Platform on other operating systems by pointing NetBeans to an installation of the RI on a Windows partition on a Mac or Linux system, but you won't be able to run projects using this setup. === Installing Plugins into the NetBeans IDE diff --git a/netbeans.apache.org/src/content/kb/docs/javame/nb_me8_screencast.asciidoc b/netbeans.apache.org/src/content/kb/docs/javame/nb_me8_screencast.asciidoc index 629e8ad..261160f 100644 --- a/netbeans.apache.org/src/content/kb/docs/javame/nb_me8_screencast.asciidoc +++ b/netbeans.apache.org/src/content/kb/docs/javame/nb_me8_screencast.asciidoc @@ -42,7 +42,7 @@ Time: 6:38 link:http://bits.netbeans.org/media/nb_me_8.mp4[+Watch full size/Download+] (.mp4) (Ctrl-Click to download, 12,2 MB) -*Note:* Closed captioning is available for this video. Click the CC button at the bottom of the video to turn closed captions on. +NOTE: Closed captioning is available for this video. Click the CC button at the bottom of the video to turn closed captions on. link:/about/contact_form.html?to=6&subject=Feedback:%20Screencast%20-%20NetBeans%20IDE%20Support%20for%20Java%20ME%208%20EA[+Send Us Your Feedback+] | | | diff --git a/netbeans.apache.org/src/content/kb/docs/javame/nb_me_plugins_screencast.asciidoc b/netbeans.apache.org/src/content/kb/docs/javame/nb_me_plugins_screencast.asciidoc index 4d4f2a3..1e0abbe 100644 --- a/netbeans.apache.org/src/content/kb/docs/javame/nb_me_plugins_screencast.asciidoc +++ b/netbeans.apache.org/src/content/kb/docs/javame/nb_me_plugins_screencast.asciidoc @@ -46,7 +46,7 @@ Time: 7:05 link:http://bits.netbeans.org/media/nb_me_sdk_plugins.mp4[+Watch full size/Download+] (.mp4) (Ctrl-Click to download, 13,9 MB) -*Note:* Closed captioning is available for this video. Click the CC button at the bottom of the video to turn closed captions on. +NOTE: Closed captioning is available for this video. Click the CC button at the bottom of the video to turn closed captions on. link:/about/contact_form.html?to=6&subject=Feedback:%20Screencast%20-%20Installing%20and%20Using%20Java%20ME%20SDK%208.0%20Plugins%20in%20NetBeans%20IDE[+Send Us Your Feedback+] | | | diff --git a/netbeans.apache.org/src/content/kb/docs/php/ajax-quickstart.asciidoc b/netbeans.apache.org/src/content/kb/docs/php/ajax-quickstart.asciidoc index 6eb1b49..c3a5561 100644 --- a/netbeans.apache.org/src/content/kb/docs/php/ajax-quickstart.asciidoc +++ b/netbeans.apache.org/src/content/kb/docs/php/ajax-quickstart.asciidoc @@ -117,7 +117,7 @@ In the IDE's editor, add an `echo` statement to the index page: ---- 7. In the Projects window, right-click on the project node and choose Run. The IDE opens your default browser and displays the Hello World message you just created in `index.php`. -*Note:* If you have difficulty setting up your project or establishing communication between the IDE, the server and browser, see link:project-setup.html[+Setting Up a PHP Project+] for a more thorough description. The link:../../trails/php.html[+PHP Learning Trail+] can provide more information on configuring your environment. +NOTE: If you have difficulty setting up your project or establishing communication between the IDE, the server and browser, see link:project-setup.html[+Setting Up a PHP Project+] for a more thorough description. The link:../../trails/php.html[+PHP Learning Trail+] can provide more information on configuring your environment. [[html]] @@ -661,7 +661,7 @@ Notice that the `parseMessages()` function is called only when the `XMLHttpReque The `parseMessages()` function handles the incoming XML data. In doing so, it relies on several ancillary functions, such as `appendComposer()`, `getElementY()`, and `clearTable()`. You must also introduce new elements to the index page, such as a second HTML table which serves as the auto-complete box, and ID's for elements so they can be referenced in `javascript.js`. Finally, you create new variables corresponding to ID's for elements in `index.php`, initialize them in the `init()` fu [...] -*Note:* The functions and elements that you create in the following steps work interdependently. It is recommended that you work through this section, then examine the code once it is all in place. +NOTE: The functions and elements that you create in the following steps work interdependently. It is recommended that you work through this section, then examine the code once it is all in place. 1. Open `index.html` in the editor and type in the below code for the second row of the HTML table you previously created. @@ -780,7 +780,7 @@ function getElementY(element){ ---- This function is applied to find the vertical position of the parent element. This is necessary because the actual position of the element, when it is displayed, is often dependent on browser type and version. Note that the `complete-table` element, when displayed containing composer names, is shifted to the lower right of the table in which it exists. The correct height positioning is determined by `getElementY()`. -*Note:* See link:http://www.quirksmode.org/js/findpos.html[+this explanation+] of `offset` on link:http://www.quirksmode.org/[+http://www.quirksmode.org/+]. +NOTE: See link:http://www.quirksmode.org/js/findpos.html[+this explanation+] of `offset` on link:http://www.quirksmode.org/[+http://www.quirksmode.org/+]. 7. Modify the `callback()` function to call `clearTable()` each time new data is received from the server. Any composer entries that already exist in the auto-complete box are therefore removed before it becomes populated with new entries. diff --git a/netbeans.apache.org/src/content/kb/docs/php/code-templates.asciidoc b/netbeans.apache.org/src/content/kb/docs/php/code-templates.asciidoc index 2f87cff..2052419 100644 --- a/netbeans.apache.org/src/content/kb/docs/php/code-templates.asciidoc +++ b/netbeans.apache.org/src/content/kb/docs/php/code-templates.asciidoc @@ -55,7 +55,7 @@ image::images/code-template-options.png[] In this image the new class ( ``cls)`` code template is selected, and in the Expanded Text tab you see what the template looks like when it's expanded. In the next section, you use the Tab function to expand this template in your code. -*Note:* The syntax of the new class ( ``cls`` ) code template is explored in the section <<syntax,PHP Code Template Syntax>>. +NOTE: The syntax of the new class ( ``cls`` ) code template is explored in the section <<syntax,PHP Code Template Syntax>>. == Using PHP Code Templates @@ -219,7 +219,7 @@ The syntax of a code template parameter is a dollar sign, ``$`` , followed by t The following sections discuss each form of a code template parameter. -*Note:* ``$$${VARIABLE...} `` Sometimes you see a PHP code template where the syntax seems to be three dollar signs followed by curly brackets ``$$${...}`` . In this case, the code template includes a variable and its name. The syntax here is an escaped dollar sign, written as a double dollar sign ``$$`` , followed by a parameter for the variable name, ``${VARIABLE...}`` . For example, the code template ``catch ${Exception} $$${exc}`` is expanded as [examplecode]# ``catch Exception [...] +NOTE: ``$$${VARIABLE...} `` Sometimes you see a PHP code template where the syntax seems to be three dollar signs followed by curly brackets ``$$${...}`` . In this case, the code template includes a variable and its name. The syntax here is an escaped dollar sign, written as a double dollar sign ``$$`` , followed by a parameter for the variable name, ``${VARIABLE...}`` . For example, the code template ``catch ${Exception} $$${exc}`` is expanded as [examplecode]# ``catch Exception $ [...] === Placeholder name diff --git a/netbeans.apache.org/src/content/kb/docs/php/configure-php-environment-ubuntu.asciidoc b/netbeans.apache.org/src/content/kb/docs/php/configure-php-environment-ubuntu.asciidoc index ac699d5..c11381e 100644 --- a/netbeans.apache.org/src/content/kb/docs/php/configure-php-environment-ubuntu.asciidoc +++ b/netbeans.apache.org/src/content/kb/docs/php/configure-php-environment-ubuntu.asciidoc @@ -272,7 +272,7 @@ For each item, from the context menu choose Mark for installation. 6. Choose Apply on the toolbar. The Apply the following changes summary panel opens with a list of packages selected for installation. Click Apply. 7. When the download and installation are completed successfully, the Changes applied panel opens. Click Close. -*Note:* You can also install the modules by running the following command in the Terminal window: ``aptitude install php5-dev php-pear`` +NOTE: You can also install the modules by running the following command in the Terminal window: ``aptitude install php5-dev php-pear`` 8. You can now download and install XDebug. Enter the following command in the Terminal window: diff --git a/netbeans.apache.org/src/content/kb/docs/php/configure-php-environment-windows.asciidoc b/netbeans.apache.org/src/content/kb/docs/php/configure-php-environment-windows.asciidoc index 3f202c3..a360f44 100644 --- a/netbeans.apache.org/src/content/kb/docs/php/configure-php-environment-windows.asciidoc +++ b/netbeans.apache.org/src/content/kb/docs/php/configure-php-environment-windows.asciidoc @@ -66,7 +66,7 @@ To create, run, and debug your PHP projects you need the following software: * The PHP engine. The supported version is PHP5. Downloads are available link:http://www.php.net/downloads.php[+here+]. * The PHP debugger. The NetBeans IDE for PHP allows you to use link:http://www.xdebug.org[+XDebug+], but using a debugger is optional. The recommended version is XDebug 2.0 or higher as it is compatible with PHP5. * A database server. You can use various database servers while one of the most popular ones is the MySQL server. Downloads are available link:http://dev.mysql.com/downloads/mysql/5.1.html[+here+]. -*Note:* The recommended version of the product is MySQL Server 5.0. The provided documents describe the work with this version. +NOTE: The recommended version of the product is MySQL Server 5.0. The provided documents describe the work with this version. After the installation, you need to set up the environment that all the software components work properly with each other. @@ -152,7 +152,7 @@ zend_extension_ts = "./php/ext/php_xdebug<-version-number>.dll" Set the ``xdebug.remote_enable`` property to 1, not "true" or any other value. -*Note:* Make sure the paths you specify match the location of the corresponding files as determined during your installation. +NOTE: Make sure the paths you specify match the location of the corresponding files as determined during your installation. 5. Save ``php.ini`` . 6. Run the <<xamppConstolPanel,XAMPP Control Panel Application>> and restart the Apache server. @@ -313,7 +313,7 @@ xdebug.remote_host=127.0.0.1xdebug.remote_port=9000 Click link:http://www.xdebug.org/docs/install[+here+] for more information on how to configure XDebug. -*Note:* Make sure the paths you specify match the names and locations of the corresponding files as determined during your installation. +NOTE: Make sure the paths you specify match the names and locations of the corresponding files as determined during your installation. 3. To be sure that previously installed PHP engine supports using the MySQL database server: 1. Click Start > Control Panel. diff --git a/netbeans.apache.org/src/content/kb/docs/php/debugging.asciidoc b/netbeans.apache.org/src/content/kb/docs/php/debugging.asciidoc index c0dc2af..257a343 100644 --- a/netbeans.apache.org/src/content/kb/docs/php/debugging.asciidoc +++ b/netbeans.apache.org/src/content/kb/docs/php/debugging.asciidoc @@ -86,7 +86,7 @@ You can change the following options in this panel: * *Show Requested URLs.* Opens new Output window during debugging. This Output window is named PHP Requested Urls and it shows currently processed URLs. The URLs are clickable. Click on a URL in the Output window to open the URL in a browser window. * *PHP Debugger Console.* Opens new Output window that shows the output of debugged scripts. -*Note:* Set ``output_buffering = Off`` in your ``php.ini`` file. Otherwise there will be a delay in seeing script output in the Output window. +NOTE: Set ``output_buffering = Off`` in your ``php.ini`` file. Otherwise there will be a delay in seeing script output in the Output window. For the purposes of this tutorial you do not need to change any of these settings, except optionally to enable watches. @@ -243,7 +243,7 @@ The following procedure is the workflow of a typical debugging session. 1. Start the ide and open the file that contains the source code that you want to debug. 2. Set a breakpoint at each line where you want the debugger to pause. To set a breakpoint, place the cursor at the beginning of a line and press Ctrl-F8/⌘-F8 or choose Debug > Toggle Line Breakpoint. 3. In the Projects window, navigate to the current project node, click the right mouse button, and choose Debug from the popup menu. The IDE opens the Debugger windows and runs the project in the debugger until the breakpoint is reached. -*Note:* If the current project is set as Main, you can choose Debug > Debug Main Project, or press Ctrl-F5, or click image::images/debug-main-project-button.png[]. +NOTE: If the current project is set as Main, you can choose Debug > Debug Main Project, or press Ctrl-F5, or click image::images/debug-main-project-button.png[]. 4. Switch to the Local Variables window. The window shows all the variables that have been initialized within the current function, their types, and values. 5. To view the value of a variable outside the function, bring the cursor on an occurrence of the variable. The tooltip shows the variable value. 6. To execute the program line by line including the lines within all the called functions, press F7 or choose Debug > Step Into and watch the changes to the variables' values in the Local Variables window. @@ -305,7 +305,7 @@ image::images/call-stack.png[] 9. Press F7 to step into the loop. View the values of the variables in the Variables window. image::images/local-variables-inside-loop.png[] 10. When you make sure that the code works correctly, press Ctrl-F7/⌘-F7 to cancel the function execution. The program returns to the line next after the call of the function ``calculate_factorial()`` . -*Note:* Alternatively, you can press F7 until the program completes execution of the function ``calculate_factorial()`` . You will also return to the line next after its call. +NOTE: Alternatively, you can press F7 until the program completes execution of the function ``calculate_factorial()`` . You will also return to the line next after its call. image::images/call-of-embedded-function-second-time.png[] 11. Because you have just checked the function ``calculate_factorial()`` and know that it works correctly, you can skip its execution ("step over"). To step over, press F8. The program stops at the call of the function ``calculate_sum()`` . image::images/cal-of-embedded-function-calculate-sum.png[] diff --git a/netbeans.apache.org/src/content/kb/docs/php/phpunit.asciidoc b/netbeans.apache.org/src/content/kb/docs/php/phpunit.asciidoc index 0321109..12c1f14 100644 --- a/netbeans.apache.org/src/content/kb/docs/php/phpunit.asciidoc +++ b/netbeans.apache.org/src/content/kb/docs/php/phpunit.asciidoc @@ -117,7 +117,7 @@ image::images/create-tests.png[] 4. The first time you create tests, a dialog opens asking you for the directory in which you want to store test files. In this example, the Browse function was used to create a ``tests`` directory. image::images/test-directory.png[] -*Note:* You can manually write multiple tests for a project. If you write multiple tests, you can sort them into subfolders of the test file directory, such as "important" or "quick." You can then run tests in a subfolder by right-clicking that folder and selecting Run Tests. +NOTE: You can manually write multiple tests for a project. If you write multiple tests, you can sort them into subfolders of the test file directory, such as "important" or "quick." You can then run tests in a subfolder by right-clicking that folder and selecting Run Tests. image::images/test-in-folder.png[] 5. The IDE generates a skeleton test class in a file called CalculatorTest.php, which appears in your Projects window and opens in the editor. diff --git a/netbeans.apache.org/src/content/kb/docs/php/project-setup.asciidoc b/netbeans.apache.org/src/content/kb/docs/php/project-setup.asciidoc index a3404df..1bb7335 100644 --- a/netbeans.apache.org/src/content/kb/docs/php/project-setup.asciidoc +++ b/netbeans.apache.org/src/content/kb/docs/php/project-setup.asciidoc @@ -92,7 +92,7 @@ image::images/new-php-project-m1.png[] 1. In the Projects area, choose PHP Application with Existing Sources and click Next. The New PHP Project > Name and Location panel opens. 2. In the Project Name text field, enter the name of the project. 3. In the Sources Folder field, specify the folder from where you want to import the source files. -*Note:* If you are going to run the <<localServer,project on a local web server>>, do not forget to specify <<copyFilesFromSourcesFolder,copying the source files>> to it. +NOTE: If you are going to run the <<localServer,project on a local web server>>, do not forget to specify <<copyFilesFromSourcesFolder,copying the source files>> to it. 4. From the Default Encoding dropdown list, choose the default encoding for your project. 5. If you want to store NetBeans metadata in a different location than your source files, select "Put NetBeans metadata into a separate directory." For example, you might want to store your sources in your document root but the NetBeans metadata in your NetBeansProjects directory. image::images/new-php-project-with-ssources.png[] diff --git a/netbeans.apache.org/src/content/kb/docs/php/quickstart.asciidoc b/netbeans.apache.org/src/content/kb/docs/php/quickstart.asciidoc index 60ce494..793d46c 100644 --- a/netbeans.apache.org/src/content/kb/docs/php/quickstart.asciidoc +++ b/netbeans.apache.org/src/content/kb/docs/php/quickstart.asciidoc @@ -102,7 +102,7 @@ Congratulations! Your program works! == Using Database Servers with NetBeans IDE for PHP You can use various database servers with the NetBeans IDE for PHP, although the most popular is the MySQL server. Downloads are available link:http://dev.mysql.com/downloads/mysql/5.1.html[+here+]. -*Note:* The recommended version of the product is MySQL Server 5.0. +NOTE: The recommended version of the product is MySQL Server 5.0. See also: * link:../ide/install-and-configure-mysql-server.html[+Setting Up the MySQL Database Server in the Windows Operating System+] diff --git a/netbeans.apache.org/src/content/kb/docs/php/screencast-apigen.asciidoc b/netbeans.apache.org/src/content/kb/docs/php/screencast-apigen.asciidoc index 8e2c78a..21c20cf 100644 --- a/netbeans.apache.org/src/content/kb/docs/php/screencast-apigen.asciidoc +++ b/netbeans.apache.org/src/content/kb/docs/php/screencast-apigen.asciidoc @@ -31,7 +31,7 @@ |=== |This screencast shows how to generate PHP documentation using ApiGen with NetBeans IDE. Built-in support for ApiGen was added in NetBeans IDE 7.2. The screencast includes details of installing ApiGen with PEAR and a simple example of use. -*Note:* ApiGen replaces PHPDocumentor as the documentation tool of choice for NetBeans IDE. You can still use PHPDocumentor if you prefer. Install the PHPDocumentor plugins from Tools > Plugins, and link:http://bits.netbeans.org/media/phpdoc.flv[+download this video+]. +NOTE: ApiGen replaces PHPDocumentor as the documentation tool of choice for NetBeans IDE. You can still use PHPDocumentor if you prefer. Install the PHPDocumentor plugins from Tools > Plugins, and link:http://bits.netbeans.org/media/phpdoc.flv[+download this video+]. Author: Jeff Rubinoff Time: 7:22 diff --git a/netbeans.apache.org/src/content/kb/docs/php/wish-list-lesson1.asciidoc b/netbeans.apache.org/src/content/kb/docs/php/wish-list-lesson1.asciidoc index 63bdcde..83fa3fb 100644 --- a/netbeans.apache.org/src/content/kb/docs/php/wish-list-lesson1.asciidoc +++ b/netbeans.apache.org/src/content/kb/docs/php/wish-list-lesson1.asciidoc @@ -171,7 +171,7 @@ The tables are related through the wisher's ID. All the fields are mandatory exc == Creating the Tables 1. To connect to the database, on the ``jdbc:mysql://localhost:3306/wishlist`` connection, click the right mouse button and choose Connect from the context menu. -*Note:* If the menu item is disabled, you are already connected. Continue with step 2. +NOTE: If the menu item is disabled, you are already connected. Continue with step 2. 2. From the same context menu, choose Execute Command. An empty SQL Command window opens. 3. To create the wishers table, 1. Type the following SQL query (note that you need to explicitly set character sets to UTF-8 for internationalization): @@ -181,7 +181,7 @@ The tables are related through the wisher's ID. All the fields are mandatory exc CREATE TABLE wishers(id INT NOT NULL AUTO_INCREMENT PRIMARY KEY, name CHAR(50) CHARACTER SET utf8 COLLATE utf8_general_ci NOT NULL UNIQUE,password CHAR(50) CHARACTER SET utf8 COLLATE utf8_general_ci NOT NULL) ---- -*Note:* You can get a unique auto generated number from MySQL by specifying the AUTO_INCREMENT property for a field. MySQL will generate a unique number by incrementing the last number of the table and will automatically add to the auto incremented field. In our example the ID field is auto incremented. +NOTE: You can get a unique auto generated number from MySQL by specifying the AUTO_INCREMENT property for a field. MySQL will generate a unique number by incrementing the last number of the table and will automatically add to the auto incremented field. In our example the ID field is auto incremented. 2. Click the right mouse button on the query and then choose Run Statement from the context menu. *Note: *The default storage engine for MySQL is MyISAM, which does not support foreign keys. If you want to use foreign keys, consider using InnoDB as the storage engine. @@ -232,7 +232,7 @@ INSERT INTO wishes (wisher_id, description, due_date) VALUES (1, 'Sausage', 0804 Select the queries, click the right mouse button on each query and from the context menu choose Run Selection. -*Note:* You can also execute the queries one after another as described in item 2. +NOTE: You can also execute the queries one after another as described in item 2. 4. To view the test data, click the right mouse button on the relevant table and from the context menu choose View Data. image::images/view-test-data.png[] diff --git a/netbeans.apache.org/src/content/kb/docs/php/wish-list-lesson2.asciidoc b/netbeans.apache.org/src/content/kb/docs/php/wish-list-lesson2.asciidoc index 38bdb24..932fe01 100644 --- a/netbeans.apache.org/src/content/kb/docs/php/wish-list-lesson2.asciidoc +++ b/netbeans.apache.org/src/content/kb/docs/php/wish-list-lesson2.asciidoc @@ -241,7 +241,7 @@ The code attempts to open a connection to the database and gives an error messag *Note for Oracle Database users:* You may need to alter the database connection in the ``oci_connect`` command. The standard syntax is "hostname/service name". The connection to an Oracle XE database in this snippet is "localhost/XE" to follow that syntax. -*Note:* You can use NetBeans IDE's code completion for either mysqli or OCI8 functions. +NOTE: You can use NetBeans IDE's code completion for either mysqli or OCI8 functions. image::images/codecompletion.png[]image::images/codecompletion-oci.png[] 4. diff --git a/netbeans.apache.org/src/content/kb/docs/php/wish-list-lesson3.asciidoc b/netbeans.apache.org/src/content/kb/docs/php/wish-list-lesson3.asciidoc index 4900fcb..2f72fed 100644 --- a/netbeans.apache.org/src/content/kb/docs/php/wish-list-lesson3.asciidoc +++ b/netbeans.apache.org/src/content/kb/docs/php/wish-list-lesson3.asciidoc @@ -140,7 +140,7 @@ Type or paste the following HTML block into ``createNewWisher.php`` , beneath t </html> ---- -*Note:* The ``password`` type is a special type of a text field where characters are replaced with asterisks. The code presents an link:wish-list-lesson3.html#htmlForm[+HTML form+] for a user to enter the name and password of the new wisher in the text fields. When the user clicks the "Register" button, the entered data is transferred for validation to the same page, ``createNewWisher.php`` . +NOTE: The ``password`` type is a special type of a text field where characters are replaced with asterisks. The code presents an link:wish-list-lesson3.html#htmlForm[+HTML form+] for a user to enter the name and password of the new wisher in the text fields. When the user clicks the "Register" button, the entered data is transferred for validation to the same page, ``createNewWisher.php`` . *Note: *You can ignore warnings from the HTML validator. diff --git a/netbeans.apache.org/src/content/kb/docs/php/wish-list-lesson4.asciidoc b/netbeans.apache.org/src/content/kb/docs/php/wish-list-lesson4.asciidoc index e0fdabc..60cbf8d 100644 --- a/netbeans.apache.org/src/content/kb/docs/php/wish-list-lesson4.asciidoc +++ b/netbeans.apache.org/src/content/kb/docs/php/wish-list-lesson4.asciidoc @@ -299,7 +299,7 @@ public function get_wishes_by_wisher_id($wisherID) { The code block executes the query ``"SELECT id, description, due_date FROM wishes WHERE wisherID=" . $wisherID`` and returns a resultset which is an array of records that meet the query. (The Oracle database uses a bind variable for database performance and security reasons.) The selection is performed by the wisherID, which is the foreign key for the ``wishes `` table. -*Note:* You do not need the ``id`` value until Lesson 7. +NOTE: You do not need the ``id`` value until Lesson 7. === Function create_wisher diff --git a/netbeans.apache.org/src/content/kb/docs/php/wish-list-lesson6.asciidoc b/netbeans.apache.org/src/content/kb/docs/php/wish-list-lesson6.asciidoc index d6fef98..a0a85c0 100644 --- a/netbeans.apache.org/src/content/kb/docs/php/wish-list-lesson6.asciidoc +++ b/netbeans.apache.org/src/content/kb/docs/php/wish-list-lesson6.asciidoc @@ -218,7 +218,7 @@ The code checks which Request Server method was used for transferring the data a If the method is not POST, which means that the input form is displayed for the first time after redirection form the ``editWishList.php`` page, the elements ``description`` and ``due_date`` are empty. -*Note:* In either case the description is empty. The difference is only in the ``dueDate`` . +NOTE: In either case the description is empty. The difference is only in the ``dueDate`` . 2. Update the Add Wish form so that the values of its input fields are retrieved from the ``$wish`` array. Replace the lines in the Add Wish form: @@ -316,7 +316,7 @@ The code calls the function format_date_for_sql to convert the entered due date Add the function ``format_date_for_sql`` to the ``WishDB`` class in ``db.php`` . The function requires a string with a date as the input parameter. The function returns a date in the format that can be processed by the database server or ``null`` if the input string is empty. -*Note:* The function in this example uses the PHP ``date_parse`` function. This function works only with English-language dates, such as December 25, 2010, and only Arabic numerals. A professional web site would use a date picker. +NOTE: The function in this example uses the PHP ``date_parse`` function. This function works only with English-language dates, such as December 25, 2010, and only Arabic numerals. A professional web site would use a date picker. *For the MySQL database:* diff --git a/netbeans.apache.org/src/content/kb/docs/php/wish-list-lesson8.asciidoc b/netbeans.apache.org/src/content/kb/docs/php/wish-list-lesson8.asciidoc index 7fcf626..8d4d8df 100644 --- a/netbeans.apache.org/src/content/kb/docs/php/wish-list-lesson8.asciidoc +++ b/netbeans.apache.org/src/content/kb/docs/php/wish-list-lesson8.asciidoc @@ -223,7 +223,7 @@ The styles "body" and "input" are automatically applied inside the corresponding <div class="showWishList"><input type="submit" name="showWishList" value="Show Wish List of >>" onclick="javascript:showHideShowWishListForm()"/><form name="wishList" action="wishlist.php" method="GET" style="visibility:hidden"><input type="text" name="user"/><input type="submit" value="Go" /></form></div> ---- -*Note:* When a class is specified within a <div> tag, no dot is required in preposition. +NOTE: When a class is specified within a <div> tag, no dot is required in preposition. 3. You can use embedded <div> tags: --------------------------------------------------------------------- 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