DevX Home    Today's Headlines   Articles Archive   Tip Bank   Forums   

+ Reply to Thread
Results 1 to 2 of 2

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

Bookmarks

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


Top DevX Stories

Easy Web Services with SQL Server 2005 HTTP Endpoints
JavaOne 2005: Java Platform Roadmap Focuses on Ease of Development, Sun Focuses on the "Free" in F.O.S.S.
Wed Yourself to UML with the Power of Associations
Microsoft to Add AJAX Capabilities to ASP.NET
IBM's Cloudscape Versus MySQL


Sponsored Links