I'm in need of a small, short and sweet Java application that will show a window form with a button and when I click on the button it will paint a message on the window. I think it should be something like class MyForm extends Frame implements Runnable but I'm not sure but it needs to run in a Thread.

Does anyone know if there is something similar to this around here or can someone just give me a simple example.

Thanks in advance.