Results 1 to 6 of 6
  1. #1
    Sarinam is offline Senior Member
    Join Date
    Jun 2008
    Posts
    121
    Rep Power
    0

    Default Problem in dialog

    Hi all

    I have a three dialog.Which is open through menuitem.Dialog A,B and C. When Dialog A is open through menuitem and i try to open a Dialog B.Then what happen Dialog B is open .i can say multipel dialog open through Dailog.

    I want to remove these things.I want ot open only one dialog at the time can any open help me..

    Plz help me..

  2. #2
    masijade is offline Senior Member
    Join Date
    Jun 2008
    Posts
    2,571
    Rep Power
    9

    Default

    Make them modal.

    JDialog (Java Platform SE 6)

    Check out the constructors with the "boolean modal" parameters.

  3. #3
    kevinsong is offline Member
    Join Date
    Jul 2008
    Posts
    7
    Rep Power
    0

    Default

    i agree with masijade..............

  4. #4
    kevinsong is offline Member
    Join Date
    Jul 2008
    Posts
    7
    Rep Power
    0

    Default

    or check out the menuitem buttion's title name when press it,show dialog by menuitem buttion's title name

  5. #5
    Sarinam is offline Senior Member
    Join Date
    Jun 2008
    Posts
    121
    Rep Power
    0

    Default

    Quote Originally Posted by kevinsong View Post
    or check out the menuitem buttion's title name when press it,show dialog by menuitem buttion's title name
    menuitem button's name and dialog title both name is same.Any more idea..

  6. #6
    Sarinam is offline Senior Member
    Join Date
    Jun 2008
    Posts
    121
    Rep Power
    0

    Default

    Quote Originally Posted by kevinsong View Post
    or check out the menuitem buttion's title name when press it,show dialog by menuitem buttion's title name
    Thxs for help.Solve it...

Similar Threads

  1. Dialog
    By JavaLerner in forum AWT / Swing
    Replies: 27
    Last Post: 07-07-2008, 12:29 PM
  2. No button dialog
    By Java Tip in forum javax.swing
    Replies: 0
    Last Post: 06-27-2008, 08:45 PM
  3. Example of SWT Dialog
    By Java Tip in forum Java Tip
    Replies: 0
    Last Post: 01-09-2008, 01:01 PM
  4. Dialog Box
    By uncopywritable in forum New To Java
    Replies: 2
    Last Post: 07-30-2007, 01:42 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •