got editor buttons working

This commit is contained in:
benfry
2003-11-11 21:25:20 +00:00
parent 9902d0baed
commit 35834c5817
9 changed files with 118 additions and 45 deletions

View File

@@ -86,12 +86,8 @@ public class PdeBase /*extends JFrame implements ActionListener*/
public PdeBase() {
// build the editor object
editor = new PdeEditor();
// figure out which operating system
// this has to be first, since editor needs to know
if (System.getProperty("mrj.version") != null) { // running on a mac
platform = (System.getProperty("os.name").equals("Mac OS X")) ?
@@ -116,6 +112,11 @@ public class PdeBase /*extends JFrame implements ActionListener*/
}
// build the editor object
editor = new PdeEditor();
// set the look and feel before opening the window
try {