This is the mail archive of the kawa@sourceware.org mailing list for the Kawa project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: JavaFX Example


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/


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]