0 Replies Latest reply: Jul 21, 2008 8:45 AM by 843851 RSS

    Display Container

    843851
      I've written a few Xlets using javax.microedition.xlet, but now I'm trying to write an xlet using javax.tv.xlet for a settop box.

      In javax.microedition.xlet, I got a container for my in initXlet() using something like this:
      public void initXlet(XletContext context)
               throws XletStateChangeException
          {
                this.state = PAUSED;
                this.context = context;
                
                try
                {
                     this.container = this.context.getContainer();
                }
                
                catch( UnavailableContainerException e )
                {
                     throw new XletStateChangeException( e.getMessage() );
                }
          }
      How do I get a container so I can use awt for a javax.tv.xlet Xlet?