JDK-4295864 : JDialog icon not shown
  • Type: Bug
  • Component: client-libs
  • Sub-Component: javax.swing
  • Affected Version: 1.3.0
  • Priority: P4
  • Status: Closed
  • Resolution: Duplicate
  • OS: windows_nt
  • CPU: x86
  • Submitted: 1999-12-01
  • Updated: 2000-01-14
  • Resolved: 2000-01-14
Related Reports
Duplicate :  
Description

Name: skT88420			Date: 12/01/99


D:\>java -version
java version "1.3beta"
Java(TM) 2 Runtime Environment, Standard Edition (build 1.3beta-O)
Java(TM) HotSpot Client VM (build 1.3beta-O, mixed mode)


When creating an instance of a class derived from JDialog, which
is NOT RESIZABLE, the title bar icon of the dialog is not shown,
when the dialog is shown with setVisible(true).

public class X extends JDialog {
  public X (JFrame owner, String title, boolean modal) {
    super(owner, title, modal);
    setResizable(false);
  }
}
(Review ID: 98486) 
======================================================================

Comments
WORK AROUND Name: skT88420 Date: 12/01/99 public class X extends JDialog { public X (JFrame owner, String title, boolean modal) { super(owner, title, modal); ///setResizable(false); } } public void setVisible(boolean isVisible) { super.setVisible(isVisible); if (isResizable()) { setResizable(false); } } ======================================================================
11-06-2004

EVALUATION duplicate of 4284610. amy.fowler@Eng 2000-01-14
14-01-2000