From: Erik V. <eri...@hc...> - 2005-04-28 22:06:08
|
> These conversions to static methods broke a whole bunch of > things, but I > think I've cleaned them all up, so the current code in CVS ought to > build and run without errors. Unfortunately this still does not apply to Options. I may now have found why: this reference http://java.sun.com/j2se/1.5.0/docs/guide/swing/1.5/ explains with that Java 1.5 setPreferredSize() has been promoted from class JComponent to Component. Now Component is in the class hierarchy of JFrame (the base class of Options), but JComponent is not. So that is why setPreferredSize does not compile with my Java 1.4.2. So either this method can't be used, or we must change to Java 1.5 as the agreed platform (I thought it was 1.4). Erik. |