create modeless JFace dialog ...


/ Published in: Java
Save to your folder(s)

An example of creating non-modal dialog boxes which extend the Dialog class is SWT/Eclipse


Copy this code and paste it in your HTML
  1. public MyDialog(Shell parentShell) {
  2. super(parentShell);
  3. setShellStyle(SWT.CLOSE | SWT.MODELESS | SWT.BORDER | SWT.TITLE);
  4. setBlockOnOpen(false);
  5. }

URL: http://www.eclispezone.com/eclipse/forums/m92149780.html

Report this snippet


Comments

RSS Icon Subscribe to comments

You need to login to post a comment.