Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-4137087

setTitle does not work for JDialogs

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Duplicate
    • Icon: P4 P4
    • None
    • 1.2.0
    • client-libs



      Name: rk38400 Date: 05/11/98


      When the title of a JDialog is set multiple times
      using the setTitle(String title) method, the title
      does not display on the screen with the new title
      after the first time that it is shown.

      It appears that the title instance variable of the
      JDialog is being changed with the setTitle()
      method, but the new title does not show up on
      screen.

      1. Create a JDialog
      2. Set the title of the Jdialog to String A
      3. Show the JDialog
      4. Hide the JDialog
      5. Set the title of the Jdialog to String B
      6. Show the JDialog
      7. Note that the title of the JDialog is still A
      (Review ID: 30026)
      ======================================================================

            amfowler Anne Fowler (Inactive)
            rkarsunw Ralph Kar (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: