RFR: 8353007: Open some JComboBox bugs 2 [v2]

Alisen Chung achung at openjdk.org
Wed Apr 16 08:25:49 UTC 2025


On Wed, 9 Apr 2025 00:13:38 GMT, Harshitha Onkar <honkar at openjdk.org> wrote:

>> Alisen Chung has updated the pull request incrementally with one additional commit since the last revision:
>> 
>>   update jtreg
>
> test/jdk/javax/swing/JComboBox/bug4201964.java line 79:
> 
>> 77:         frame.add(panel);
>> 78:         frame.setLocationRelativeTo(null);
>> 79:         frame.pack();
> 
> frame.setSize() instead of pack() ?

I thought pack was more standard to use? I only used setSize for the JInternalFrame test because pack doesn't work well with JIF

-------------

PR Review Comment: https://git.openjdk.org/jdk/pull/24496#discussion_r2046376952


More information about the client-libs-dev mailing list