Results 1 to 2 of 2
  1. #1
    vaibhavspawar is offline Member
    Join Date
    Jun 2010
    Posts
    17
    Rep Power
    0

    Default About Dialog Modality...

    dialog.setModalityType(Dialog.ModalityType.DOCUMENT_MODAL);

    Above underlined text is giving me error- "Can not find symbol 'ModalityType'"
    M using java version 1.5.0.

    Thanx.

  2. #2
    JosAH's Avatar
    JosAH is offline Moderator
    Join Date
    Sep 2008
    Location
    Voorschoten, the Netherlands
    Posts
    13,519
    Blog Entries
    7
    Rep Power
    20

    Default

    Quote Originally Posted by vaibhavspawar View Post
    dialog.setModalityType(Dialog.ModalityType.DOCUMENT_MODAL);

    Above underlined text is giving me error- "Can not find symbol 'ModalityType'"
    M using java version 1.5.0.

    Thanx.
    If you had read the API documentation for the nested class Dialog.ModalityType you would've read that it only exists since Java version 1.6.

    kind regards,

    Jos

Similar Threads

  1. JDialog Modality Type help.
    By mine0926 in forum NetBeans
    Replies: 10
    Last Post: 06-24-2010, 06:45 AM
  2. Dialog
    By JavaLerner in forum AWT / Swing
    Replies: 27
    Last Post: 07-07-2008, 11:29 AM
  3. Example of SWT Dialog
    By Java Tip in forum Java Tip
    Replies: 0
    Last Post: 01-09-2008, 12:01 PM
  4. Dialog Box
    By uncopywritable in forum New To Java
    Replies: 2
    Last Post: 07-30-2007, 12: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
  •