Example #1
0
  public void show() {
    new Thread(
            new Runnable() {
              public void run() {
                // Call pageSetup even with no printer installed, this
                // will display Windows error dialog and return false.
                ((WPrintDialog) target).setRetVal(_show());

                ((WPrintDialog) target).hide();
              }
            })
        .start();
  }