Easy way to pop a Message-Box ?

M

Meir

Hi,

I'm using Sun's JDK 1.4.2 on Windows2K.

Is there an easy way to pop a simple Message-Box,
without messing with panels/containers/components ?

I want to give-up the console-window, and use JAVAW
instead of JAVA, and I need to be able to alert
the user if the initialization stage failed.

I don't have any GUI in my app - it processes files.

Thanks
Meir
 
D

David Potts

Meir said:
Hi,

I'm using Sun's JDK 1.4.2 on Windows2K.

Is there an easy way to pop a simple Message-Box,
without messing with panels/containers/components ?

I want to give-up the console-window, and use JAVAW
instead of JAVA, and I need to be able to alert
the user if the initialization stage failed.

I don't have any GUI in my app - it processes files.


http://java.sun.com/docs/books/tutorial/uiswing/components/dialog.html

....and read the bit about JOptionPane::showMessageDialog

Dave.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
473,755
Messages
2,569,536
Members
45,008
Latest member
HaroldDark

Latest Threads

Top