Results 1 to 3 of 3
  1. #1
    OtherOnes is offline Member
    Join Date
    Feb 2014
    Posts
    1
    Rep Power
    0

    Question How do I create a Java messagebox an on form messagebox? Stuck

    How do I create a Java messagebox an on form messagebox? Stuck

    I know how to create a regular popup messagebox as below:

    Java Code:
    JOptionPane.showMessageDialog(this, "Couldn't log in");
    But I don't know how to create one as below, I'm stuck on how we create this sort of messagebox..


    How do I create a Java messagebox an on form messagebox? Stuck-njpor.png

  2. #2
    Norm's Avatar
    Norm is online now Moderator
    Join Date
    Jun 2008
    Location
    SW Missouri
    Posts
    17,401
    Rep Power
    25

    Default Re: How do I create a Java messagebox an on form messagebox? Stuck

    Last edited by Norm; 02-07-2014 at 04:43 PM.
    If you don't understand my response, don't ignore it, ask a question.

  3. #3
    kaydell2 is offline Senior Member
    Join Date
    Dec 2012
    Posts
    106
    Rep Power
    0

    Default Re: How do I create a Java messagebox an on form messagebox? Stuck

    You can subclass JDialog similar to how you can subclass JFrame.

Similar Threads

  1. Is there any sort of messagebox/inputbox?
    By StayAwakeNow in forum New To Java
    Replies: 3
    Last Post: 07-19-2012, 01:22 AM
  2. Yes No Icon MessageBox in SWT
    By Java Tip in forum SWT Tips
    Replies: 0
    Last Post: 07-02-2008, 07:57 PM
  3. Demonstration of the MessageBox class
    By Java Tip in forum SWT Tips
    Replies: 0
    Last Post: 07-02-2008, 07:57 PM
  4. MessageBox Example in SWT
    By Java Tip in forum SWT Tips
    Replies: 0
    Last Post: 07-02-2008, 07:53 PM
  5. MessageBox example
    By Java Tip in forum Java Tip
    Replies: 0
    Last Post: 03-14-2008, 11:33 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
  •