<Swing Dev> RFR: 8048109: JToggleButton does not fire actionPerformed under certain conditions [v3]
Tejpal Rebari
trebari at openjdk.java.net
Thu Dec 10 15:31:37 UTC 2020
On Wed, 14 Oct 2020 01:52:12 GMT, Sergey Bylokhov <serb at openjdk.org> wrote:
>> Tejpal Rebari has updated the pull request incrementally with one additional commit since the last revision:
>>
>> reworked fix, also fixed for nimbus,motif,GTK LAF
>
> test/jdk/javax/swing/JPopupMenu/SetInvokerJPopupMenuTest.java line 145:
>
>> 143: public void setVisible( boolean state ) {
>> 144: if( !state ) {
>> 145: Exception ex = new Exception();
>
> It is unclear what is the purpose of this method?
This method is needed to reproduce the issue.
If we remove this method then the popup menu never goes off the screen after the the first mouse click.
-------------
PR: https://git.openjdk.java.net/jdk/pull/600
More information about the swing-dev
mailing list