Skip to content

Instantly share code, notes, and snippets.

@dgreen
dgreen / pom-updates-javafx-2021.md
Last active July 19, 2022 14:12
Netbeans 12.4 and JavaFX App Development

Configuring NetBeans to build an App using JDK 15 and JavaFx 16

This is a short note to document a process for creating a build environment in NetBeans to

  • Build a modular project with JavaFx
  • Run project inside NetBeans environment with the Run Project key (or from menu)
  • Debug project inside NetBeans environment with the Debug Project key (or from menu)
  • Extract Javadoc documentation from the project with the Run | Generate Javadoc menu
  • Execute the code from the command line on a machine with the Azul JDK with JavaFX installed.
@dgreen
dgreen / pom-javadoc.xml
Created July 16, 2021 20:27
pom addition to generate JavaDoc
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-javadoc-plugin</artifactId>
<version>3.3.0</version>
<configuration>
<source>15</source>
<target>15</target>
<sourceFileExcludes>**/module-info.java</sourceFileExcludes>
</configuration>
</plugin>

Configuring NetBeans to build an App using JDK 17 and JavaFx 17

This is a short note to document a process for creating a build environment in NetBeans to

  • Build a modular project with JavaFx
  • Run project inside NetBeans environment with the Run Project key (or from menu)
  • Debug project inside NetBeans environment with the Debug Project key (or from menu)
  • Extract Javadoc documentation from the project with the Run | Generate Javadoc menu
  • Execute the code from the command line on a machine with the Azul JDK without JavaFX installed.
@dgreen
dgreen / obsidian-web-clipper.js
Last active September 18, 2023 16:11 — forked from kepano/obsidian-web-clipper.js
Obsidian Web Clipper Bookmarklet to save articles and pages from the web (for Safari, Chrome, Firefox, and mobile browsers)
javascript: Promise.all([import('https://unpkg.com/[email protected]?module'), import('https://unpkg.com/@tehshrike/[email protected]'), ]).then(async ([{
default: Turndown
}, {
default: Readability
}]) => {
/* Optional vault name */
const vault = "VaultV2";
/* Optional folder name such as "Clippings/" */