Skip to content
Snippets Groups Projects
Commit 128e7fe7 authored by Andre Brait's avatar Andre Brait
Browse files

Changing the URLs to the new Sinalgo website

parent c12067e0
No related branches found
No related tags found
No related merge requests found
...@@ -75,8 +75,8 @@ public class AboutDialog extends JDialog implements ActionListener { ...@@ -75,8 +75,8 @@ public class AboutDialog extends JDialog implements ActionListener {
+ "<center><h1><span class='red'>Si</span>mulator for <span class='red'>N</span>etwork <span class='red'>Algo</span>rithms</h1></center>" + "<center><h1><span class='red'>Si</span>mulator for <span class='red'>N</span>etwork <span class='red'>Algo</span>rithms</h1></center>"
+ "" + "<center>Version " + Configuration.VERSION_STRING + "" + "<center>Version " + Configuration.VERSION_STRING
+ "</center><center><small><a href='TestVersion'>Test for newer version</a></small></center>" + "</center><center><small><a href='TestVersion'>Test for newer version</a></small></center>"
+ "<p>Visit <a href='https://github.com/andrebrait/sinalgo'>https://github.com/andrebrait/sinalgo</a> to obtain the latest version, report bugs or problems, " + "<p>Visit <a href='https://github.com/Sinalgo/sinalgo'>https://github.com/Sinalgo/sinalgo</a> to obtain the latest version, report bugs or problems, "
+ "and visit <a href='https://github.com/andrebrait/sinalgo'>https://github.com/andrebrait/sinalgo</a> for a documentation of Sinalgo" + "and visit <a href='https://github.com/Sinalgo/sinalgo'>https://github.com/Sinalgo/sinalgo</a> for a documentation of Sinalgo"
+ "<p>" + "<p>"
+ "Sinalgo is brought to you by the Distributed Computing Group of ETH Zurich <a href='http://dcg.ethz.ch'>http://dcg.ethz.ch</a>" + "Sinalgo is brought to you by the Distributed Computing Group of ETH Zurich <a href='http://dcg.ethz.ch'>http://dcg.ethz.ch</a>"
+ "<p>" + "<small>Hint: Click on a link to copy it to the clip board.</small>" + "</body>" + "</html>"); + "<p>" + "<small>Hint: Click on a link to copy it to the clip board.</small>" + "</body>" + "</html>");
......
...@@ -70,7 +70,7 @@ public class HelpDialog extends JFrame implements ActionListener, WindowListener ...@@ -70,7 +70,7 @@ public class HelpDialog extends JFrame implements ActionListener, WindowListener
private URL defaultURL; private URL defaultURL;
private HelpDialog(JFrame parent) { // is private, use showHelp() to create it in a new thread private HelpDialog(JFrame parent) { // is private, use showHelp() to create it in a new thread
this.setTitle("Sinalgo Help (source: https://github.com/andrebrait/sinalgo)"); this.setTitle("Sinalgo Help (source: https://github.com/Sinalgo/sinalgo)");
GuiHelper.setWindowIcon(this); GuiHelper.setWindowIcon(this);
this.addWindowListener(this); this.addWindowListener(this);
this.restoreWindowState(); this.restoreWindowState();
...@@ -92,7 +92,7 @@ public class HelpDialog extends JFrame implements ActionListener, WindowListener ...@@ -92,7 +92,7 @@ public class HelpDialog extends JFrame implements ActionListener, WindowListener
this.add(scroller, BorderLayout.CENTER); this.add(scroller, BorderLayout.CENTER);
try { try {
this.setDefaultURL(new URL("https://github.com/andrebrait/sinalgo/raw/master/MANUAL.pdf")); this.setDefaultURL(new URL("https://sinalgo.github.io"));
this.setCurrentURL(this.getDefaultURL()); this.setCurrentURL(this.getDefaultURL());
this.getHtml().setPage(this.getCurrentURL()); this.getHtml().setPage(this.getCurrentURL());
this.getHtml().setEditable(false); this.getHtml().setEditable(false);
...@@ -173,7 +173,7 @@ public class HelpDialog extends JFrame implements ActionListener, WindowListener ...@@ -173,7 +173,7 @@ public class HelpDialog extends JFrame implements ActionListener, WindowListener
private JButton closeButton = new JButton("Close"); private JButton closeButton = new JButton("Close");
private JButton resetButton = new JButton("Reset"); private JButton resetButton = new JButton("Reset");
private JEditorPane ePane; private JEditorPane ePane;
private String defaultMenuURL = "https://github.com/andrebrait/sinalgo/"; private String defaultMenuURL = "https://github.com/Sinalgo/sinalgo/";
MenuDialog(JFrame owner, Point pos) { MenuDialog(JFrame owner, Point pos) {
super(owner); super(owner);
......
...@@ -53,7 +53,7 @@ public class VersionTester extends Thread { ...@@ -53,7 +53,7 @@ public class VersionTester extends Thread {
public void run() { public void run() {
setRunning(true); setRunning(true);
try { try {
URL url = new URL("https://github.com/andrebrait/sinalgo/raw/master/VERSION"); URL url = new URL("https://github.com/Sinalgo/sinalgo/raw/master/VERSION");
URLConnection con = url.openConnection(); URLConnection con = url.openConnection();
con.setDoOutput(true); con.setDoOutput(true);
con.setDoInput(true); con.setDoInput(true);
...@@ -77,7 +77,7 @@ public class VersionTester extends Thread { ...@@ -77,7 +77,7 @@ public class VersionTester extends Thread {
+ "| A more recent version of Sinalgo is available (" + line + ")\n" + "| A more recent version of Sinalgo is available (" + line + ")\n"
+ "+---------------------------------------------------------------------\n" + "+---------------------------------------------------------------------\n"
+ "| To download the latest version, please visit\n" + "| To download the latest version, please visit\n"
+ "| https://github.com/andrebrait/sinalgo/\n" + "| https://github.com/Sinalgo/sinalgo/\n"
+ "+---------------------------------------------------------------------\n" + "+---------------------------------------------------------------------\n"
+ "| You may turn off these version checks through the 'Settings' dialog.\n" + "| You may turn off these version checks through the 'Settings' dialog.\n"
+ "| Note: Sinalgo automatically tests for updates at most once\n" + "| Note: Sinalgo automatically tests for updates at most once\n"
...@@ -92,7 +92,7 @@ public class VersionTester extends Thread { ...@@ -92,7 +92,7 @@ public class VersionTester extends Thread {
+ Configuration.VERSION_STRING + "\n" + Configuration.VERSION_STRING + "\n"
+ ">---------------------------------------------------------------------\n" + ">---------------------------------------------------------------------\n"
+ "> To check for more recent versions, please visit\n" + "> To check for more recent versions, please visit\n"
+ "> https://github.com/andrebrait/sinalgo/\n" + "> https://github.com/Sinalgo/sinalgo/\n"
+ ">---------------------------------------------------------------------\n" + ">---------------------------------------------------------------------\n"
+ "> You may turn off these version checks through the 'Settings' dialog.\n" + "> You may turn off these version checks through the 'Settings' dialog.\n"
+ "| Note: Sinalgo automatically tests for updates at most once\n" + "| every 24 hours.\n" + "| Note: Sinalgo automatically tests for updates at most once\n" + "| every 24 hours.\n"
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment