more cleanup for new package setup

This commit is contained in:
benfry
2004-07-08 03:37:12 +00:00
parent 22f71e4382
commit 3fdb449cc3
4 changed files with 28 additions and 20 deletions

View File

@@ -2,10 +2,10 @@
/*
PdeBase - base class for the main processing application
Part of the Processing project - http://Proce55ing.net
Part of the Processing project - http://processing.org
Except where noted, code is written by Ben Fry and
Copyright (c) 2001-03 Massachusetts Institute of Technology
Copyright (c) 2001-04 Massachusetts Institute of Technology
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by

View File

@@ -577,7 +577,7 @@ public class PdeEditor extends JFrame
});
menu.addSeparator();
item = new JMenuItem("Add file...");
item = new JMenuItem("Import...");
item.addActionListener(new ActionListener() {
public void actionPerformed(ActionEvent e) {
sketch.addFile();

View File

@@ -321,7 +321,7 @@ public class PdeEditorHeader extends JComponent /*implements MouseListener*/ {
// maybe this shouldn't have a command key anyways..
// since we're not trying to make this a full ide..
//item = PdeEditor.newJMenuItem("New", 'T');
item = new JMenuItem("New");
item = new JMenuItem("New File");
item.addActionListener(new ActionListener() {
public void actionPerformed(ActionEvent e) {
//System.out.println("TODO write code for New");