-
Bug
-
Resolution: Fixed
-
P2
-
1.4.2, 5.0, 5.0u2, 5.0u3
-
b53
-
generic, x86, sparc
-
generic, linux, solaris_8, solaris_9, windows_2000, windows_xp
Issue | Fix Version | Assignee | Priority | Status | Resolution | Resolved In Build |
---|---|---|---|---|---|---|
JDK-2142969 | 5.0u12 | Alexander Potochkin | P3 | Resolved | Fixed | b01 |
The application (openduty2) and the testcase BUG15 perfectly runs with 1.3.x and 1.4.x, but do not work with tiger beta2:
- cannot select more than one item
- cannot scroll
- cannot use buttons to execute any action
In the panel there is a long list of items which are support queues to be selected (in the testcase the list is simply long enought to have an automatic scrollbar, but in the real application it is often longer)
In the attached Screenshot.png you see the original application openduty2 (using acqua Theme) with some queues selected and the same panel in the testcase without any JCheckBox selected
The behaviour changes for check boxes and scroll pane using shift key while selecting or scrolling, but listeners do not receive any JButton action
To verify this behaviour instead of using only the mouse to click on JCheckBox,JButton and scrollbar, use SHIFTKey+MouseClick together on JCheckBox and on the arrows of the scrollbar (dragging scrollbar does not work)
Using SHIFTKey+MouseClick I can select more than one JCheckBox and use the scrollbar arrows: the JScrollPane perfectly moves.
The JButton(s) still do not work even with a SHIFTKey+MouseClick
The behaviour changes for check boxes if the opened JPanel is detached from the application (this is not possible in 1.4.x, but can be done in this testcase using 1.3.1) but JButton still do not work as expected
To verify this behaviour simply move the JPanel which can float in 1.5.0-beta2 in your desktop because, because it is no more linked to the JMenu ( is a new window) See the Screenshot.png where I've moved the panel in the testcase, but I cannot do that in the application when running with 1.4.2_0x, because it is attached to the JMenuBar.
The look and feel is different using 1.3.x, 1.4.x and 1.5
The problems has been verified on Sol8 and Sol9 with gnome and CDE using java 1.5.0-beta2-b48, simply running: /usr/jdk/j2sdk1.5.0/bin/java -jar BUG15.jar
To run it with 1.3 you need to recompile the classes (see build13 script)
- backported by
-
JDK-2142969 REGRESSION: problems with 1.5.0 action listeners
-
- Resolved
-
- duplicates
-
JDK-4991772 REGRESSION: Putting a JButton in a submenu of a JPopupMenu causes glitch
-
- Closed
-
-
JDK-6179677 REGRESSION: JSpinner keeps spinning in a JMenuBar
-
- Closed
-
-
JDK-6222765 mouseReleased not sent to components in popup submenu
-
- Closed
-
-
JDK-6278722 REGRESSION: ListSelectionEvent.getValueIsAdjusting returns true for JList
-
- Closed
-
-
JDK-6281415 REGRESSION: Unable To Scroll On A ScrollPane After Migrating To JAVA 1.5
-
- Closed
-
-
JDK-5082541 JButton gets stuck when clicked inside a JMenu (sample included)
-
- Closed
-
-
JDK-5089878 Several swing components behave incorrectly being placed into javax.swing.Popup
-
- Closed
-
-
JDK-6269935 JScrollPane, scroll bar not working for JMenu
-
- Closed
-
- relates to
-
JDK-6611524 REGRESSION: JPopupMenu state confused MouseDragEvent
-
- Closed
-
-
JDK-6415145 REGRESSION: Selected item is not being updated while dragging above popup menu
-
- Resolved
-
-
JDK-6515446 JMenuItems in JPopupMenus not receiving ActionEvents - incompat with 1.5
-
- Resolved
-