Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

Java 8がサポートが強化されました。

...

NXPSR-11100[互換性][Java 8][FR]: nexaweb-client.xml に<layered-pane-type/>オプション設定項目を追加


Known issue:

NXPSR-11084[互換性][Java 8]: Nexawebアプリケーション内でキーボードイベントが発生しなくなる場合がある

...

    }

    public void run() {

      // フォーカスを設定する

      _old.setAttribute("focused", "true");

...

    Element old = current;  // モーダルアラート表示前にフォーカスを保持していたコンポーネントの取得

    DisplayService ds = cs.getDisplayService();

...

    getSession().getUiUpdateQueue().invokeLater(new FocusSetterTask(old));  // 代替手段の適応箇所    old.setAttribute("focused", "true");

    try {

      PrintService[] services PrinterJob printJob = PrinterJob.lookupPrintServicesgetPrinterJob();

      if (services.length > 0) {        // PrintJob

        PrinterJob printJob = PrinterJob.getPrinterJob();

        printJob.setPrintService(services[0]);

        printJob.setCopies(1);

        (Printerに関するコードは中略)

      // PrinterJob#printDialog() によるプリンターダイアログの表示

              printJob.printDialog();

      }

    } catch(Exception e) {

      e.printStackTrace();// TODO Printerに関連する例外処理

    }

  }

 ---