Are Java AWT Classes Like Area Shape Supported?? Altinative Solution

115 views
Skip to first unread message

tsat...@gmail.com

unread,
May 25, 2016, 10:20:16 AM5/25/16
to TeaVM

Hi,

I have developed a complicated astronomical planetarium witch draw dynamically thousands of stars and galaxies and other deep sky objects plus controlling an observatory remotely my project developed and compiled with GWT and run correctly I would like to port it to TeaVM and inspect the speed and multi threading ,  so my question is are AWT Classes Like Area and Shape are supported?? if not ?? can I use some library with java source files witch I used in GWT successfully.

Alexey Andreev

unread,
May 25, 2016, 10:22:02 AM5/25/16
to te...@googlegroups.com
> I am developing complicated astronomical planetarium witch draw
> dynamically thousands of stars and galaxies and other deep sky objects
> plus controlling an observatory remotely my project developed and
> compiled with GWT and run correctly I would like to port it to TeaVM
> and inspect the speed and multi threading , so my question is are AWT
> Classes Like Area and Shape are supported??
No, these classes are not supported
> if not can I use some library witch I used in GWT successfully.
What library for GWT do you use?

tsat...@gmail.com

unread,
May 25, 2016, 10:35:42 AM5/25/16
to TeaVM

>What library for GWT do you use?
gwt-awt - 0.0.1 - An emulation of Java's AWT

Alexey Andreev

unread,
May 25, 2016, 10:40:40 AM5/25/16
to te...@googlegroups.com

> >What library for GWT do you use?
> gwt-awt - 0.0.1 - An emulation of Java's AWT
I see. You can try to port this library to TeaVM, at least I don't know
another solution. What do you need from AWT? Only geometry, or a full
drawing pipeline? In the first case you can port only corresponding
parts of AWT.
Message has been deleted

tsat...@gmail.com

unread,
May 25, 2016, 1:24:29 PM5/25/16
to TeaVM
>I see. You can try to port this library to TeaVM, at least I don't know
>another solution. What do you need from AWT? Only geometry, or a full
>drawing pipeline? In the first case you can port only corresponding
>parts of AWT.

Area and Shape , AffineTransform ,  Ellipse2D , Rectangle2D.

Tihonov Dmitry

unread,
Jun 11, 2016, 12:14:03 PM6/11/16
to TeaVM

Jeff Martin

unread,
Oct 22, 2016, 12:04:30 PM10/22/16
to TeaVM
I've been doing a bit of work in this area recently with a full featured alternative to AWT, Java2D and Swing that works on both the desktop and with TeaVM. There's still work to be done, but it's off to a great start:
Reply all
Reply to author
Forward
0 new messages