Skip to content

Latest commit

 

History

2 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

lazygui-maven-sample

A minimal Gradle project that consumes LazyGui straight from Maven Central and runs one of its example sketches.

What it demonstrates

  • Depends on io.github.krabcode:lazygui from Maven Central — no local jar
  • Runs the GeneralOverview example as a plain Java PApplet
  • Confirms LazyGui (compiled against Processing 3.3.7) runs fine on Processing 4.x

Dependencies (build.gradle)

repositories { mavenCentral() }

dependencies {
    implementation 'io.github.krabcode:lazygui:latest.release'
    implementation 'org.processing:core:4.5.5'
}

Run

./gradlew run          # Windows: gradlew.bat run

An 1200×800 window opens with a shape you can drag, rotate, recolour and switch between rectangle/ellipse — all driven by the LazyGui tree.

Note on JOGL natives

Processing 4.5.5 pulls JOGL 2.6.0, whose Maven native jars ship the DLLs but omit the per-module TAG marker classes JOGL's jar-cache loader needs. That causes an UnsatisfiedLinkError (JAWT_GetAWT1) when running P2D outside the PDE. build.gradle works around it by extracting the DLLs and loading them via java.library.path with the temp-jar-cache disabled. This workaround is currently Windows-only (natives-windows, .dll); other platforms would need the matching classifier and library extension.

About

Minimal Gradle project consuming LazyGui from Maven Central (runs the GeneralOverview example on Processing 4)

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages