Problem with swing component

One

New Member
Hi all,

I working with application client/server. I need to show a msg when the client access.

My problem is with eclipse when I am running Swing component.
The window doesn't appear anywhere.

This is the part of the code where the window should be run:

Code:
Thread t = new Thread() {
         public void run() {
            javax.swing.JOptionPane.showMessageDialog(null,
               "My problem is that I cannot get this dialgo box pop up!");
         }
      };
      t.start();


When I run the client and the server as stand-alone JAR files, the swing windows appear.
Meaning, these windows do NOT appear when I run things from inside the Eclipse IDE. No, no windows are hidden or whatsoever.

I'm using Java 1.5.0 update 7.
The OS: Windows XP
Under Eclipse SDK 3.2

Any one have idea about this problem ?

-one
 
Back
Top