JDialog how to [newbie]


DevX Home    Today's Headlines   Articles Archive   Tip Bank   Forums   

Results 1 to 2 of 2

Thread: JDialog how to [newbie]

Hybrid View

  1. #1
    Join Date
    Sep 2005
    Posts
    16

    Red face JDialog how to [newbie]

    Ok,
    I'm a newbie in java and I just had my first contact with visual java programming, so I set up to build my hello world application.
    As IDE I am using NetBeans, and I have a button that I want to launch a message window when pressed. From what I heard... the right component for that would be JDialog, but I cand instantiate the component.
    I tried using a sintax like this:

    jDialog dialog = new jDialog()

    But it didn't worked... if someone have any idea of how should I do that, please tell me.. any new ideas are apreciated.. as long as I'm still at the beginning

    Thanks !

  2. #2
    Join Date
    Jul 2005
    Location
    the Netherlands
    Posts
    128
    Here's the tutorial from Sun on how to create custom dialogs:
    http://java.sun.com/docs/books/tutor...ts/dialog.html
    It has some example code as well.

    Good luck.

Similar Threads

  1. Replies: 1
    Last Post: 07-24-2002, 02:52 AM
  2. About JDialog
    By a foolish in forum Java
    Replies: 0
    Last Post: 07-20-2002, 06:43 AM
  3. JDialog w/o titlebar
    By raymond in forum Java
    Replies: 1
    Last Post: 05-21-2002, 05:15 AM
  4. Replies: 1
    Last Post: 05-21-2002, 05:10 AM
  5. JFrame / JDialog issue
    By Kent in forum Java
    Replies: 8
    Last Post: 05-14-2002, 02:49 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
HTML5 Development Center
 
 
FAQ
Latest Articles
Java
.NET
XML
Database
Enterprise
Questions? Contact us.
C++
Web Development
Wireless
Latest Tips
Open Source


   Development Centers

   -- Android Development Center
   -- Cloud Development Project Center
   -- HTML5 Development Center
   -- Windows Mobile Development Center