We have a VBean that we embed in Forms to display CAD drawings within the application. This has been working fine for a long time now. However, we have started to get problems once the version of the JRE goes above 1.6.13. As soon as this happens the bean area in the form is blank. We have stripped the code right back so the bean is just a showing a panel with the cad file on it. In v1.6.13 it works fine, in 1.6.21 no image is shown. The bean is loading as the cursor can be clicked in the bean area and the activity we would expect still occurs, but no display. The full code for the stripped down version is below. If, in JDeveloper, I change VBean to JFrame, it all works fine as well.
Has any one experienced this or am I doing something wrong?
public class ATRIUMcad_stripped extends VBean
private ViewerAWT_ObjectNode viewerAWT;
public static void main(String args)
ATRIUMcad_stripped cv = new ATRIUMcad_stripped();
Thanks everyone, I did enhance the bean to fully impelment the IView interface but no luck. The CAD bean is heavyweight so I believe it is the bug:
Juggler.jar PJC not visible at run time on the bean area at run time. It is
working fine with JRE jre1.6.0_13 , but starting with jre1.6.0_14 and later
releases of JRE , its not visible at runtime.
Other PJCs demo beans such as Forms graph bean working ok.
]]Heavyweight bean items not visible in JRE 1.6.0_14 and above
Heavyweight bean items no longer visible.
Last chance, try to modify your class to implement Object instead of VBean, and add a setXXX() method to display your component.
Then, in the Forms module, clear the Bean Area Implementation Class property, then use the functions of the FBean package, just to try...