size(300, 300, OPENGL).. rewrite of present mode.. java 1.4 only.. a

zillion other runtime fixes
This commit is contained in:
benfry
2005-04-04 17:00:58 +00:00
parent 2c6dc450b7
commit 072cd7bcf3
30 changed files with 1619 additions and 908 deletions

View File

@@ -366,14 +366,14 @@ public class PdeEditorHeader extends JComponent {
}
public Dimension getMinimumSize() {
if (PdeBase.platform == PdeBase.MACOSX) {
if (PdeBase.isMacOS()) {
return new Dimension(300, PdePreferences.GRID_SIZE);
}
return new Dimension(300, PdePreferences.GRID_SIZE - 1);
}
public Dimension getMaximumSize() {
if (PdeBase.platform == PdeBase.MACOSX) {
if (PdeBase.isMacOS()) {
return new Dimension(3000, PdePreferences.GRID_SIZE);
}
return new Dimension(3000, PdePreferences.GRID_SIZE - 1);