Depends on what kind of window it is, also what methods you are using for rendering
If you are using the Swing/AWT, most likley you have to "repaint()" the panel
If you are using bufferStrategy you have to "show()" the bufferStrategy.
It really depends on what kind of "window" you are making.