When I try the following, creating a Frame that is undecorated, i get the following exception…thoughts??
public class JournalPageHUD extends Frame implements WidgetActionListener,
WidgetStateListener, DialogListener, FrameListener {
Panel p = null;
public JournalPageHUD(int frameIndex) {
super(new Panel(512, 512, true),false, "Multi Frame #" + frameIndex);
Exception in thread “main” java.lang.NullPointerException
at org.xith3d.ui.hud.base.WidgetAssembler.addWidget(WidgetAssembler.java:138)
at org.xith3d.ui.hud.base.WidgetAssembler.addWidget(WidgetAssembler.java:167)
at org.xith3d.ui.hud.widgets.Frame.init(Frame.java:532)
at org.xith3d.ui.hud.base.WidgetBase.setContainer(WidgetBase.java:375)
at org.xith3d.ui.hud.widgets.Frame.setContainer(Frame.java:546)
at org.xith3d.ui.hud.HUD.addWidget(HUD.java:766)
at org.xith3d.ui.hud.HUD.addWidget(HUD.java:824)
at hawk.manager.GameUIManager.addJournalWindow(GameUIManager.java:1232)