benhutchison / scalaswingcontrib   1.9

GitHub

Collection of community contributions to Scala Swing

Scala versions: 3.x 2.13 2.12 2.11 2.10

ScalaSwingContrib

A collection of community-contributed extensions to Scala Swing, including

  • A Tree and TreeModel for wrapping JTree, contributed by Ken Scambler & Sciss
  • A GroupPanel to display items using javax.swing.GroupLayout, contributed by Andreas Flierl
  • A PopupMenu wrapper contributed by https://github.com/sullivan-
  • A ColorChooser contributed by Andy Hicks
  • RichColor enriches java.awt.Color with methods to move around in color space, contributed by Ben Hutchison
  • AbsoluteLayoutPanel supports absolute layouts (Swing's null LayoutManager) in ScalaSwing, contributed by Ben Hutchison and Ken Scambler
  • RichFont enriches java.awt.Font

All classes reside in the scalaswingcontrib package namespace.

ScalaSwingContrib is derived from https://github.com/kenbot/scala-swing and https://github.com/ingoem/scala-swing/pulls, and is maintained by Ben Hutchison and Ken Scambler.

Changelog

  • 1.4: Not Recorded
  • 1.5 April 2013: Fixes/enhancements to Tree (thanks @Sciss)
  • 1.6 Dec 2015: Fixes/enhancements to Tree (thanks @OndrejSpanel)
  • 1.7 Nov 2016: Scala 2.12, library upgrades, jdk8 only
  • 1.8 Jan 2020: Scala 2.13, drops 2.10.x (thanks @OndrejSpanel)
  • 1.9 Apr 2022: Scala 3.x, drops 2.11 (thanks @OndrejSpanel)

Maven details

1.9 is Cross-built for 2.12.x, 2.13.x and 3.1.x:

"com.github.benhutchison" %% "scalaswingcontrib" % "1.9"

Publishing Instructions

Ensure sonatype credentials at $HOME/.sbt/(sbt-version)/sonatype.sbt More info

+publishSigned

sonatypeRelease

Other

Bug reports and pull requests welcome.

Be aware that ScalaSwingContrib is intended to be strictly an extension, not a modification to ScalaSwing, so changes to existing ScalaSwing APIs should be submitted to the core Scala team.