Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Archived » Visual Editor (VE) » I drop a shell and just appear a litle black square in the editor
I drop a shell and just appear a litle black square in the editor [message #611886] Fri, 27 January 2006 16:15
Eclipse UserFriend
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.
Previous Topic:Default font parameters
Next Topic:Default font parameters
Goto Forum:
  


Current Time: Fri Apr 19 21:33:59 GMT 2024

Powered by FUDForum. Page generated in 0.02695 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top