Symbian
Symbian OS Library

FAQ-0450 Problems with Frame.setIconImage(Image)

[Index][spacer] [Previous] [Next]



 

Classification: Java Category: AWT
Created: 12/09/99 Modified: 06/22/2001
Number: FAQ-0450
Platform: ER5

Question:
Calling the setIconImage(Image) method of java.awt.Frame causes my Java app to crash on EPOC. Why is this and what can I do about it?

Answer:
Because windows/dialogs cannot be resized or iconised under EPOC Release 5 (native apps or Java apps) the setIconImage() method is redundant and hence was not implemented. Unfortunately, an attempt by an app to call this function results in a "Not implemented" error and the app crashes. This behaviour will be modified in future EPOC releases. In the meantime, the only protection is to ensure that apps run on EPOC do not include calls to this method.