hi, sorry if I've ruined this thread, but you mentioned something about a root pane, and I think thats got sumthign to do with my problem. If its not too much trouble, could you take a quick look.
I have a JApplet as shown here:
And also a normal java class (PacmanGame) that extends JPanel:
I'm trying to insert the addKeyListener(...) method into the constructor of PacmanGame, but I'm not sure how to do it. I think it has something to do with the contentPane, but I dont have a frame here, everything is being displayed in the HTML file that calls PacmanApplet.