/Desktop

Application framework for Scala on the desktop. Mirror of https://codeberg.org/sciss/Desktop

Primary LanguageScalaGNU Lesser General Public License v2.1LGPL-2.1

Desktop

Build Status Maven Central Donate using Liberapay

statement

Desktop is an application framework for Scala on the desktop, including support for Swing. It is (C)opyright 2013–2021 by Hanns Holger Rutz. All rights reserved. Desktop is released under the GNU Lesser General Public License v2.1+ and comes with absolutely no warranties. To contact the author, send an e-mail to contact at sciss.de.

linking

To link to this library:

"de.sciss" %% "desktop" % v

Furthermore, if you want to support a particular platform, also add some of the following:

"de.sciss" %% "desktop-mac" % v
"de.sciss" %% "desktop-linux" % v

The current version v is "0.11.4".

building

This project builds with sbt against Scala 2.13, 2.12, Dotty. The last version to support Scala 2.11 was 0.10.4.

To build subproject "desktop-mac", you need either OS X with Apple's EAWT extensions, or otherwise the dummy OrangeExtensions are used.

Note that as of 0.10.5, you need Java 9 or newer to compile; however the library can still be used on Java 8. Java 9 is needed to compile support for Java 9 java.awt.Desktop API.

Some demos are available through sbt desktop/test:run. For Mac specific demos, sbt desktop-mac/test:run. Note that when you run on JDK 11 on macOS, it will use the Java 9 API instead of EAWT.

contributing

Please see the file CONTRIBUTING.md