Package org.jwall.app.ui

Examples of org.jwall.app.ui.BugReporterDialog


    Map<String, String> reportData = new HashMap<String, String>();

    reportData.put("Version Information", collectVersionInformation());
    reportData.put("Stack Trace", collectStackTrace(e));

    BugReporterDialog d = new BugReporterDialog(reportData);

    d.setVisible(true);

    Message m = new Message();
    m.setMessage(d.getComment());

    Map<String, String> attachments = d.getReport();

    for (String key : attachments.keySet())
      m.addAttachment(key, attachments.get(key));

    if (d.getUserChoice() == BugReporterDialog.SEND_REPORT) {
      log.fine("Sending bug-report...");
      log.fine(m.toXML());
      this.sendReport(m);
    } else {
      log.fine("Sending of BugReport cancelled...");
View Full Code Here

TOP

Related Classes of org.jwall.app.ui.BugReporterDialog

Copyright © 2018 www.massapicom. 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.