This is the mail archive of the kawa@sourceware.cygnus.com mailing list for the Kawa project. See the Kawa home page for more information.


[Date Prev][Date Next][Thread Prev][Thread Next]
[Date Index] [Subject Index] [Author Index] [Thread Index]

Re: Font problem revisited



> (define new-font (primitive-constructor <java.awt.Font>
>                                         (<String> <integer> <integer>)))

Try:
	(define new-font (primitive-constructor <java.awt.Font>
		                                (<String> <int> <int>)))

<integer> is a Scheme (infinite-precision) integer.
<int> is a Java 32-bit primitive int.

	--Per Bothner
Cygnus Solutions     bothner@cygnus.com     http://www.cygnus.com/~bothner