Kotlin Multiplatform Development
 

Swing interoperability

Edit pageLast modified: 29 November 2024

Here, you'll learn about using Swing components in the Compose Multiplatform application and vice versa, the limitations and advantages of this interoperability, and when you should or shouldn't use this approach.

The interoperability between Compose Multiplatform and Swing aims to help you:

  • Simplify and smooth the migration process of Swing applications to Compose Multiplatform.

  • Enhance Compose Multiplatform applications using Swing components when no Compose analogues are available.

In many cases, it's more effective to implement a missing component directly in Compose Multiplatform (and contribute it to the community) rather than using a Swing component within a Compose Multiplatform application.