Packaging /home/dirk/dev/scala/scalafx-hello-world/target/scala-2.12/scalafx-hello-world_2.12-11-R16.jar. WARNING: All illegal access operations will be denied in a future release WARNING: Use -illegal-access=warn to enable warnings of further illegal reflective access operations WARNING: Please consider reporting this to the maintainers of WARNING: Illegal reflective access by (file:/home/dirk/.sbt/boot/scala-2.12.7/org.scala-sbt/sbt/1.2.4/protobuf-java-3.3.1.jar) to field WARNING: An illegal reflective access operation has occurred Compiling 1 Scala source to /home/dirk/dev/scala/scalafx-hello-world/target/scala-2.12/classes. Set current project to ScalaFX Hello World (in build file:/home/dirk/dev/scala/scalafx-hello-world/) Loading settings for project scalafx-hello-world from build.sbt. Updating ProjectRef(uri("file:/home/dirk/dev/scala/scalafx-hello-world/project/"), "scalafx-hello-world-build"). Loading project definition from /home/dirk/dev/scala/scalafx-hello-world/project Loading settings for project scalafx-hello-world-build from plugin.sbt. This is what happens when building and running scalafx-hello-world]$ sbt run The playlists would have enough information to write a Tetris game for either of those options. If for some reason you really want to use Swing, I have videos that do that in the scripting environment at and. ![]() ![]() I have more extensive introductions that use the Scala scripting environment at and. I have used both of these with courses I teach, so I have video playlists that go through them. As the site says, the Swing libraries are mostly unsupported, but they work for Scala 2.x. ![]() While JavaFX/ScalaFX ( ) is probably the recommended option, you can also still use Swing with Scala ( ).
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |