|Background Image - Poof! [message #901974]
||Wed, 15 August 2012 11:33
| Mark Fenbers
Registered: July 2009
Location: Ohio, USA
I have long-awaited version 2 of Zest because I was looking forward to a fix for an annoying bug. For my Zest graph, I load a background image that is correctly displayed. However, when another Shell window from my app appears on screen, the background image disappears leaving on a plain white background for my graph. |
I had posted a bug report about this a long time ago (1 year? 2 years?), and a couple of others had responded about observing the same sort of behavior. I can no longer find the bug report and version 2.0 seems not to have addressed the bug. Since it is such a blatantly obvious issue, I begin to think that maybe it is not a bug at all, but rather an improper coding of it on my part.
Here's my code excerpt:
Image bimage = new Image(null, imgFile.getAbsolutePath());
gv = new GraphViewer(shell, SWT.NONE);
This works and the image is displayed as expected, but as stated earlier, it vanishes when another Shell window (from the same app) pops-up. Is this behavior a bug (still), or an indication of me doing something improperly?
[Updated on: Wed, 15 August 2012 11:35]
Report message to a moderator
Powered by FUDForum
. Page generated in 0.01725 seconds