JavaFX Example

Per Bothner per@bothner.com
Wed Nov 6 20:17:00 GMT 2013


On 11/06/2013 12:06 PM, Per Bothner wrote:
> I'm having some configuration issues; more later.  You could
> try removing the
>    (module-compile-options main: #t)
> or adding
>    (module-export start create-button)

Either of these work for me.

I did have to change:
(define (create-button #!key (text #f) (event-handler #f)) :: <Button>
to:
(define (create-button #!key (text #f) (event-handler #f)) :: 
<javafx.scene.control.Button>

Without it I got a bad compile-time exception, which I'll look into.
-- 
	--Per Bothner
per@bothner.com   http://per.bothner.com/



More information about the Kawa mailing list