JDK-4137087 : setTitle does not work for JDialogs
  • Type: Bug
  • Component: client-libs
  • Sub-Component: javax.swing
  • Affected Version: 1.2.0
  • Priority: P4
  • Status: Closed
  • Resolution: Duplicate
  • OS: windows_95
  • CPU: x86
  • Submitted: 1998-05-11
  • Updated: 1998-06-02
  • Resolved: 1998-06-02
Related Reports
Duplicate :  
Description

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)
======================================================================

Comments
EVALUATION This is actually a dup of an AWT bug: 4120856.
11-06-2004