Pastebin launched a little side project called VERYVIRAL.com, check it out ;-) Want more features on Pastebin? Sign Up, it's FREE!
Guest

Untitled

By: a guest on Jul 28th, 2011  |  syntax: Java  |  size: 0.21 KB  |  views: 91  |  expires: Never
download  |  raw  |  embed  |  report abuse  |  print
Text below is selected. Please press Ctrl+C to copy to your clipboard. (⌘+C on Mac)
  1. Combo c = new Combo(shell, 0);
  2. c.setBounds(0, 0, 200, 200);
  3.  
  4. IPaintDecoration d = IPaintDecoration.Factory.paintRectangle(shell, new Rectangle(10, 10, 100, 100), shell.getDisplay().getSystemColor(SWT.COLOR_BLUE));