Re: javaObjectEDT

"Dmitri A. Sergatskov" <[email protected]> Wed, 2 Oct 2024 17:17:34 -0400
Newsgroups gmane.comp.gnu.octave.general
Message-ID <CAO+XyQ+X7BRzp9ZgJgqYx7sVgiU6M6qR26EhkWsPwWvgJvoS2Q@mail.gmail.com>
--===============0421394193262305726==
Content-Type: multipart/alternative; boundary="0000000000001bae88062384f8a4"

--0000000000001bae88062384f8a4
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable

This mailing list is all but dead. Post on octave.discourse.group instead.

Dmitri.
--=20


On Wed, Oct 2, 2024 at 3:25=E2=80=AFPM Norman Barker <[email protected]=
om>
wrote:

> 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
>
> ----------
> We are transitioning to a web based forum
> for community help discussions at
> https://octave.discourse.group/c/help
>

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

<div dir=3D"ltr"><div class=3D"gmail_default" style=3D"font-family:monospac=
e;font-size:large">This mailing list is all but dead. Post on octave.discou=
rse.group instead.</div><div class=3D"gmail_default" style=3D"font-family:m=
onospace;font-size:large"><br></div><div class=3D"gmail_default" style=3D"f=
ont-family:monospace;font-size:large">Dmitri.</div><div class=3D"gmail_defa=
ult" style=3D"font-family:monospace;font-size:large">--=C2=A0</div><div cla=
ss=3D"gmail_default" style=3D"font-family:monospace;font-size:large"><br></=
div></div><br><div class=3D"gmail_quote"><div dir=3D"ltr" class=3D"gmail_at=
tr">On Wed, Oct 2, 2024 at 3:25=E2=80=AFPM Norman Barker &lt;<a href=3D"mai=
lto:[email protected]">[email protected]</a>&gt; wrote:<br></di=
v><blockquote class=3D"gmail_quote" style=3D"margin:0px 0px 0px 0.8ex;borde=
r-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir=3D"ltr">Hi,<di=
v><br></div><div>I am porting a matlab application to Octave and most of th=
e core library was easy but the UI is written in Java 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 b=
ut then I need to pass in an implementation of runnable which I can&#39;t d=
o with the current Java/Octave interface.</div><div><br></div><div>If Java =
Swing is not a good option what GUIs options are recommended?</div><div><br=
></div><div>Many thanks,</div><div><br></div><div>Norman</div></div>
<br>
----------<br>
We are transitioning to a web based forum<br>
for community help discussions at<br>
<a href=3D"https://octave.discourse.group/c/help" rel=3D"noreferrer" target=
=3D"_blank">https://octave.discourse.group/c/help</a><br>
</blockquote></div>

--0000000000001bae88062384f8a4--


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

Ci0tLS0tLS0tLS0KV2UgYXJlIHRyYW5zaXRpb25pbmcgdG8gYSB3ZWIgYmFzZWQgZm9ydW0KZm9y
IGNvbW11bml0eSBoZWxwIGRpc2N1c3Npb25zIGF0Cmh0dHBzOi8vb2N0YXZlLmRpc2NvdXJzZS5n
cm91cC9jL2hlbHAK

--===============0421394193262305726==--