title: java applet not grabbing focus in JRE 1.6.0_29 and up (OS X)
body: <p>A Java applet has the following in its start() method :</p>
  
  <pre><code>this.setFocusable(true);
  this.requestFocus();
  </code></pre>
  
  <p>When launched, the applet grabs the focus only in certain OS/JRE/browser configurations. It's compiled using JDK 1.6.0_18, and on my PC running Java 1.7 it grabs focus in all browsers (Ie, chrome, Firefox) without problems; even if the applet is compiled using JDK 1.7.</p>
  
  <p>On Mac OS X 10.6.8 which comes with Java 1.6.0_29 it doesn't grab focus in Safari, Chrome or Firefox, but the applet loads fine. When I upgrade the the Mac OSX JDK to the preview 1.7 - it doesnt' load the applet at all. If I compile the applet using JDK 1.7 and run using JRE 1.7 - it just crashes the browsers on the Mac.</p>
  
  <p>Has anyone come across similar problems? thanks.</p>