Skip to content

andrewauclair/ModernDocking

Repository files navigation

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 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).

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

Buy Me A Coffee