This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.
Currently there is no support for specifying a "class-cast" code that should be used in component initialization code in code generator. This is required for handling components like SVGImage.
Fixed in trunk
Verified - now I'm able to generate the follwing code line: sVGImage2 = (javax.microedition.m2g.SVGImage) javax.microedition.m2g.SVGImage.createImage(VisualMidlet.class.getResourceAsStream("/hello/menu_2way_A.svg"), null);
Too late for NB 5.5 - I guess.
Already fixed in NB55.