mirror of
https://github.com/processing/processing4.git
synced 2026-06-16 04:26:26 +02:00
new URLs after the server move (issue #278)
This commit is contained in:
@@ -1579,15 +1579,30 @@ public class Base {
|
||||
}
|
||||
|
||||
|
||||
static public void showChanges() {
|
||||
openURL("http://wiki.processing.org/w/Changes");
|
||||
}
|
||||
|
||||
|
||||
static public void showFAQ() {
|
||||
openURL("http://wiki.processing.org/w/FAQ");
|
||||
}
|
||||
|
||||
|
||||
static public void showGettingStarted() {
|
||||
openURL("http://processing.org/learning/gettingstarted/");
|
||||
}
|
||||
|
||||
|
||||
static public void showPlatforms() {
|
||||
showReference("environment" + File.separator + "platforms.html");
|
||||
openURL("http://wiki.processing.org/w/Supported_Platforms");
|
||||
}
|
||||
|
||||
|
||||
static public void showTroubleshooting() {
|
||||
showReference("troubleshooting" + File.separator + "index.html");
|
||||
openURL("http://wiki.processing.org/w/Troubleshooting");
|
||||
}
|
||||
|
||||
|
||||
|
||||
// .................................................................
|
||||
|
||||
|
||||
@@ -854,7 +854,7 @@ public class Editor extends JFrame implements RunnerListener {
|
||||
item = new JMenuItem("Getting Started");
|
||||
item.addActionListener(new ActionListener() {
|
||||
public void actionPerformed(ActionEvent e) {
|
||||
Base.openURL("http://processing.org/learning/gettingstarted/");
|
||||
Base.showGettingStarted();
|
||||
}
|
||||
});
|
||||
menu.add(item);
|
||||
@@ -870,7 +870,7 @@ public class Editor extends JFrame implements RunnerListener {
|
||||
item = new JMenuItem("Troubleshooting");
|
||||
item.addActionListener(new ActionListener() {
|
||||
public void actionPerformed(ActionEvent e) {
|
||||
Base.openURL("http://wiki.processing.org/w/Troubleshooting");
|
||||
Base.showTroubleshooting();
|
||||
}
|
||||
});
|
||||
menu.add(item);
|
||||
@@ -896,7 +896,7 @@ public class Editor extends JFrame implements RunnerListener {
|
||||
item = new JMenuItem("Frequently Asked Questions");
|
||||
item.addActionListener(new ActionListener() {
|
||||
public void actionPerformed(ActionEvent e) {
|
||||
Base.openURL("http://wiki.processing.org/w/FAQ");
|
||||
Base.showFAQ();
|
||||
}
|
||||
});
|
||||
menu.add(item);
|
||||
|
||||
@@ -656,8 +656,8 @@ public class Compiler {
|
||||
|
||||
void handleCrustyCode(RunnerException rex) {
|
||||
rex.setMessage("This code needs to be updated, " +
|
||||
"please read the \u201Cchanges\u201D reference.");
|
||||
Base.showReference("changes.html");
|
||||
"please read the Changes page on the Wiki.");
|
||||
Base.showChanges();
|
||||
}
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user