/** * Update the applet size to the current frameSize. The current frameSize * depends on which type of rendering is used. */ public void setFrameSize() { this.applet.getSurface().setSize((int) frameSize.x, (int) frameSize.y); }
@Override public void setSize(int w, int h) { deprecationWarning("setSize"); surface.setSize(w, h); }
ps.setSize(200, 200);