|Re: SWT applet. I don't see anything. Please help! [message #522699 is a reply to message #521620]
||Tue, 23 March 2010 16:03
| Grant Gayed
Registered: July 2009
I assume you're doing this with SWT/AWT? If so then you're probably seeing
https://bugs.eclipse.org/bugs/show_bug.cgi?id=306827 . You should be able
to confirm whether this is the case by switching to use swt's linux-motif
port instead (if you try this be sure to include swt's shipped libXm.so.2
library as well). If this is indeed what you're seeing then I don't think
there's currently a workaround available for this bug, other than possibly
to use motif instead (?).
"Alexandra Niculai" <firstname.lastname@example.org> wrote in message
> I'm trying to test an swt applet in Ubuntu, but it's not working.
> This applet works in Windows.
> I replaced the swt.jar with the one for Linux but I'm not sure that it's
enough. The applet folder is in Windows, in the webapps folder of Tomcat.
The Ubuntu is on a virtual machine on the same computer and I can access the
applet, it loads and all seems ok(I don't see any exceptions in the Java
Console, and the logs of my application tell me the all the widgets have
been painted). But I can't see anything :( , just the frame of the
applet(so I know it's there), no buttons, no other widgets, no nothing...
> Could anyone please help me? Thank you!
|Re: SWT applet. I don't see anything. Please help! [message #525353 is a reply to message #522699]
||Tue, 06 April 2010 10:23
| Alexandra Niculai
Registered: July 2009
Thank you, Grant, for answering to me. I am using the SWT_AWT bridge. I replaced the gtk jar with the motif one and indeed, it works.|
But it's not very pretty and sometimes I have a problem when wanting to edit things(I managed to edit a TreeItem, though. My application has an integrated editor(xinha) in an swt browser in which I can't edit, 'cause it doesn't get focus). It seems the only thing that gets focus is the browser window.
Anyway, the important thing is that is works and I'll try to figure out the rest of the problems in time.
[Updated on: Tue, 06 April 2010 18:54]
Report message to a moderator
Powered by FUDForum
. Page generated in 0.02468 seconds