X-Git-Url: https://git.gag.com/?a=blobdiff_plain;f=src%2Fnet%2Fsf%2Fopenrocket%2Fgui%2Fdialogs%2FBugReportDialog.java;h=9ebd9f2a8f640bdda9e539db33e7885cfe762ae6;hb=d8776d61bfa934a68829d9971bb89311e55c67cf;hp=6df6803148be506d544f9a3c51558f3ced382936;hpb=b3c3c1071dfdca4c6b3eb9935dc461201abdaf60;p=debian%2Fopenrocket diff --git a/src/net/sf/openrocket/gui/dialogs/BugReportDialog.java b/src/net/sf/openrocket/gui/dialogs/BugReportDialog.java index 6df68031..9ebd9f2a 100644 --- a/src/net/sf/openrocket/gui/dialogs/BugReportDialog.java +++ b/src/net/sf/openrocket/gui/dialogs/BugReportDialog.java @@ -25,8 +25,8 @@ import javax.swing.JScrollPane; import javax.swing.JTextArea; import net.miginfocom.swing.MigLayout; -import net.sf.openrocket.communication.Communication; -import net.sf.openrocket.gui.components.ResizeLabel; +import net.sf.openrocket.communication.BugReporter; +import net.sf.openrocket.gui.components.StyledLabel; import net.sf.openrocket.gui.components.SelectableLabel; import net.sf.openrocket.util.GUIUtil; import net.sf.openrocket.util.JarUtil; @@ -66,7 +66,7 @@ public class BugReportDialog extends JDialog { panel.add(new JScrollPane(textArea), "grow, wrap"); - panel.add(new ResizeLabel("The information above may be included in a public " + + panel.add(new StyledLabel("The information above may be included in a public " + "bug report. Make sure it does not contain any sensitive information you " + "do not want to be made public.", -1), "wrap para"); @@ -107,7 +107,7 @@ public class BugReportDialog extends JDialog { String text = textArea.getText(); try { - Communication.sendBugReport(text); + BugReporter.sendBugReport(text); // Success if we came here JOptionPane.showMessageDialog(BugReportDialog.this,