SkillAgentSearch skills...

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/ModernDocking
About this skill

Quality Score

0/100

Supported Platforms

Universal

README

Modern Docking

License: MIT

Maven Central

Maven Central Maven Central

Maven Central

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

Maven Central

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

View on GitHub
GitHub Stars147
CategoryDevelopment
Updated17h ago
Forks28

Languages

Java

Security Score

100/100

Audited on Mar 26, 2026

No findings