java 1.3 fixes for main(), and removing background() from resize()

This commit is contained in:
benfry
2005-06-09 04:37:45 +00:00
parent e62e5d79a4
commit da5ff54ad4
3 changed files with 6 additions and 4 deletions

View File

@@ -5289,8 +5289,8 @@ v PApplet.this.stop();
String folder = System.getProperty("user.dir");
String name = null;
boolean present = false;
Color backgroundColor = Color.BLACK;
Color stopColor = Color.GRAY;
Color backgroundColor = Color.black; //BLACK;
Color stopColor = Color.gray; //GRAY;
GraphicsDevice displayDevice = null;
String param = null, value = null;
@@ -5484,7 +5484,7 @@ v PApplet.this.stop();
frame.setLayout(null);
frame.add(applet);
if (backgroundColor == Color.BLACK) {
if (backgroundColor == Color.black) { //BLACK) {
// this means no bg color unless specified
backgroundColor = SystemColor.control;
}