SWT Browser doesn't always paint [message #710014] |
Thu, 04 August 2011 15:35 |
Chris Neeser Messages: 5 Registered: August 2011 |
Junior Member |
|
|
I am attempting to embed an SWT Browser component within a Swing container. I am able to start up the application and the web browser component is drawn with the page rendered and visible. If I close the application and then re-launch it the page will often times not be displayed. The page is rendered, as I can hover over links and the mouse cursor changes, but the graphics are not actually drawn. The following links contain my code snips:
Web browser canvas class:
http : // pastebin.com/NG6TcvLR
Instantiating the class and adding to panel:
http : // pastebin.com/XgcfRTtc
Any help with this would be much appreciated.
Thanks,
Chris
|
|
|
Powered by
FUDForum. Page generated in 0.03366 seconds