ModernDocking
Lightweight docking framework for Java Swing with drag-and-drop panels, floating windows, split/tabbed layouts, auto-hide, and layout persistence. Zero dependencies. Java 11+.
Install / Use
/learn @andrewauclair/ModernDockingREADME
Modern Docking
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.
Snapshots
Modern Docking snapshot binaries are available on
Sonatype Central Portal.
To access the latest snapshot, change the Modern Docking version in your dependencies
to <version>-SNAPSHOT (e.g. 1.1-SNAPSHOT) and add the repository
https://central.sonatype.com/repository/maven-snapshots/ to your build (see
Maven
and
Gradle
docs).
Features
- Supports Java 11 and newer
- Docking Component Interface
- Docking Frames (Floating JFrame)
- Docking Ports (One per frame)
- Split Panels
- Tabbed Panels
- Visual Studio style drag floating and docking hints that show drop locations
Modern Docking UI Extension
- Requires FlatLaf L&F
Building
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.
Examples
See basic-demo for a simple example in Example.java and a more complicated example in MainFrame.java.
Support
<a href="https://www.buymeacoffee.com/andrewauclair" target="_blank"><img src="https://cdn.buymeacoffee.com/buttons/v2/default-yellow.png" alt="Buy Me A Coffee" style="height: 60px !important;width: 217px !important;" ></a>
Related Skills
node-connect
338.0kDiagnose OpenClaw node connection and pairing failures for Android, iOS, and macOS companion apps
frontend-design
83.4kCreate distinctive, production-grade frontend interfaces with high design quality. Use this skill when the user asks to build web components, pages, or applications. Generates creative, polished code that avoids generic AI aesthetics.
openai-whisper-api
338.0kTranscribe audio via OpenAI Audio Transcriptions API (Whisper).
commit-push-pr
83.4kCommit, push, and open a PR
