This is the mail archive of the java@gcc.gnu.org mailing list for the Java project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: compiling java.awt with gcj


Laurent Bardet wrote:


I wrote a simple test program which displays a window with nothing in it
and compiled it successfully. But when I tried to start the program I
got the following output on the command line:

returned
end


I guess it was for debug or test purposes. I didn't find any PR for
this. I think the two err output lines should be removed.
Can somebody with a write access do it ?

Yes, thanks for pointing that out. I checked in a patch to remove them.

that is all what happened.

With a simple test AWT program having a single frame, I got the same
output as you, and the frame is displayed.

For the CNI GTK peers which are in the libjava tree, displaying a frame is pretty much all that I implemented so far ;-)

Others have reported some success using the JNI-based GTK peers from the classpath tree. In the long run CNI based peers would be better, because CNI is more efficient and maintainable. But it might be that working on the peers from the classpath tree is the best way to get something running quickly.

regards

Bryce.



Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]