Examples of InfoDialog


Examples of cli_fmw.utils.InfoDialog

            }
        }
    }//GEN-LAST:event_dchLightWorkTillPropertyChange

    private void btServiceListActionPerformed(java.awt.event.ActionEvent evt) {//GEN-FIRST:event_btServiceListActionPerformed
        InfoDialog infoDialog = new InfoDialog(MainWindow.mainWindow, serviceInfo, "Список необходимых услуг");
        infoDialog.setVisible(true);
    }//GEN-LAST:event_btServiceListActionPerformed
View Full Code Here

Examples of cli_fmw.utils.InfoDialog

        InfoDialog infoDialog = new InfoDialog(MainWindow.mainWindow, serviceInfo, "Список необходимых услуг");
        infoDialog.setVisible(true);
    }//GEN-LAST:event_btServiceListActionPerformed

    private void btContractActionPerformed(java.awt.event.ActionEvent evt) {//GEN-FIRST:event_btContractActionPerformed
        InfoDialog infoDialog = new InfoDialog(MainWindow.mainWindow, contractInfo, "Информация о договоре");
        infoDialog.setVisible(true);
}//GEN-LAST:event_btContractActionPerformed
View Full Code Here

Examples of cli_fmw.utils.InfoDialog

        try {
            int clientID = followupList.get(tabFollowUps.getSelectedRowSorted()).clientID;
            ClientLocal clientLocal = new ClientLocal(clientID, getAuditManager());
            clientLocal.getMother();
            clientLocal.getFather();
            InfoDialog dialog = new InfoDialog((Frame)getContainer(), clientLocal.toHtml());
            dialog.setVisible(true);
        } catch(ClipsException ex) {
            MessageBox.showException(ex);
        }
    }//GEN-LAST:event_btClientInfoActionPerformed
View Full Code Here

Examples of cli_fmw.utils.InfoDialog

            btAnalises.setBackground(DefaultColors.FIELD_TO_INPUT);
        }
    }

private void btInfoActionPerformed(java.awt.event.ActionEvent evt) {//GEN-FIRST:event_btInfoActionPerformed
    InfoDialog dialog = new InfoDialog(MainWindow.mainWindow, infoText, "Назначаемые услуги");
    dialog.setAlwaysOnTop(true);
    dialog.setVisible(true);
}//GEN-LAST:event_btInfoActionPerformed
View Full Code Here

Examples of com.anzsoft.client.ui.InfoDialog

  }
 
  public void showInfo(final XmppID id)
  {
    if(infoDlg == null)
      infoDlg = new InfoDialog();
   
    infoDlg.clear();
    infoDlg.show();
    WindowManager.get().bringToFront(infoDlg);
    infoDlg.getInfo(id);
View Full Code Here

Examples of com.edgytech.swingfast.InfoDialog

        sLoop:
        for (String server : serverList) {
            server = server.trim();
            String[] tokens = server.split("/");
            if (tokens.length != 2) {
                new InfoDialog(null, "Error", null, "Server format must be like 'hostname:port/shard', one by line").show();
                return;
            }
            server = tokens[0];
            String shard = tokens[1];
            if (primaryShard == null) {
                primaryShard = shard;
            }
            ServerAddress addr = new ServerAddress(server);

            // filter out if replset already exists
            for (MongoClient replset : mongoToShard.keySet()) {
                if (replset.getServerAddressList().contains(addr)) {
                    continue sLoop;
                }
            }

            list.clear();
            list.add(addr);
            MongoClient mongo = new MongoClient(list);
//            UMongo.instance.addMongoClient(mongo, null);
            // make request to force server detection
            mongo.getDatabaseNames();
            mongoToShard.put(mongo, shard);

            String desc = null;
            if (!mongo.getDatabaseNames().contains(db)
                    || !mongo.getDB(db).getCollectionNames().contains(col)) {
                desc = "Collection not present!";
            } else {
                // try to see if shard key has index
                DBObject index = mongo.getDB(db).getCollection("system.indexes").findOne(new BasicDBObject("key", shardKey));
                if (index != null) {
                    desc = "shard key found";
                } else {
                    desc = "shard key NOT found!";
                }
            }
            txt += mongo.toString() + " shard=" + shard + " - " + desc + "\n";
            BasicDBObject shardObj = new BasicDBObject("servers", mongo.toString());
            shardObj.put("status", desc);
            if (shardList.containsField(shard)) {
                new InfoDialog(null, "Error", null, "Duplicate Shard name " + shard).show();
                return;
            }
            shardList.put(shard, shardObj);
        }
        result.put("shards", shardList);
View Full Code Here

Examples of de.offis.faint.gui.tools.InfoDialog

      }
     
      mainFrame.setEnabled(true);
      }
      else {
        new InfoDialog(mainFrame," Image "+image.getFile().getPath()+" not available!");       
      }
    }
   
    // Delete Person
    else if (incomingEvent instanceof EventDeletePerson){
View Full Code Here

Examples of de.offis.faint.gui.tools.InfoDialog

   
    // Prepare first set of Eigenfaces (in same thread)
    if (averageFace == null || eigenFaces == null){
      eigenfaceBuilder.updateEigenfaces();
      if (averageFace == null){
        new InfoDialog(null, "<html>Not enough training images availble for EigenfaceRecognition.<br>Please classify the first faces manually!</html>");
        return new HashMap<String, Integer>();
      }
    }
   
    FaceDatabase db = MainController.getInstance().getFaceDB();
View Full Code Here

Examples of net.azib.ipscan.gui.InfoDialog

    public CommandLineUsage(CommandLineProcessor cli) {
      this.cli = cli;
    }

    public void handleEvent(Event event) {
      InfoDialog dialog = new InfoDialog(Version.NAME, Labels.getLabel("title.commandline"));
      dialog.setMessage(cli.toString());
      dialog.open();
    }
View Full Code Here

Examples of net.azib.ipscan.gui.InfoDialog

    // check if console is attached to the process
    if (System.console() != null) {
      System.err.println(usageText);
    }
    else {
      InfoDialog dialog = new InfoDialog(Version.NAME, Labels.getLabel("title.commandline"));
      dialog.setMessage(usageText);
      dialog.open();
    }
  }
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.