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

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


The following commit(s) were added to refs/heads/master by this push:
     new 76f5e83c8 Image URL corrected
     new 6bedd72e5 Merge pull request #655 from ramiswailem/patch-1
76f5e83c8 is described below

commit 76f5e83c81d421dbf9fec1ccc0634fd374b97799
Author: Rami Swailem <[email protected]>
AuthorDate: Wed Jun 7 11:20:00 2023 +0200

    Image URL corrected
    
    https://netbeans.apache.org/tutorials/nbm-property-editors.html
---
 .../content/tutorials/nbm-property-editors.adoc    | 22 +++++++++++-----------
 1 file changed, 11 insertions(+), 11 deletions(-)

diff --git 
a/netbeans.apache.org/src/content/tutorials/nbm-property-editors.adoc 
b/netbeans.apache.org/src/content/tutorials/nbm-property-editors.adoc
index d4ba4ea29..a9f387eb6 100644
--- a/netbeans.apache.org/src/content/tutorials/nbm-property-editors.adoc
+++ b/netbeans.apache.org/src/content/tutorials/nbm-property-editors.adoc
@@ -128,7 +128,7 @@ dateProp.setPropertyEditorClass(DatePropertyEditor.class);
 1. Run the Event Manager and note the new format of the ZonedDateTime 
property, as shown here:
 
 
-image::images/nbm-property-editor/date-editor-1.png[]
+image::images/property-editors_date-editor-1.png[]
 
 
 [start=7]
@@ -141,7 +141,7 @@ return 
DateTimeFormatter.ofLocalizedDateTime(FormatStyle.FULL).format(d);
 
 Now when you run again, the property is displayed with a different format, 
which will depend on your locale, but might look similar to this:
 
-image::images/nbm-property-editor/date-editor-2.png[]
+image::images/property-editors_date-editor-2.png[]
 
 == Creating a Custom Editor
 
@@ -173,12 +173,12 @@ public boolean supportsCustomEditor() {
 1. Run the Event Manager, and now you have a "..." button beside the property 
in the property sheet, as shown below:
 
 
-image::images/nbm-property-editor/date-editor-3.png[]
+image::images/property-editors_date-editor-3.png[]
 
 Click it, and your JLabel appears:
 
 
-image::images/nbm-property-editor/date-editor-4.png[]
+image::images/property-editors_date-editor-4.png[]
 
 If you were doing this for real, you would create a JPanel, and embed some 
sort of calendar and/or clock component to make it easy to set the properties; 
the code necessary to do it right would be a distraction here.
 
@@ -206,7 +206,7 @@ We'll take the opportunity to explore adding an external 
library for the Date/Ti
 [start=3]
 1. Click Browse next to the Library text field, and select the jar file you 
just download.
 
-image::images/nbm-property-editor/date-editor-5.png[]
+image::images/property-editors_date-editor-5.png[]
 
 Click Next.
 
@@ -214,7 +214,7 @@ Click Next.
 [start=4]
 1. Your paths will look different, but you should see something similar to:
 
-image::images/nbm-property-editor/date-editor-6.png[]
+image::images/property-editors_date-editor-6.png[]
 
 Click Next again.
 
@@ -222,21 +222,21 @@ Click Next again.
 [start=5]
 1. Set the code name base to  ``org.github.lgooddatepicker`` :
 
-image::images/nbm-property-editor/date-editor-7.png[]
+image::images/property-editors_date-editor-7.png[]
 
 Click Finish and you should see the new module, wrapping the selected JAR:
 
-image::images/nbm-property-editor/date-editor-8.png[]
+image::images/property-editors_date-editor-8.png[]
 
 
 [start=6]
 1. Right click the My Editor project node in the Projects tab in the main 
window, and choose Properties. In the Libraries page, click the Add Dependency 
button, and select your new "LGoodDatePicker" module.
 
-image::images/nbm-property-editor/date-editor-9.png[]
+image::images/property-editors_date-editor-9.png[]
 
 When you click OK, you will see the new dependency:
 
-image::images/nbm-property-editor/date-editor-10.png[]
+image::images/property-editors_date-editor-10.png[]
 
 Now you are ready to make use of the date picker. This will involve 
implementing a couple of NetBeans-specific interfaces:
 
@@ -386,7 +386,7 @@ private static class Inplace implements InplaceEditor {
 [start=12]
 1. Run the Event Manager again, select an instance of `EventNode`, and click 
the value of the date property in the property sheet. Notice that the date-time 
picker popup appears, and behaves exactly as it should, as shown below:
 
-image::images/nbm-property-editor/date-editor-11.png[]
+image::images/property-editors_date-editor-11.png[]
 
 
 == Registering DatePropertyEditor Globally


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

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

Reply via email to