@jpsacha jpsacha released this Oct 13, 2018 · 6 commits to master since this release

Assets 2

ScalaFX 11-R16 was tested against JavaFX 11. It contains changes to better support JavaFX 11.
It includes features from recently released versions 8.0.181-R13 and 10.0.2-R15.

End user visible features:

  • Issue #185: Correct implementation of "Enum" classes.
  • Issue #288 Add wrappers for new Spinner properties in JavaFX 11

Internal changes:

  • Issue #287 Add support for building with Java 11
  • Issue #289 Exclude JavaFX 11 OS dependent libraries when publishing binaries

To use ScalaFX with Java 11 add following to your SBT:

// Add dependency on ScalaFX library
libraryDependencies += "org.scalafx" %% "scalafx" % "11-R16"

// Determine OS version of JavaFX binaries
lazy val osName = System.getProperty("os.name") match {
  case n if n.startsWith("Linux")   => "linux"
  case n if n.startsWith("Mac")     => "mac"
  case n if n.startsWith("Windows") => "win"
  case _ => throw new Exception("Unknown platform!")
}

lazy val javaFXModules = Seq("base", "controls", "fxml", "graphics", "media", "swing", "web")
libraryDependencies ++= javaFXModules.map( m =>
  "org.openjfx" % s"javafx-$m" % "11" classifier osName
)

For downloads visit ScalaFX on Sonatype or ScalaFX Releases on GitHub.
Please report any problems using ScalaFX Issue Tracker.
Please use ScalaFX Users Group to post questions.

@jpsacha jpsacha released this Oct 13, 2018 · 9 commits to master since this release

Assets 2

ScalaFX 10.0.2-R15 was tested against JavaFX 10.0.2. It contains changes to better support JavaFX 10.

New features, many provided by Romain DEP:

  • Add missing public static methods for Font: loadFonts(url), loadFonts(stream)
  • Add missing properties for Node: viewOrder
  • Add missing public static methods for Platform: requestNextPulse, startup, enterNestedEventLoop, exitNestedEventLoop, isNestedLoopRunning
  • Add missing properties for Window: renderScaleX, renderScaleY, outputScaleX, outputScaleY, forceIntegerRenderScale
  • Add missing properties for MenuButton: onHiding, onShowing, onShown, onHidden
  • Add missing properties for Spinner: promptText
  • StyleConverter: wrap the StringStore class
  • Add public static methods for StyleConverter: readBinary, clearCache
  • Add missing properties for TabPane: tabDragPolicy
  • Add missing properties for Text: caretBias, caretPosition, caretShape, selectionEnd, selectionFill, selectionShape, selectionStart
  • Add missing properties for Tooltip: hideDelay, showDelay, showDuration

To use ScalaFX add following to your SBT:

  libraryDependencies += "org.scalafx" %% "scalafx" % "10.0.2-R15"

For downloads visit ScalaFX on Sonatype or ScalaFX Releases on GitHub.
Please report any problems using ScalaFX Issue Tracker.
Please use ScalaFX Users Group to post questions.

@jpsacha jpsacha released this Sep 30, 2018 · 15 commits to master since this release

Assets 2

ScalaFX 8.0.181-R13 was tested against JavaFX 8.0u181. It contains bug fixes.
Scala 2.10, 2.11, and 2.12 are supported.

Bug fixes:

  • Issue #269: + concat Binding Expressions function of class StringExpression not working as intended. Thanks to PR from kdallen25 #282.
  • Issue #271: Value members in object BackgroundPosition have the wrong type.

To use ScalaFX add following to your SBT:

  libraryDependencies += "org.scalafx" %% "scalafx" % "8.0.181-R13"

For downloads visit ScalaFX on Sonatype or ScalaFX Releases on GitHub.
Please report any problems using ScalaFX Issue Tracker.
Please use ScalaFX Users Group to post questions.

@jpsacha jpsacha released this Oct 15, 2017 · 31 commits to master since this release

Assets 2

ScalaFX 8.0.144-R14 was tested against JavaFX 8.0u144. It is contains new features and bug fixes.
Scala 2.10, 2.11, and 2.12 are supported.

New features and improvements:

  • Issue #46 Missing wrappers for ReadOnly[Collection]Wrappers enhancement imported
  • Issue #53 Missing wrappers for ReadOnly[Collection]Property enhancement imported
  • Issue #54 Missing wrappers for beans.binding.[Collection]Expression enhancement imported
  • Issue #174 Implement wrappers for javafx.collections.transformation classes SFX-8
  • Issue #255 Add missing constructor for MouseEvent

Bug fixes:

  • Issue #262 TextFieldListCell.converter_=(c) method does not work. Thanks to PR from atrosinenko.
  • Issue #267 In Image constructor, requestedWidth is passed instead of requestedHeight. Thanks to PR from KSwordOfHaste.

To use ScalaFX add following to your SBT:

  libraryDependencies += "org.scalafx" %% "scalafx" % "8.0.144-R12"

For downloads visit ScalaFX on Sonatype or ScalaFX Releases on GitHub.
Please report any problems using ScalaFX Issue Tracker.
Please use ScalaFX Users Group to post questions.

@jpsacha jpsacha released this Sep 17, 2016 · 69 commits to master since this release

Assets 2

ScalaFX 8.0.102-R11 was tested against JavaFX 8.0u102. It is contains new features and bug fixes. Scala 2.10, 2.11, and 2.12 are supported.

New features and improvements:

  • Issue #239 return subscription from onChange like the rest of observable collections. Thanks to PR from Piotr Mardziel (@piotrm0)
  • Issue #244 Add Selector creation with provided orientation enhancement.
  • Issue #245 Support Scala 2.12.0-RC1 and ScalaTest 3.

Bug fixes:

  • Issue #240 Text.strikethrough_=(v: Boolean) doesn't work. Thanks to PR from @MamoruAsagami.
  • Issue #241 Shape.stroke_=(v: Paint) doesn't accept null as v. Thanks to PR from @MamoruAsagami.
  • Issue #242 Some classes, like Clipboard, have incorrect links to corresponding JavaFX documentation.

To use ScalaFX add following to your SBT:

  libraryDependencies += "org.scalafx" %% "scalafx" % "8.0.102-R11"

For downloads visit ScalaFX on Sonatype or ScalaFX Releases on GitHub.
Please report any problems using ScalaFX Issue Tracker.
Please use ScalaFX Users Group to post questions.

@jpsacha jpsacha released this Apr 22, 2016 · 84 commits to master since this release

Assets 2

ScalaFX 8.0.92-R10 was tested against JavaFX 8.0u92.
It is contains some new features and bug-fix release. Scala 2.10, 2.11, and 2.12 are supported.

Compatibility braking changes:

  • Issue #107: Remove code that was deprecated before release of ScalaFX 1.0.0 M1

New features and improvements:

Bug fixes:

  • Issue #69: SFX-8: ColorfulCircles and SimpleColorfulCircles demos fail.
  • Issue #184: ObservableBuffer.Change has no generic type parameters, while the majority of its children do.
  • Issue #217: NPE when calling Node#snapshot
  • Issue #219: WritableImage#pixelWrit should be pixelWriter.
  • Issue #220: Scene's onMouseDrag* setters have incorrect type parameters, jfxsi.MouseEvent instead jfxsi.MouseDragEvent.
  • Issue #221: Some type constraints in methods using jfxe.EventHandler arguments have incorrect variance.
  • Issue #222: Some setter are defined with _(...) instead of _=(...).
  • Issue #233: Problem with StringProperty.concat.
  • Issue #236: Importing scalafx.Includes._ breaks cellFactory creation.

To use ScalaFX add following to your SBT:

  libraryDependencies += "org.scalafx" %% "scalafx" % "8.0.92-R10"

For downloads visit ScalaFX on Sonatype or ScalaFX Releases on GitHub.
Please report any problems using ScalaFX Issue Tracker.
Please use ScalaFX Users Group to post questions.

@jpsacha jpsacha released this Oct 2, 2015 · 141 commits to master since this release

Assets 2

ScalaFX 8.0.60-R9 was tested against JavaFX 8.0u60.
This is primarily compatibility upgrade (for new JavaFX 8.0u60 API) and bug-fix release.

Compatibility braking changes:

  • Issue #208: Support changes in Java 8 u60 API - ChoiceBox, MenuButton, ...

New features and improvements:

  • Issue #188: Add helper methods for adding buttons.
  • Issue #192: Add wrappers for Dragboard methods added in JavaFX 8.

Bug fixes:

  • Issue #189: TableView.columnResizePolicy does not accept CONSTRAINED_RESIZE_POLICY.
  • Issue #190: Convenience methods for Clipboard assignment don't work. See examples of usage in new ScalaDoc.
  • Issue #193: Method Clipboard.Files should start with lower case f.
  • Issue #197: MultipleSelectionModel.selected* methods should return ScalaFX ObservableBuffer.
  • Issue #199: TableColumn should allow assignment of predefined cell factories.
  • Issue #205: Calling scalafx.scene.Node.localToParentTransform / localToSceneTransform results in StackOverflow exception.
  • Issue #214: Infinite recursion in scalafx.scene.Node#snapshot(callback, params, image).
  • Issue #215: Incorrect assignment in scalafx.stage.PopupWindow#consumeAutoHidingEvents.

To use ScalaFX add following to your SBT:

libraryDependencies += "org.scalafx" %% "scalafx" % "8.0.60-R9"

For downloads visit ScalaFX on Sonatype or ScalaFX Releases on GitHub.
Please report any problems using ScalaFX Issue Tracker.
Please use ScalaFX Users Group to post questions.

@jpsacha jpsacha released this Mar 18, 2015 · 188 commits to master since this release

Assets 2

ScalaFX 8.0.40-R8 was tested against JavaFX 8.0.40.
This release adds wrappers for new features in JavaFX 8u40.

  • Compatibility braking changes:
    • Issue #163: content property naming conflict with JavaFX 8u40. Usage of content property in ScalaFX where it was referring to children property in JavaFX was deprecated in v.8.0.31-R7, and is now removed in ScalaFX 8.0.40-R8. You need to use children to access childrenProperty in JavaFX, and content to access contentProperty.
    • To follow the same naming approach, use of content in Scene and SubScene was deprecated. You should use children instead.
  • New features (JavaFX 8u40):
    • Issue #162: Support Dialogs and Alerts. See examples in those this blog post
    • Issue #158: Add Spinner and SpinnerValueFactory classes. See examples in this blog post
    • Add TextFormatter and new properties in TextInputControl. See examples in those two blog posts.
    • Add new class VertexFormat.
    • Add wrappers for new properties in: LineChart, Node, Platform, ScrollPane, TriangleMesh.
    • Issue #160: Support new accessibility properties added to Node
    • Updated TreeItem constructors
  • Bug fixes:
    • Issue #180: Bindings.select* methods throw "property ... doesn't exists" exceptions.

To use ScalaFX add following to your SBT:

libraryDependencies += "org.scalafx" %% "scalafx" % "8.0.40-R8"

For binary downloads visit ScalaFX on Sonatype.

@jpsacha jpsacha released this Jan 29, 2015 · 237 commits to master since this release

Assets 5

ScalaFX 8.0.31-R7 was tested against JavaFX 8.0.31. Improvements and bug fixes are mostly merged from ScalaFX 2 branch (except Issue #159).

  • Compatibility braking changes:
    • Issue #163: content property naming conflict with JavaFX 8u40. Usage of content property in ScalaFX where it was referring to children property in JavaFX was deprecated and will be removed in ScalaFX 8u40.\
    • Issue #164: Scala 2.9 is no longer supported starting with this release.
  • New features:
    • Issue #159: Add VBox and HBox constructors added in JavaFX 8
    • Issue #161: Add missing traits in scalafx.event: EventDispatchChain, EventDispatcher, EventTarget
    • Issue #168: Added wrappers for FormatStringConverter
    • Issue #171: ScalaDocs are now generated with links to sources
    • Issue #172: ScalaDocs are now generated with hierarchy diagrams
    • Issue #173: Added wrappers for SeparatorMenuItem and CustomMenuItem (thanks to Roman Hargrave)
  • Bug fixes:
    • Issue #154: TableView's selectedItem not empty after clearing the selection
    • Issue #167: ListCell should inherit from IndexedCell
    • Issue #169: Observable buffer ignores update changes
    • Issue #178: When FileChooser.showOpenMultipleDialog() is used and user cancelled selection an NPE is thrown.

@jpsacha jpsacha released this Jan 29, 2015 · 536 commits to master since this release

Assets 5

ScalaFX 2.2.76-R11 was tested against JavaFX 2.2.76.

  • Compatibility braking changes:
    • Issue #163: content property naming conflict with JavaFX 8u40. Usage of content property in ScalaFX where it was referring to children property in JavaFX was deprecated and will be removed in ScalaFX 8u40.\
    • Issue #164: Scala 2.9 is no longer supported starting with this release.
  • New features:
    • Issue #161: Add missing traits in scalafx.event: EventDispatchChain, EventDispatcher, EventTarget
    • Issue #168: Added wrappers for FormatStringConverter
    • Issue #171: ScalaDocs are now generated with links to sources
    • Issue #172: ScalaDocs are now generated with hierarchy diagrams
    • Issue #173: Added wrappers for SeparatorMenuItem and CustomMenuItem (thanks to Roman Hargrave)
  • Bug fixes:
    • Issue #154: TableView's selectedItem not empty after clearing the selection
    • Issue #167: ListCell should inherit from IndexedCell
    • Issue #169: Observable buffer ignores update changes
    • Issue #178: When FileChooser.showOpenMultipleDialog() is used and user cancelled selection an NPE is thrown.