all i wanna try is to get bufferstrategy work. after many tries and always getting:
java.lang.IllegalStateException: Component must have a valid peer
i read in inet, that the component has to be visible and added first and then the bufferstrategy can be created.
didnt work for me.
next step was visiting the lovely tutorial site of mr kevglass.
even copy and pasting the canvas-class-constructor for my canvas class didnt work. same error.
so im sitting here, wining … :-[