(Java runtime / compiler execute difference)

I have made a little Java program (NetBeans).
When I RUN the builded RUNTIME version (myprogram.jar) on a Windows 7 (32bit, 3Ghz) computer, so not inside the NetBeans environment, it works but a part of the program doesn't work at all.

(some selection to open a new Dialog, it doesn't open the new Dialog).
Don't understand how this is possible, any ideas ?