mirror of
https://github.com/processing/processing4.git
synced 2026-02-13 18:35:37 +01:00
finally building sort of
This commit is contained in:
@@ -1,6 +1,11 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<classpath>
|
||||
<classpathentry excluding="processing/app/tools/format/src/|processing/app/tools/format/" kind="src" path="app/src"/>
|
||||
<classpathentry excluding="processing/app/tools/format/|processing/app/tools/format/src/" kind="src" path="app/src"/>
|
||||
<classpathentry kind="con" path="org.eclipse.jdt.launching.JRE_CONTAINER"/>
|
||||
<classpathentry combineaccessrules="false" kind="src" path="/core"/>
|
||||
<classpathentry kind="lib" path="build/shared/lib/antlr.jar"/>
|
||||
<classpathentry kind="lib" path="build/shared/lib/oro.jar"/>
|
||||
<classpathentry kind="lib" path="build/shared/lib/registry.jar"/>
|
||||
<classpathentry kind="lib" path="build/shared/lib/mrj.jar"/>
|
||||
<classpathentry kind="output" path="app/bin"/>
|
||||
</classpath>
|
||||
|
||||
1899
app/src/antlr/java/JavaLexer.java
Normal file
1899
app/src/antlr/java/JavaLexer.java
Normal file
File diff suppressed because it is too large
Load Diff
5048
app/src/antlr/java/JavaRecognizer.java
Normal file
5048
app/src/antlr/java/JavaRecognizer.java
Normal file
File diff suppressed because it is too large
Load Diff
@@ -1026,7 +1026,7 @@ public class Editor extends JFrame {
|
||||
/**
|
||||
* Show the About box.
|
||||
*/
|
||||
static public void handleAbout() {
|
||||
public void handleAbout() {
|
||||
final Image image = Base.getImage("about.jpg", this);
|
||||
final Window window = new Window(this) {
|
||||
public void paint(Graphics g) {
|
||||
@@ -1046,18 +1046,18 @@ public class Editor extends JFrame {
|
||||
window.dispose();
|
||||
}
|
||||
});
|
||||
int w = image.getWidth(window);
|
||||
int h = image.getHeight(window);
|
||||
int w = image.getWidth(this);
|
||||
int h = image.getHeight(this);
|
||||
Dimension screen = Toolkit.getDefaultToolkit().getScreenSize();
|
||||
window.setBounds((screen.width-w)/2, (screen.height-h)/2, w, h);
|
||||
window.show();
|
||||
window.setVisible(true);
|
||||
}
|
||||
|
||||
|
||||
/**
|
||||
* Show the preferences window.
|
||||
*/
|
||||
static public void handlePrefs() {
|
||||
public void handlePrefs() {
|
||||
Preferences preferences = new Preferences();
|
||||
preferences.showFrame(this);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user