This is the mail archive of the
kawa@sourceware.org
mailing list for the Kawa project.
JavaFx and the Kawa REPL
- From: ben yakawp <ben dot lists at yakawp dot com>
- To: kawa at sourceware dot org
- Date: Mon, 25 Jan 2016 13:43:32 +0100
- Subject: JavaFx and the Kawa REPL
- Authentication-results: sourceware.org; auth=none
hi
I try to run the following example from kawas website:
~~~~~~~~~~~~
(require 'javafx-defs)
(javafx-application)
(javafx-scene
title: "Hello Button"
width: 600 height: 450
(Button
text: "Click Me"
layout-x: 25
layout-y: 40
on-action: (lambda (e) (format #t "Event: ~s~%~!" e))))
~~~~~~~~~~~~~
source:
https://www.gnu.org/software/kawa/Building-JavaFX-applications.html
This example works only when running as script, not when loaded from a
repl.
The line makes the repl unresponsive: "(javafx-application)"
Is this normal behaviour or how can I prepare the "stage" in the repl.
Regards
Ben