Modern Docking is a simple framework designed for adding docking features to Java Swing applications.
There are many existing Java Swing docking frameworks, but they are outdated and no longer maintained. The existing frameworks also suffer from complexity due to customization features.
Modern Docking snapshot binaries are available on
Sonatype OSSRH.
To access the latest snapshot, change the Modern Docking version in your dependencies
to <version>-SNAPSHOT
(e.g. 0.11.0-SNAPSHOT
) and add the repository
https://s01.oss.sonatype.org/content/repositories/snapshots/
to your build (see
Maven
and
Gradle
docs).
Modern Docking uses Gradle and can be opened directly in IntelliJ IDEA or any other IDE that supports Gradle. It can also be built from the command line with ./gradlew build
.
See basic-demo for a simple example in Example.java and a more complicated example in MainFrame.java.