<p>Recently I wrote an extremely basic Java Swing program with a couple of text fields and buttons. The program works fine for me on Ubuntu with Java 1.5. But when I try to run it on OSX (10.4), the main window is displayed correctly but the program seems unresponsive. Nothing seems to happen, no matter which button I click on.</p>

<p>I know next to nothing about Mac OSX, so is there something I might be doing wrong?</p>

Could it be that you are executing something off the Event-Dispatch Thread? For example, you might be creating, displaying and then modifying a
```
JTextArea
```
in the
```
main
```
thread.