Revision: 2489
http://sourceforge.net/p/swingme/code/2489
Author: yuranet
Date: 2021-06-28 16:24:36 +0000 (Mon, 28 Jun 2021)
Log Message:
-----------
getting size can get called before drawing in the case of doing layout
Modified Paths:
--------------
iOSME/src/javax/microedition/lcdui/Image.java
Modified: iOSME/src/javax/microedition/lcdui/Image.java
===================================================================
--- iOSME/src/javax/microedition/lcdui/Image.java 2021-06-28 16:14:13 UTC (rev 2488)
+++ iOSME/src/javax/microedition/lcdui/Image.java 2021-06-28 16:24:36 UTC (rev 2489)
@@ -244,11 +244,11 @@
}
public int getWidth() {
- return (int) uiImage.size().width();
+ return (int) getUIImage().size().width();
}
public int getHeight() {
- return (int) uiImage.size().height();
+ return (int) getUIImage().size().height();
}
public Graphics getGraphics() {
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
|