This is the mail archive of the
kawa@sourceware.org
mailing list for the Kawa project.
Re: Kawa JTable String[][] arrays
- From: Damien MATTEI <Damien dot Mattei at unice dot fr>
- To: kawa at sourceware dot org
- Date: Thu, 9 Nov 2017 10:35:43 +0100
- Subject: Re: Kawa JTable String[][] arrays
- Authentication-results: sourceware.org; auth=none
- References: <trinity-7674b18c-b1b6-49e9-a7a7-46c0d172acfc-1510218373929@3c-app-gmx-bs67>
hello Fabian,
i never use JTables in java and not sure it exists something like that in Kawa,
as Scheme does not have multiple array dimensions i write some code do do it:
https://github.com/damien-mattei/library-FunctProg/blob/master/array.scm
i have test it with kawa and it works
i just checked the existence of multidimension array features for scheme and there exists the SRFI 25
https://srfi.schemers.org/srfi-25/srfi-25.html
the latest version of Kawa seems to implement it (i cannot test it on my old installation):
https://www.gnu.org/software/kawa/Arrays.html
hope something is matching the Jtable in a compatible way.
regards,
damien
Le Thursday 09 November 2017 10:06:13 Fabian Boucsein, vous avez écrit :
> Hello fellow Kawa scheme users,
>
> i am experimenting with JTables in Kawa. I'm stuck with the creation of an String[][] array.
> Is ist possible to create one?
>
> Something like this in Java:
> String[][] rowData = {
> { "Japan", "245" }, { "USA", "240" }, { "Italy", "220" }
> }
>
> Also i would like to say thank you, for the creation of such a pleasant to work with Scheme
> implementation for the JVM. I love it!
>
> Kind regards,
> Fabian
>