Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
HomeAnnouncementsWhite Papers
Discussion GroupsFirst AidDatabasesJavaBeansGUIJava 3DVirtual MachineCORBASecurityToolsGeneral
Java DirectoryOpen Source ProjectsSample Book ChaptersUser GroupsWeb Resources
Related Topics
Databases.NETMore Topics ...

Java Forum / Tools / December 2003

Tip: Looking for answers? Try searching our database.

Message Box

Thread view: 
Paul Thompson - 25 Dec 2003 21:33 GMT
I'm migrating an application from Microsoft Java to Linux. Windoz
provides a convenient MessageBox() method to alert the user. What's the
Sun Java equivalent?

Thanks
Paul
David Postill - 26 Dec 2003 01:01 GMT
| I'm migrating an application from Microsoft Java to Linux. Windoz
| provides a convenient MessageBox() method to alert the user. What's the
| Sun Java equivalent?

<http://java.sun.com/j2se/1.4.2/docs/api/javax/swing/JOptionPane.html#showMessage
Dialog(java.awt.Component,%20java.lang.Object,%20java.lang.String,%20int
)>

<davidp />

Signature

David Postill

Herman Timmermans - 26 Dec 2003 05:56 GMT
> I'm migrating an application from Microsoft Java to Linux. Windoz
> provides a convenient MessageBox() method to alert the user. What's the
> Sun Java equivalent?
>
> Thanks
> Paul
***************************************************************
To create simple standard diaglog, you use the JOptionPane class.  Using
this, you can create and customize several kinds of dialogs.  The class
supports the layout for standard dialogs, providing icons, specifying the
titcle and text, and allows for customizing the button's text. b The
showMessageDialog for example, displays a modal dialog with one button, and
you can specify the message, the icon and title the the dialog displays.
Hope this helps,
Brgds Herman
Signature

Suse Linux Professional 8.1 on Athlon 1.1 Ghz 512 Mb
Anti Spam = remove the "dot" and the "at"
Registered Linux User #264690

Paul Thompson - 28 Dec 2003 20:45 GMT
> I'm migrating an application from Microsoft Java to Linux. Windoz
> provides a convenient MessageBox() method to alert the user. What's the
> Sun Java equivalent?
>
> Thanks
> Paul

 Thanks for the good answers ....


Free Magazines

Get these publications absolutely FREE for up to 12 months. There are no hidden fees and no obligation. Simply choose a title, complete the application form and submit it. Read more ...

Oracle MagazineNetwork ComputingComputer WorldBio-IT WorldeWeekInformation WeekInfosecurity
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.