esuslogo
 [To advertise Java(tm) Events here, contact joris@esus.com!]
banner

Java™
by example!






New @ Esus.com


  gb  In-house search engine for better results!

  gb  Get updates with the esus.com
newsletter!









  Home 
 Browse Categories 
 Ask a Java Question 
 Help 
  For Java Tips & Tricks, subscribe to the esus.com newsletter!
Search Java Q&A, Links, API's:   adv 

Become a member to observe this category
JDialog, JOptionPane

JDialog allows for a modal or modeless window that has less capabilities than a JFrame. Use it for custom windows eg. to show an error message or to ask for a yes/no question. There are already a couple standard dialogs available, eg. JFileDialog and JColorChooser. Check out the section How to make Dialogs from Sun's Java Tutorial for more information. JOptionPane is a useful class that allows you to create complex dialog boxes with very little code, often just one line of code. Check out the section JOptionPane Features from Sun's Java Tutorial for more information.

Related Categories

Dialog

Subcategories



      Questions & Answers
      = answered, = unanswered

      General:

        How can I set the top-left icon of a JDialog?
        How do I center a JDialog on the screen?
        How do I have the Enter key activate the default button on a JDialog?
        How do I localize a JOptionPane?
        How do I add my own buttons to a JOptionPane?
        How do I get the result of a JOptionPane invoked with showInputDialog?
        How do I set the font for a JOptionPane?
        Where can I find examples of the use of JOptionPane?
        How do I get an event when my JOptionPane is closing?
        How do I prevent the user from closing a JOptionPane with the X button?
        How do I have my JDialog always-on-top?
        How do I change the colors of a JOptionPane?


      Further Information (sorted alphabetically)
      Api's:

      Tutorials:

      Related Links:







      Terms of Service | Privacy Policy | Contact

      Copyright © 2000-2003 Esus.com - All Rights Reserved 
      Java and all Java-based trademarks are trademarks of Sun Microsystems, Inc. Esus.com is independent of Sun Microsystems, Inc. All other trademarks are the sole property of their respective owners.