http://code.google.com/p/jmonkeyengine/issues/detail?id=28
jMEDesktop which extends Quad has an empty resize() method.
A recent change to Quad made use of the resize method in its constructor.
Since jMEDesktop overwrites it, it broke jMEDesktop.
The solution is to call super.resize(x,y).
Index: src/com/jmex/awt/swingui/JMEDesktop.java
===================================================================
--- src/com/jmex/awt/swingui/JMEDesktop.java (revision 4077)
+++ src/com/jmex/awt/swingui/JMEDesktop.java (working copy)
@@ -1360,12 +1360,12 @@
}
/**
- * not supported.
+ * Resizing jMEDesktop is not supported.
* @param width -
* @param height -
*/
+ @Deprecated
public void resize( float width, float height ) {
- //TODO: implement resizing?
- throw new UnsupportedOperationException( "resizing JMEDesktop not yet implemented!" );
+ super.resize(width, height);
}
}
edit: removed writing to logfile