FET Forum

FET Support (English) => Programming Help => Topic started by: mnm on July 23, 2009, 05:38:16 AM

Title: fet with java
Post by: mnm on July 23, 2009, 05:38:16 AM
HI to all
I convert fet source code to java source .
any one have idea or suggestion for this job . :D


Title: Re: fet with java
Post by: Liviu Lalescu on July 23, 2009, 07:26:58 AM
I have suggestions: I suggest that you only convert the engine, maybe from src/interface get fet.cpp.

I used in the engine some advanced Qt classes: QHash and QSet,  I am not sure if you have these in Java. And also QList, but I think you have this.

It can be a difficult task, this one you chose. The bad thing is that if I improve the current version, you won't have these improvements.

Maybe you could use the command line version of FET and make your own interface. Or use the C++ code as it is, by calling it directly.
Title: Re: fet with java
Post by: mnm on July 25, 2009, 06:13:50 AM
thanks for your reply

now i can chose one of three offer jobs
1)I convert QHash and QSet in your fet.cpp file to equivalent in java >:(
or
2)use the C++ code as it is >:(
or
3)use the command line version of FET :)

if I chose 3 and write a swing interface and use fet command
how install "fet command"?
thanks
Title: Re: fet with java
Post by: Liviu Lalescu on July 25, 2009, 06:47:37 PM
To use FET command line, please read the README file. In essence, run "fet[.exe] --inputfile=datafile.fet ....other options". The same fet executable, but if you add parameters it will be command line version.