开始写一些关于draw2d的文章
首先写一个hello draw2d
public class HelloDraw2d {
 /**
  * @param args
  */
 public static void main(String[] args) {
  Shell shell = new Shell();
  shell.open();
  shell.setText("Hello draw2d");
  LightweightSystem lws = new LightweightSystem(shell);
  
  IFigure label =  new Label("hello draw2d");
  lws.setContents(label);
  Display display = Display.getDefault();
  while (!shell.isDisposed()) {
   if (!display.readAndDispatch()) {
    display.sleep();
   }
  }
  
 }
}
成功运行
