X-Git-Url: https://gitweb.fperrin.net/?a=blobdiff_plain;f=tim%2Fprune%2Fsave%2FPovExporter.java;h=1afa255f1c7bd39852ed50764c0d167de2a033b4;hb=ca9bdb3916f9c39adbbf95d06ac95c21dafbb4e6;hp=3696dd10811986994943af9d7bdcc431a7f3eeb7;hpb=5625a1abadb5f2ca5f017fe7dbda1d5141cb637b;p=GpsPrune.git diff --git a/tim/prune/save/PovExporter.java b/tim/prune/save/PovExporter.java index 3696dd1..1afa255 100644 --- a/tim/prune/save/PovExporter.java +++ b/tim/prune/save/PovExporter.java @@ -22,6 +22,7 @@ import javax.swing.SwingConstants; import javax.swing.filechooser.FileFilter; import tim.prune.I18nManager; +import tim.prune.UpdateMessageBroker; import tim.prune.data.Track; import tim.prune.threedee.LineDialog; import tim.prune.threedee.ThreeDModel; @@ -185,7 +186,7 @@ public class PovExporter JPanel flowPanel = new JPanel(); flowPanel.add(centralPanel); - + // show lines button JButton showLinesButton = new JButton(I18nManager.getText("button.showlines")); showLinesButton.addActionListener(new ActionListener() { @@ -308,10 +309,9 @@ public class PovExporter writeDataPoints(writer, model, lineSeparator); // everything worked - JOptionPane.showMessageDialog(_parentFrame, I18nManager.getText("dialog.save.ok1") - + " " + _track.getNumPoints() + " " + I18nManager.getText("dialog.save.ok2") - + " " + inFile.getAbsolutePath(), - I18nManager.getText("dialog.save.oktitle"), JOptionPane.INFORMATION_MESSAGE); + UpdateMessageBroker.informSubscribers(I18nManager.getText("confirm.save.ok1") + + " " + _track.getNumPoints() + " " + I18nManager.getText("confirm.save.ok2") + + " " + inFile.getAbsolutePath()); return true; } catch (IOException ioe)