javaObjectEDT

Norman Barker <[email protected]> Wed, 2 Oct 2024 14:25:14 -0500
Newsgroups gmane.comp.gnu.octave.general
Message-ID <CAN_Dn-EGMf6mHAtP4ze3atXmhTh50OVJLdrpNFW-6NtBdbMrmA@mail.gmail.com>
--===============6530122264868560062==
Content-Type: multipart/alternative; boundary="000000000000669e6f06238366ad"

--000000000000669e6f06238366ad
Content-Type: text/plain; charset="UTF-8"

Hi,

I am porting a matlab application to Octave and most of the core library
was easy but the UI is written in Java Swing.

How do I create swing components on the Java event dispatch thread?
SwingUtilities invokeAndWait seems like the most likely function but then I
need to pass in an implementation of runnable which I can't do with the
current Java/Octave interface.

If Java Swing is not a good option what GUIs options are recommended?

Many thanks,

Norman

--000000000000669e6f06238366ad
Content-Type: text/html; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable

<div dir=3D"ltr">Hi,<div><br></div><div>I am porting a matlab application t=
o Octave and most of the core library was easy but the UI is written in Jav=
a Swing.</div><div><br></div><div>How=C2=A0do I create swing components on =
the Java event dispatch thread? SwingUtilities invokeAndWait seems like the=
 most likely function but then I need to pass in an implementation of runna=
ble which I can&#39;t do with the current Java/Octave interface.</div><div>=
<br></div><div>If Java Swing is not a good option what GUIs options are rec=
ommended?</div><div><br></div><div>Many thanks,</div><div><br></div><div>No=
rman</div></div>

--000000000000669e6f06238366ad--


--===============6530122264868560062==
Content-Type: text/plain; charset="utf-8"
MIME-Version: 1.0
Content-Transfer-Encoding: base64
Content-Disposition: inline

Ci0tLS0tLS0tLS0KV2UgYXJlIHRyYW5zaXRpb25pbmcgdG8gYSB3ZWIgYmFzZWQgZm9ydW0KZm9y
IGNvbW11bml0eSBoZWxwIGRpc2N1c3Npb25zIGF0Cmh0dHBzOi8vb2N0YXZlLmRpc2NvdXJzZS5n
cm91cC9jL2hlbHAK

--===============6530122264868560062==--