M
Mark
I've written a program that converts list of products from our suppliers at work into a format some of our other programs understand. The program is completely non-graphical aside from when a product category is encountered that we don't have a matching code for, in which case I display a JDialog with a JTextField for someone to enter in a code.
At the moment the whole process is run from EventQueue.invokeLater in main which works ok on my computer when it's run from within NetBeans and from the command prompt. If I run the program from the server (running XPSP2 and jre 6 update 11) then when it comes to displaying the JDialog, only the outside frame is drawn - where the controls should be I see the window behind.
I removed EventQueue.invokeLater from main and switched to calling JDialog.setVisible inside invokeLater which had no effect.
The import code is completely procedural - there are no listeners (apart from for a button click in the dialog class), and the dialog should and does block until a code is entered.
Is there a way I should write the program so the dialog displays properly? Or is there a reason it would work ok on my computer and not others?
Thanks
At the moment the whole process is run from EventQueue.invokeLater in main which works ok on my computer when it's run from within NetBeans and from the command prompt. If I run the program from the server (running XPSP2 and jre 6 update 11) then when it comes to displaying the JDialog, only the outside frame is drawn - where the controls should be I see the window behind.
I removed EventQueue.invokeLater from main and switched to calling JDialog.setVisible inside invokeLater which had no effect.
The import code is completely procedural - there are no listeners (apart from for a button click in the dialog class), and the dialog should and does block until a code is entered.
Is there a way I should write the program so the dialog displays properly? Or is there a reason it would work ok on my computer and not others?
Thanks