digitalmars.D.learn - Java to D
- GreatSam4sure (16/16) Aug 28 2019 Good day everyone.
- Jacob Carlborg (11/32) Aug 28 2019 DWT is ported manually from Java. Here's a very short guide [1]. That
- GreatSam4sure (3/15) Aug 28 2019 Thanks i will check it up
- Patrick (11/30) Aug 31 2019 Take a look at JavacTo https://sourceforge.net/projects/javacto/
- GreatSam4sure (3/22) Aug 31 2019 Thanks a lot. I will dive in soon. I am in the mid of a project
- Ernesto Castellotti (3/9) Aug 31 2019 Perhaps this tool could be useful
Good day everyone. DWT is a library for creating cross-platform GUI applications. It's a port of the SWT Java library from Eclipse. Currently supported platforms are Windows, using Win32 and Linux, using GTK. What are the tools and step involved in converting a java GUI toolkit to D2? Is it possible in D2? What are the tools and steps involved? Is there any tutorial involve? Can one get a mentor for such a program in the forum I am thinking if it is possible to port JavaFX to D(i.e. DFx). That will be nice for the D language. Javafx is a nice GUI toolkit. I am basically interested in GUI desktop app that connects to the web for the now. I can do that on Java but I would love to use D if it is possible. I will be happy to be linked to material, tools, and tutorial that will be of help
Aug 28 2019
On 2019-08-28 10:14, GreatSam4sure wrote:Good day everyone. DWT is a library for creating cross-platform GUI applications. It's a port of the SWT Java library from Eclipse. Currently supported platforms are Windows, using Win32 and Linux, using GTK. What are the tools and step involved in converting a java GUI toolkit to D2? Is it possible in D2? What are the tools and steps involved? Is there any tutorial involve? Can one get a mentor for such a program in the forumDWT is ported manually from Java. Here's a very short guide [1]. That guide is probably written for D1.I am thinking if it is possible to port JavaFX to D(i.e. DFx). That will be nice for the D language. Javafx is a nice GUI toolkit. I am basically interested in GUI desktop app that connects to the web for the now. I can do that on Java but I would love to use D if it is possible. I will be happy to be linked to material, tools, and tutorial that will be of helpI'm working on a tool do be able to automatically convert Java code to D code [2]. It's been a while since I did any actual work on that project. As far as I can remember, it can do a syntactic translation of most Java code. What's remaining is the semantic translation. [1] http://dsource.org/projects/dwt/wiki/Porting [2] https://github.com/d-widget-toolkit/jport/tree/dev -- /Jacob Carlborg
Aug 28 2019
On Wednesday, 28 August 2019 at 09:35:55 UTC, Jacob Carlborg wrote:On 2019-08-28 10:14, GreatSam4sure wrote:Thanks i will check it up[...]DWT is ported manually from Java. Here's a very short guide [1]. That guide is probably written for D1.[...]I'm working on a tool do be able to automatically convert Java code to D code [2]. It's been a while since I did any actual work on that project. As far as I can remember, it can do a syntactic translation of most Java code. What's remaining is the semantic translation. [1] http://dsource.org/projects/dwt/wiki/Porting [2] https://github.com/d-widget-toolkit/jport/tree/dev
Aug 28 2019
On Wednesday, 28 August 2019 at 10:33:33 UTC, GreatSam4sure wrote:On Wednesday, 28 August 2019 at 09:35:55 UTC, Jacob Carlborg wrote:Take a look at JavacTo https://sourceforge.net/projects/javacto/ This is a java tool that uses the javac compiler to translate java to another language. And includes a java to D code set. It is a very visual tool and has great animation during translation and works well while using the java debugger. I include “How to get started with Eclipse”. You can find more translations statistics at this post: https://forum.dlang.org/thread/yuamvgsdfshgrbesmjlt forum.dlang.org#post-yuamvgsdfshgrbesmjlt:40forum.dlang.org Hope this helps.... PatrickOn 2019-08-28 10:14, GreatSam4sure wrote:Thanks i will check it up[...]DWT is ported manually from Java. Here's a very short guide [1]. That guide is probably written for D1.[...]I'm working on a tool do be able to automatically convert Java code to D code [2]. It's been a while since I did any actual work on that project. As far as I can remember, it can do a syntactic translation of most Java code. What's remaining is the semantic translation. [1] http://dsource.org/projects/dwt/wiki/Porting [2] https://github.com/d-widget-toolkit/jport/tree/dev
Aug 31 2019
On Saturday, 31 August 2019 at 16:44:01 UTC, Patrick wrote:On Wednesday, 28 August 2019 at 10:33:33 UTC, GreatSam4sure wrote:Thanks a lot. I will dive in soon. I am in the mid of a project nowOn Wednesday, 28 August 2019 at 09:35:55 UTC, Jacob Carlborg wrote:Take a look at JavacTo https://sourceforge.net/projects/javacto/ This is a java tool that uses the javac compiler to translate java to another language. And includes a java to D code set. It is a very visual tool and has great animation during translation and works well while using the java debugger. I include “How to get started with Eclipse”. You can find more translations statistics at this post: https://forum.dlang.org/thread/yuamvgsdfshgrbesmjlt forum.dlang.org#post-yuamvgsdfshgrbesmjlt:40forum.dlang.org Hope this helps.... Patrick[...]Thanks i will check it up
Aug 31 2019
On Wednesday, 28 August 2019 at 08:14:25 UTC, GreatSam4sure wrote:Good day everyone. DWT is a library for creating cross-platform GUI applications. It's a port of the SWT Java library from Eclipse. Currently supported platforms are Windows, using Win32 and Linux, using GTK. [...]Perhaps this tool could be useful https://github.com/jtransc/jtransc
Aug 31 2019