title: JFrame (being fullscreened) background color not changing
body: <p>im using </p>
  
  <pre><code>getContentPane().setBackground(Color.PINK);
  </code></pre>
  
  <p>to set the background of a JFrame to the color pink. this JFrame is being fullscreened using a GraphicsDevice. the color of the background is not changing. any help?</p>
  
  <p>fullscreen code:</p>
  
  <pre><code>public static void main(String... args) {
       DisplayMode dMode = new DisplayMode(800, 600, 16, DisplayMode.REFRESH_RATE_UNKNOWN);
       GameMain game = new GameMain();
       game.run(dMode);
  
   }
  
   public void run(DisplayMode dMode) {
       getContentPane().setBackground(Color.PINK);
       setForeground(Color.WHITE);
       setFont(new Font("Arial", Font.PLAIN, 24));
  
       Screen s = new Screen();
       try {
           s.setFullScreen(dMode, this);
           try {
               Thread.sleep(5000);
           } catch(Exception e) { }
       } finally {
           s.restoreScreen();
       }
  </code></pre>
  
  <h2>     }</h2>
  
  <pre><code> public void setFullScreen(DisplayMode dMode, JFrame window) {
      window.setUndecorated(true);
      window.setResizable(false);
      gDevice.setFullScreenWindow(window);
  
      if(dMode != null &amp;&amp; gDevice.isDisplayChangeSupported()) {
          try {
              gDevice.setDisplayMode(dMode);
          } catch(Exception e) { }
      }
  }
  </code></pre>