Skip to content

Commit

Permalink
Merge pull request #18 from cjmach/develop
Browse files Browse the repository at this point in the history
Prepare release v1.3.0
  • Loading branch information
cjmach authored Jun 12, 2024
2 parents 19e0fe5 + 9c4f238 commit 8cd7395
Show file tree
Hide file tree
Showing 27 changed files with 164 additions and 44 deletions.
5 changes: 5 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,11 @@ release is created. The following lists the steps to install the suite:
- **The main module**: DJ Native Swing Integration
- **The native module**: DJ Native Swing Integration - [Your OS/Arch]
7. Click on the "Install" button and follow the instructions of the install wizard.
8. Add the following option to `netbeans_default_options` property in netbeans.conf
file, located at [NETBEANS INSTALL DIR]/etc (global config) or [HOME DIR]/.netbeans/[NETBEANS VERSION]/etc
(user config, may not exist):
- **-J-Dsun.awt.disableMixing=true**
9. Restart NetBeans.

## Configuration

Expand Down
2 changes: 1 addition & 1 deletion djns-swt-cocoa-macosx-aarch64/manifest.mf
Original file line number Diff line number Diff line change
Expand Up @@ -2,5 +2,5 @@ Manifest-Version: 1.0
AutoUpdate-Show-In-Client: true
OpenIDE-Module: chrriis.dj.nativeswing.swtcore.cocoa.macosx.aarch64
OpenIDE-Module-Localizing-Bundle: chrriis/dj/nativeswing/swtcore/cocoa/macosx/aarch64/Bundle.properties
OpenIDE-Module-Specification-Version: 1.2.2
OpenIDE-Module-Specification-Version: 1.3.0

4 changes: 2 additions & 2 deletions djns-swt-cocoa-macosx-aarch64/nbproject/genfiles.properties
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
build.xml.data.CRC32=b73d1e95
build.xml.data.CRC32=10726abe
build.xml.script.CRC32=a26f62a4
build.xml.stylesheet.CRC32=15ca8a54@2.92
# This file is used by a NetBeans-based IDE to track changes in generated files such as build-impl.xml.
# Do not edit this file. You may delete it but then the IDE will never regenerate such files for you.
nbproject/build-impl.xml.data.CRC32=b73d1e95
nbproject/build-impl.xml.data.CRC32=10726abe
nbproject/build-impl.xml.script.CRC32=c8510446
nbproject/build-impl.xml.stylesheet.CRC32=49aa68b0@2.92
18 changes: 18 additions & 0 deletions djns-swt-cocoa-macosx-aarch64/nbproject/project.xml
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,24 @@
<specification-version>1.0</specification-version>
</run-dependency>
</dependency>
<dependency>
<code-name-base>org.netbeans.libs.jna</code-name-base>
<build-prerequisite/>
<compile-dependency/>
<run-dependency>
<release-version>2</release-version>
<specification-version>2.15</specification-version>
</run-dependency>
</dependency>
<dependency>
<code-name-base>org.netbeans.libs.jna.platform</code-name-base>
<build-prerequisite/>
<compile-dependency/>
<run-dependency>
<release-version>2</release-version>
<specification-version>2.15</specification-version>
</run-dependency>
</dependency>
<dependency>
<code-name-base>org.openide.util.lookup</code-name-base>
<build-prerequisite/>
Expand Down
2 changes: 1 addition & 1 deletion djns-swt-cocoa-macosx-x86_64/manifest.mf
Original file line number Diff line number Diff line change
Expand Up @@ -2,5 +2,5 @@ Manifest-Version: 1.0
AutoUpdate-Show-In-Client: true
OpenIDE-Module: chrriis.dj.nativeswing.swtcore.cocoa.macosx.x86_64
OpenIDE-Module-Localizing-Bundle: chrriis/dj/nativeswing/swtcore/cocoa/macosx/x86_64/Bundle.properties
OpenIDE-Module-Specification-Version: 1.2.2
OpenIDE-Module-Specification-Version: 1.3.0

4 changes: 2 additions & 2 deletions djns-swt-cocoa-macosx-x86_64/nbproject/genfiles.properties
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
build.xml.data.CRC32=80ae4190
build.xml.data.CRC32=c371825b
build.xml.script.CRC32=862c6b80
build.xml.stylesheet.CRC32=15ca8a54@2.92
# This file is used by a NetBeans-based IDE to track changes in generated files such as build-impl.xml.
# Do not edit this file. You may delete it but then the IDE will never regenerate such files for you.
nbproject/build-impl.xml.data.CRC32=80ae4190
nbproject/build-impl.xml.data.CRC32=c371825b
nbproject/build-impl.xml.script.CRC32=425cae01
nbproject/build-impl.xml.stylesheet.CRC32=49aa68b0@2.92
18 changes: 18 additions & 0 deletions djns-swt-cocoa-macosx-x86_64/nbproject/project.xml
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,24 @@
<specification-version>1.0</specification-version>
</run-dependency>
</dependency>
<dependency>
<code-name-base>org.netbeans.libs.jna</code-name-base>
<build-prerequisite/>
<compile-dependency/>
<run-dependency>
<release-version>2</release-version>
<specification-version>2.15</specification-version>
</run-dependency>
</dependency>
<dependency>
<code-name-base>org.netbeans.libs.jna.platform</code-name-base>
<build-prerequisite/>
<compile-dependency/>
<run-dependency>
<release-version>2</release-version>
<specification-version>2.15</specification-version>
</run-dependency>
</dependency>
<dependency>
<code-name-base>org.openide.util.lookup</code-name-base>
<build-prerequisite/>
Expand Down
2 changes: 1 addition & 1 deletion djns-swt-gtk-linux-aarch64/manifest.mf
Original file line number Diff line number Diff line change
Expand Up @@ -2,5 +2,5 @@ Manifest-Version: 1.0
AutoUpdate-Show-In-Client: true
OpenIDE-Module: chrriis.dj.nativeswing.swtcore.gtk.linux.aarch64
OpenIDE-Module-Localizing-Bundle: chrriis/dj/nativeswing/swtcore/gtk/linux/aarch64/Bundle.properties
OpenIDE-Module-Specification-Version: 1.2.2
OpenIDE-Module-Specification-Version: 1.3.0

4 changes: 2 additions & 2 deletions djns-swt-gtk-linux-aarch64/nbproject/genfiles.properties
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
build.xml.data.CRC32=de29771e
build.xml.data.CRC32=9783eefa
build.xml.script.CRC32=30a1f23c
build.xml.stylesheet.CRC32=15ca8a54@2.92
# This file is used by a NetBeans-based IDE to track changes in generated files such as build-impl.xml.
# Do not edit this file. You may delete it but then the IDE will never regenerate such files for you.
nbproject/build-impl.xml.data.CRC32=de29771e
nbproject/build-impl.xml.data.CRC32=9783eefa
nbproject/build-impl.xml.script.CRC32=be0ec097
nbproject/build-impl.xml.stylesheet.CRC32=49aa68b0@2.92
18 changes: 18 additions & 0 deletions djns-swt-gtk-linux-aarch64/nbproject/project.xml
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,24 @@
<specification-version>1.0</specification-version>
</run-dependency>
</dependency>
<dependency>
<code-name-base>org.netbeans.libs.jna</code-name-base>
<build-prerequisite/>
<compile-dependency/>
<run-dependency>
<release-version>2</release-version>
<specification-version>2.15</specification-version>
</run-dependency>
</dependency>
<dependency>
<code-name-base>org.netbeans.libs.jna.platform</code-name-base>
<build-prerequisite/>
<compile-dependency/>
<run-dependency>
<release-version>2</release-version>
<specification-version>2.15</specification-version>
</run-dependency>
</dependency>
<dependency>
<code-name-base>org.openide.util.lookup</code-name-base>
<build-prerequisite/>
Expand Down
2 changes: 1 addition & 1 deletion djns-swt-gtk-linux-ppc64/manifest.mf
Original file line number Diff line number Diff line change
Expand Up @@ -2,5 +2,5 @@ Manifest-Version: 1.0
AutoUpdate-Show-In-Client: true
OpenIDE-Module: chrriis.dj.nativeswing.swtcore.gtk.linux.ppc64
OpenIDE-Module-Localizing-Bundle: chrriis/dj/nativeswing/swtcore/gtk/linux/ppc64/Bundle.properties
OpenIDE-Module-Specification-Version: 1.2.2
OpenIDE-Module-Specification-Version: 1.3.0

4 changes: 2 additions & 2 deletions djns-swt-gtk-linux-ppc64/nbproject/genfiles.properties
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
build.xml.data.CRC32=0b689509
build.xml.data.CRC32=7abb78fc
build.xml.script.CRC32=4ed57078
build.xml.stylesheet.CRC32=15ca8a54@2.92
# This file is used by a NetBeans-based IDE to track changes in generated files such as build-impl.xml.
# Do not edit this file. You may delete it but then the IDE will never regenerate such files for you.
nbproject/build-impl.xml.data.CRC32=0b689509
nbproject/build-impl.xml.data.CRC32=7abb78fc
nbproject/build-impl.xml.script.CRC32=e3c014c2
nbproject/build-impl.xml.stylesheet.CRC32=49aa68b0@2.92
18 changes: 18 additions & 0 deletions djns-swt-gtk-linux-ppc64/nbproject/project.xml
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,24 @@
<specification-version>1.0</specification-version>
</run-dependency>
</dependency>
<dependency>
<code-name-base>org.netbeans.libs.jna</code-name-base>
<build-prerequisite/>
<compile-dependency/>
<run-dependency>
<release-version>2</release-version>
<specification-version>2.15</specification-version>
</run-dependency>
</dependency>
<dependency>
<code-name-base>org.netbeans.libs.jna.platform</code-name-base>
<build-prerequisite/>
<compile-dependency/>
<run-dependency>
<release-version>2</release-version>
<specification-version>2.15</specification-version>
</run-dependency>
</dependency>
<dependency>
<code-name-base>org.openide.util.lookup</code-name-base>
<build-prerequisite/>
Expand Down
2 changes: 1 addition & 1 deletion djns-swt-gtk-linux-x86_64/manifest.mf
Original file line number Diff line number Diff line change
Expand Up @@ -2,5 +2,5 @@ Manifest-Version: 1.0
AutoUpdate-Show-In-Client: true
OpenIDE-Module: chrriis.dj.nativeswing.swtcore.gtk.linux.x86_64
OpenIDE-Module-Localizing-Bundle: chrriis/dj/nativeswing/swtcore/gtk/linux/x86_64/Bundle.properties
OpenIDE-Module-Specification-Version: 1.2.2
OpenIDE-Module-Specification-Version: 1.3.0

4 changes: 2 additions & 2 deletions djns-swt-gtk-linux-x86_64/nbproject/genfiles.properties
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
build.xml.data.CRC32=7e9f711f
build.xml.data.CRC32=32b3b48e
build.xml.script.CRC32=12845596
build.xml.stylesheet.CRC32=15ca8a54@2.92
# This file is used by a NetBeans-based IDE to track changes in generated files such as build-impl.xml.
# Do not edit this file. You may delete it but then the IDE will never regenerate such files for you.
nbproject/build-impl.xml.data.CRC32=7e9f711f
nbproject/build-impl.xml.data.CRC32=32b3b48e
nbproject/build-impl.xml.script.CRC32=c1d9ef41
nbproject/build-impl.xml.stylesheet.CRC32=49aa68b0@2.92
18 changes: 18 additions & 0 deletions djns-swt-gtk-linux-x86_64/nbproject/project.xml
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,24 @@
<specification-version>1.0</specification-version>
</run-dependency>
</dependency>
<dependency>
<code-name-base>org.netbeans.libs.jna</code-name-base>
<build-prerequisite/>
<compile-dependency/>
<run-dependency>
<release-version>2</release-version>
<specification-version>2.15</specification-version>
</run-dependency>
</dependency>
<dependency>
<code-name-base>org.netbeans.libs.jna.platform</code-name-base>
<build-prerequisite/>
<compile-dependency/>
<run-dependency>
<release-version>2</release-version>
<specification-version>2.15</specification-version>
</run-dependency>
</dependency>
<dependency>
<code-name-base>org.openide.util.lookup</code-name-base>
<build-prerequisite/>
Expand Down
2 changes: 1 addition & 1 deletion djns-swt-win32-win32-x86_64/manifest.mf
Original file line number Diff line number Diff line change
Expand Up @@ -2,5 +2,5 @@ Manifest-Version: 1.0
AutoUpdate-Show-In-Client: true
OpenIDE-Module: chrriis.dj.nativeswing.swtcore.win32.win32.x86_64
OpenIDE-Module-Localizing-Bundle: chrriis/dj/nativeswing/swtcore/win32/win32/x86_64/Bundle.properties
OpenIDE-Module-Specification-Version: 1.2.2
OpenIDE-Module-Specification-Version: 1.3.0

4 changes: 2 additions & 2 deletions djns-swt-win32-win32-x86_64/nbproject/genfiles.properties
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
build.xml.data.CRC32=d1e1da1d
build.xml.data.CRC32=eef0937c
build.xml.script.CRC32=7d38c2ab
build.xml.stylesheet.CRC32=15ca8a54@2.92
# This file is used by a NetBeans-based IDE to track changes in generated files such as build-impl.xml.
# Do not edit this file. You may delete it but then the IDE will never regenerate such files for you.
nbproject/build-impl.xml.data.CRC32=d1e1da1d
nbproject/build-impl.xml.data.CRC32=eef0937c
nbproject/build-impl.xml.script.CRC32=c16237f3
nbproject/build-impl.xml.stylesheet.CRC32=49aa68b0@2.92
18 changes: 18 additions & 0 deletions djns-swt-win32-win32-x86_64/nbproject/project.xml
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,24 @@
<specification-version>1.0</specification-version>
</run-dependency>
</dependency>
<dependency>
<code-name-base>org.netbeans.libs.jna</code-name-base>
<build-prerequisite/>
<compile-dependency/>
<run-dependency>
<release-version>2</release-version>
<specification-version>2.15</specification-version>
</run-dependency>
</dependency>
<dependency>
<code-name-base>org.netbeans.libs.jna.platform</code-name-base>
<build-prerequisite/>
<compile-dependency/>
<run-dependency>
<release-version>2</release-version>
<specification-version>2.15</specification-version>
</run-dependency>
</dependency>
<dependency>
<code-name-base>org.openide.util.lookup</code-name-base>
<build-prerequisite/>
Expand Down
1 change: 0 additions & 1 deletion djns-swt/ivy.xml
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
<ivy-module version="2.0">
<info organisation="pt.cjmach.netbeans" module="djns-swt"/>
<dependencies>
<dependency org="net.java.dev.jna" name="jna" rev="5.2.0"/>
<exclude org="*" ext="*" type="javadoc"/>
<exclude org="*" ext="*" type="source"/>
</dependencies>
Expand Down
2 changes: 1 addition & 1 deletion djns-swt/manifest.mf
Original file line number Diff line number Diff line change
Expand Up @@ -3,5 +3,5 @@ AutoUpdate-Show-In-Client: false
OpenIDE-Module: chrriis.dj.nativeswing.swtimpl
OpenIDE-Module-Install: chrriis/dj/nativeswing/swtimpl/Installer.class
OpenIDE-Module-Localizing-Bundle: chrriis/dj/nativeswing/swtimpl/Bundle.properties
OpenIDE-Module-Specification-Version: 1.2.2
OpenIDE-Module-Specification-Version: 1.3.0

2 changes: 1 addition & 1 deletion djns-swt/nbproject/genfiles.properties
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,6 @@ build.xml.script.CRC32=219829ed
build.xml.stylesheet.CRC32=15ca8a54@2.80
# This file is used by a NetBeans-based IDE to track changes in generated files such as build-impl.xml.
# Do not edit this file. You may delete it but then the IDE will never regenerate such files for you.
nbproject/build-impl.xml.data.CRC32=a6ea132a
nbproject/build-impl.xml.data.CRC32=ef6b0d8d
nbproject/build-impl.xml.script.CRC32=37231e19
nbproject/build-impl.xml.stylesheet.CRC32=49aa68b0@2.92
1 change: 1 addition & 0 deletions djns-swt/nbproject/project.properties
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
file.reference.DJNativeSwing-SWTAPI.jar=release/modules/DJNativeSwing-SWTAPI.jar
file.reference.DJNativeSwing.jar=release/modules/DJNativeSwing.jar
file.reference.jna-5.2.0.jar=release/modules/ext/jna-5.2.0.jar
file.reference.jna-platform-5.2.0.jar=release/modules/ext/jna-platform-5.2.0.jar
javac.source=11
javac.compilerargs=-Xlint -Xlint:-serial
license.file=../LICENSE
Expand Down
25 changes: 18 additions & 7 deletions djns-swt/nbproject/project.xml
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,24 @@
<specification-version>1.55</specification-version>
</run-dependency>
</dependency>
<dependency>
<code-name-base>org.netbeans.libs.jna</code-name-base>
<build-prerequisite/>
<compile-dependency/>
<run-dependency>
<release-version>2</release-version>
<specification-version>2.15</specification-version>
</run-dependency>
</dependency>
<dependency>
<code-name-base>org.netbeans.libs.jna.platform</code-name-base>
<build-prerequisite/>
<compile-dependency/>
<run-dependency>
<release-version>2</release-version>
<specification-version>2.15</specification-version>
</run-dependency>
</dependency>
<dependency>
<code-name-base>org.netbeans.modules.autoupdate.services</code-name-base>
<build-prerequisite/>
Expand Down Expand Up @@ -70,9 +88,6 @@
<package>chrriis.dj.nativeswing.swtimpl.netbeans</package>
<package>chrriis.dj.nativeswing.swtimpl.utilities</package>
<package>chrriis.dj.nativeswing.swtimpl.utilities.internal</package>
<package>com.sun.jna</package>
<package>com.sun.jna.ptr</package>
<package>com.sun.jna.win32</package>
</public-packages>
<class-path-extension>
<runtime-relative-path>DJNativeSwing.jar</runtime-relative-path>
Expand All @@ -82,10 +97,6 @@
<runtime-relative-path>DJNativeSwing-SWTAPI.jar</runtime-relative-path>
<binary-origin>release/modules/DJNativeSwing-SWTAPI.jar</binary-origin>
</class-path-extension>
<class-path-extension>
<runtime-relative-path>ext/jna-5.2.0.jar</runtime-relative-path>
<binary-origin>release/modules/ext/jna-5.2.0.jar</binary-origin>
</class-path-extension>
</data>
</configuration>
</project>
2 changes: 1 addition & 1 deletion djns/manifest.mf
Original file line number Diff line number Diff line change
Expand Up @@ -5,5 +5,5 @@ OpenIDE-Module-Install: pt/cjmach/netbeans/djns/Installer.class
OpenIDE-Module-Layer: pt/cjmach/netbeans/djns/layer.xml
OpenIDE-Module-Localizing-Bundle: pt/cjmach/netbeans/djns/Bundle.properties
OpenIDE-Module-Requires: org.openide.windows.WindowManager
OpenIDE-Module-Specification-Version: 1.2.2
OpenIDE-Module-Specification-Version: 1.3.0

Original file line number Diff line number Diff line change
Expand Up @@ -74,7 +74,7 @@ public void dispose() {
@Override
public JWebBrowser getComponent() {
if (browser == null) {
browser = new JWebBrowser(NSComponentOptions.destroyOnFinalization());
browser = new JWebBrowser(NSComponentOptions.destroyOnFinalization(), NSComponentOptions.proxyComponentHierarchy());
browser.setDefaultPopupMenuRegistered(false);
browser.setBarsVisible(false);
browser.addWebBrowserListener(browserListener);
Expand Down
Loading

0 comments on commit 8cd7395

Please sign in to comment.