This is the mail archive of the
kawa@sourceware.org
mailing list for the Kawa project.
Re: JavaFX Example
- From: Per Bothner <per at bothner dot com>
- To: Matthieu Vachon <matthieu dot o dot vachon at gmail dot com>
- Cc: Tony West <tonys-mailbox at hotmail dot com>, "kawa at sourceware dot org" <kawa at sourceware dot org>
- Date: Wed, 06 Nov 2013 12:16:54 -0800
- Subject: Re: JavaFX Example
- Authentication-results: sourceware.org; auth=none
- References: <BAY177-W37A834584E2CC2DA1E4E54E1F00 at phx dot gbl> <527A96B2 dot 4000604 at bothner dot com> <CAOTvmon-t6Hk+jxJAobU=50LU1FV5MnNNb+nNx32oHX=mPCZGg at mail dot gmail dot com> <CAOTvmomBsBuF1+LtCcV6VCrrfDTXDurVjmShZWH0uJoiSXXKXA at mail dot gmail dot com> <527AA138 dot 8070709 at bothner dot com>
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/