X macosx.. editor.status.font needs to be size 12

X   same under windows, just wasn't being set properly before
X   header font needed to be set each time as well
X introduce pde.properties_OSNAME
X   tested to make sure it joins with the other pde.properties ok
X setPixel(i, j, #99CC00);
X   not working anymore Syntax error: unexpected token: CC00
X   problem was substitute only worked along with =
This commit is contained in:
benfry
2002-07-27 19:14:28 +00:00
parent c71b71abe4
commit ca98781fa7
10 changed files with 60 additions and 53 deletions

View File

@@ -43,7 +43,15 @@ public class PdeBase implements ActionListener {
} else {
//System.out.println("unknown OS");
System.out.println(System.getProperty("os.name");
//System.out.println(System.getProperty("os.name"));
String osname = System.getProperty("os.name");
//System.out.println("osname is " + osname);
if (osname.indexOf("Windows") != -1) {
platform = WINDOWS;
} else {
System.out.println("unhandled osname: " + osname);
System.exit(1);
}
}
}
@@ -67,6 +75,9 @@ public class PdeBase implements ActionListener {
try {
//properties.load(new FileInputStream("lib/pde.properties"));
properties.load(getClass().getResource("pde.properties").openStream());
String platformProps = "pde.properties_" + platforms[platform];
properties.load(getClass().getResource(platformProps).openStream());
//properties.list(System.out);
} catch (Exception e) {
System.err.println("Error reading pde.properties");