SetIconImage « JFrame « Java Swing Q&A





1. Frame.setIconImage() causes problems in Java1.5 on remote access; works fine in 1.4    coderanch.com

Hello Ranchers, I have a swing application running on RH 9, Intel 86 box with Java 1.4; I access this application from my laptop Windows XP through XManager 1.3 However when I migrated to Java 1.5; I am getting the following exception.[Of course I compiled my program with JDK 1.5]. All comments/feedback dearly appreciated. Please let me know if its not ...

2. JFrame.SetIconImage    forums.oracle.com

Thanks tjacobs01. This pointed me in the right direction. My image was not loading as it resided in the same directory as the .class file. As this class was created as part of a Project, the image needed to reside in the directory for the Project and not the .class. When calling the .class from Delphi through JNI, the image needs ...

4. Is JFrame.setIconImage platform independent?    forums.oracle.com

The API on JFrame says this about setIconImage: "Sets the image to be displayed in the minimized icon for this frame. Not all platforms support the concept of minimizing a window." What if the platform does not support that? Will there be an error or will the method call simply be ignored?