コード例 #1
0
  public static void showMessage(
      Component parent, DeviceScanner scanner, BrowsableEditableData bd) {

    Window window = getWindow(parent);

    JDlgUploadProducts myMsg;
    if (window instanceof Frame) {
      myMsg = new JDlgUploadProducts((Frame) window, true);
    } else {
      myMsg = new JDlgUploadProducts((Dialog) window, true);
    }

    myMsg.init(scanner, bd);
  }
コード例 #2
0
 private void btnExtrasDevicePLUsActionPerformed(java.awt.event.ActionEvent evt) {
   JDlgUploadProducts.showMessage(this, this.app, bd, m_dlSales);
 }
コード例 #3
0
 private void btnScanPalActionPerformed(java.awt.event.ActionEvent evt) {
   JDlgUploadProducts.showMessage(this, app.getDeviceScanner(), bd);
 }