forgot to add lots of things for the new version

This commit is contained in:
benfry
2002-04-23 12:33:36 +00:00
parent 9585adb16c
commit 46a60bacfa
6 changed files with 409 additions and 98 deletions

View File

@@ -0,0 +1,19 @@
import java.awt.*;
public class PdeEditorLabel extends Label {
int rows;
public PdeEditorLabel(int rows) {
super(""); //pde editor label");
setRows(rows);
}
public void setRows(int rows) {
this.rows = rows;
}
public Dimension getPreferredSize() {
return new Dimension(200, rows * PdeEditorButtons.BUTTON_HEIGHT);
}
}