I drop a shell and just appear a litle black square in the editor [message #611886] |
Fri, 27 January 2006 16:15 |
Eclipse User |
|
|
|
Originally posted by: felipe-martins.procergs.rs.gov.br
Hi...
I'm using:
- j2sdk1.4.2_06
- eclipse-SDK-3.2M4-win32
- EMF 2.2.0
- GEF 3.2.0
- Visual Editor 1.2.0
I'm newbie using VE and I've just started to use it.
However I couldn't even drop a SWT container shell in the visual editor.
Nothing happens. Just a litle black square appears to me.
That is the java source generated:
+++++++++++++++++++++++
import org.eclipse.swt.widgets.Shell;
import org.eclipse.swt.layout.GridLayout;
import org.eclipse.swt.graphics.Point;
public class TesteSWT3 {
private Shell sShell = null;
/**
* This method initializes sShell
*
*/
private void createSShell() {
sShell = new Shell();
sShell.setLayout(new GridLayout());
sShell.setSize(new Point(405, 180));
}
/**
* @param args
*/
public static void main(String[] args) {
}
}
+++++++++++++++++++++++
I know that some simple thing must to be done, but I don't know what....
If someone could help...
Thanks in advance........
Felipe.
|
|
|
Powered by
FUDForum. Page generated in 0.02695 seconds