[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: SWING at OJE
From: |
Etienne M. Gagnon |
Subject: |
Re: SWING at OJE |
Date: |
Mon, 05 Feb 2001 12:40:48 -0500 |
> My pet JNI complaint is the difficulty of maintaining per-object native state.
> It is necessary for writing just about any JNI wrappers over native libraries,
> especially window systems.
This is not difficult. Simply define a "byte[] data;" field that will
hold the value of a pointer to your native data. The actual size of
this array will be determined on the native side, based on the
platform's own pointer size.
Etienne
--
----------------------------------------------------------------------
Etienne M. Gagnon, M.Sc. e-mail: address@hidden
Author of SableCC: http://www.sablecc.org/
and SableVM: http://www.sablevm.org/
- Re: SWING at OJE, (continued)
Re: SWING at OJE, Rolf W. Rasmussen, 2001/02/05
Re: SWING at OJE, Nic Ferrier, 2001/02/05
Re: SWING at OJE, Nic Ferrier, 2001/02/05
RE: SWING at OJE, Andrew Selkirk, 2001/02/05
Re: SWING at OJE, Nic Ferrier, 2001/02/05
Re: SWING at OJE, Nic Ferrier, 2001/02/05
Re: SWING at OJE, Nic Ferrier, 2001/02/05
RE: SWING at OJE, Andrew Selkirk, 2001/02/05