I am attempting to make a pong clone but java hates me. I have these errors: Game.render() failure - check the game code, so i checked my code and i cant find anything wrong with it. now its just says in game.render() but there is no game.render(), however these are the two render methods with code in them. i have thwo others but they are empty:

Is that literally the error message? Can you post the full error message, and any associated stack trace?

The screen shows up but in about 5 sec it closes.

Does it appear to work for those 5 seconds? You are creating new images every frame. If these images allocate system resources (which it appears to have, you have a resource leak that will eventually cause your program to fail. Try moving the images into fields, and only loading them once at startup. If possible, ensure you are loading each image exactly once.

Its says the time and date, but other than that it is the complete error message. And yes it works, i was trying to make it able to change the state when i click the button but it closes after 5 sec and wanted to get that fixed first.

and in the debug window it shows this:
[source lang="java"]<terminated>Game (1) [Java Application] <terminated>MyGame.Game at localhost:48985 <terminated, exit value: 0>/usr/lib/jvm/java-6-openjdk-i386/bin/java (2012-08-23 8:03:47 AM) [/source]
However i removed the big image and it worked. Im not sure how to set it as the background so i set it to 0,0. the image takes up the whole space. How would i set it as the background?

You can insert formatted code using [ code ] and [ /code ] tags (without the spaces). Also note that unless you followed my earlier advice about loading images during startup, you still have a resource leak.