-
Bug
-
Resolution: Fixed
-
P4
-
1.1.6
-
1.1.6
-
x86
-
windows_nt
-
Verified
Issue | Fix Version | Assignee | Priority | Status | Resolution | Resolved In Build |
---|---|---|---|---|---|---|
JDK-2019950 | 1.2.0 | David Mendenhall | P4 | Resolved | Fixed | 1.2beta4 |
JDK-2019949 | 1.1.7 | David Mendenhall | P4 | Resolved | Fixed | b01 |
Name: moC74494 Date: 04/09/98
Found in informal 1.1.6L binary build (4/8/98) by
Borland (quick testing).
Steps:
Show a Frame with a MenuBar.
Dispose the Frame.
// leaves a non-painted region on the screen along
// the bottom edge of the Frame, the height of the
// MenuBar.
Code:
The following simple code
import java.awt.*;
import java.awt.event.*;
public class UglyFrame extends Frame {
public static void main(String[] args) {
final UglyFrame f = new UglyFrame();
MenuBar mb = new MenuBar();
Menu m = new Menu("menu");
mb.add(m);
f.setMenuBar(mb);
f.addWindowListener(
new WindowAdapter() {
public void windowClosing(WindowEvent e) {
f.dispose();
}
}
);
f.show();
}
}
(Review ID: 28091)
======================================================================
- backported by
-
JDK-2019949 REGRESSION: Frame w/MenuBar leaves paint residue when disposed
-
- Resolved
-
-
JDK-2019950 REGRESSION: Frame w/MenuBar leaves paint residue when disposed
-
- Resolved
-