Skip to main content

XletContext Cannot find symbol

No replies
churroboy
Offline
Joined: 2009-07-23

Any help? Thanks.

This a part of the FullHDXlet.java within this directory: src\MainMenu\xlet_src\mainmenu

package mainmenu;

import com.hdcookbook.grinxlet.GrinXlet;
import com.hdcookbook.grin.util.Debug;

import java.awt.Container;
import java.awt.Dimension;
import javax.tv.graphics.TVContainer;

import org.davic.resources.ResourceClient;
import org.davic.resources.ResourceProxy;

import org.havi.ui.HGraphicsConfiguration;
import org.havi.ui.HGraphicsDevice;
import org.havi.ui.HScreen;

public class FullHDXlet extends GrinXlet implements ResourceClient {

private HGraphicsDevice graphicsDevice;

where the error occurs below at XletContext in parenthesis

Container root = TVContainer.getRootContainer(XletContext);
root.setSize(1920, 1080);
if (Debug.LEVEL > 0) {
Debug.println("Set root container size to " + root.getWidth()
+ "x" +root.getHeight());
}
return root;
}

here is the compile errors

Created dir: C:\BDJ\PROJECTS\HDCOOKBOOK BDJ\HDCOOKBOOKBDJ\build\compiled
Compiling 1 source file to C:\BDJ\PROJECTS\HDCOOKBOOK BDJ\HDCOOKBOOKBDJ\build\compiled
C:\BDJ\PROJECTS\HDCOOKBOOK BDJ\HDCOOKBOOKBDJ\src\MainMenu\xlet_src\mainmenu\FullHDXlet.java:124: cannot find symbol
symbol : variable XletContext
location: class mainmenu.FullHDXlet
Container root = TVContainer.getRootContainer(XletContext);
^
1 error
C:\BDJ\PROJECTS\HDCOOKBOOK BDJ\HDCOOKBOOKBDJ\nbproject\build-impl.xml:267: Compile failed; see the compiler error output for details.
BUILD FAILED (total time: 3 seconds)

Message was edited by: churroboy