Using a double buffered panel