-
Bug
-
Resolution: Fixed
-
P3
-
7
-
b03
-
x86
-
windows_7
Issue | Fix Version | Assignee | Priority | Status | Resolution | Resolved In Build |
---|---|---|---|---|---|---|
JDK-8035062 | 9 | Anton Nashatyrev | P3 | Closed | Fixed | b06 |
JDK-8044881 | 8u25 | Anton Nashatyrev | P3 | Resolved | Fixed | b01 |
JDK-8053002 | emb-8u26 | Anton Nashatyrev | P3 | Resolved | Fixed | b17 |
JDK-8035175 | 7u80 | Anton Nashatyrev | P3 | Resolved | Fixed | b01 |
JDK-8060778 | 7u79 | Anton Nashatyrev | P3 | Resolved | Fixed | b01 |
JDK-8057213 | 7u76 | Anton Nashatyrev | P3 | Resolved | Fixed | b01 |
JDK-8047456 | 7u72 | Anton Nashatyrev | P3 | Resolved | Fixed | b01 |
JDK-8040844 | 7u71 | Anton Nashatyrev | P3 | Resolved | Fixed | b01 |
JDK-8040305 | 7u66 | Anton Nashatyrev | P3 | Resolved | Fixed | b01 |
java version "1.7.0"
Java(TM) SE Runtime Environment (build 1.7.0-b147)
Java HotSpot(TM) 64-Bit Server VM (build 21.0-b17, mixed mode)
ADDITIONAL OS VERSION INFORMATION :
Microsoft Windows [Version 6.1.7601]
A DESCRIPTION OF THE PROBLEM :
When an JComboBox is showing its dropdown list in an Applet in a browser, pressing the browser's scrollbar arrow / moving the browser's scrollbar does not update the dropdown list location. It stays still on the screen which makes the dropdown list seems to be "detached" from its JComboBox.
STEPS TO FOLLOW TO REPRODUCE THE PROBLEM :
Prepare an Applet to display a JComboBox and a HTML file, jnlp...etc for standard applet deployment.
In the HTML, it should contain some spacing, eg. <br/>, in the <body> part.
Open an Applet with any browser, resizes height of the browser / input more space in html file so that the browser's vertical scrollbar appears.
Click on the JComboBox to show its dropdown list, then press the browser's scrollbar arrow or drag the browser's scrollbar to perform scrolling.
The dropdown list of the JComboBox is detached from its parent instead of scrolling along with the JComboBox.
EXPECTED VERSUS ACTUAL BEHAVIOR :
EXPECTED -
Location of the dropdown list should be updated with its JComboBox.
ACTUAL -
Location is not updated.
REPRODUCIBILITY :
This bug can be reproduced always.
---------- BEGIN SOURCE ----------
package test.applet;
import java.awt.*;
import javax.swing.*;
public class TestApplet extends JApplet {
public void init() {
super.init();
String[] comboBoxModel = new String[] {"This is Choice 1.", "This is Choice 2."};
JComboBox comboBox = new JComboBox(comboBoxModel);
getContentPane().add(comboBox);
setSize(300, 100);
}
}
---------- END SOURCE ----------
- backported by
-
JDK-8035175 DropDown List of JComboBox detached
- Resolved
-
JDK-8040305 DropDown List of JComboBox detached
- Resolved
-
JDK-8040844 DropDown List of JComboBox detached
- Resolved
-
JDK-8044881 DropDown List of JComboBox detached
- Resolved
-
JDK-8047456 DropDown List of JComboBox detached
- Resolved
-
JDK-8053002 DropDown List of JComboBox detached
- Resolved
-
JDK-8057213 DropDown List of JComboBox detached
- Resolved
-
JDK-8060778 DropDown List of JComboBox detached
- Resolved
-
JDK-8035062 DropDown List of JComboBox detached
- Closed
- duplicates
-
JDK-8032708 7u45 JMenuItem Displayed Behind Safari When Windows Maximised
- Resolved