RFR: 8354214: Open source Swing tests Batch 2
Andrey Turbanov
aturbanov at openjdk.org
Fri Apr 11 20:22:27 UTC 2025
On Fri, 11 Apr 2025 05:52:47 GMT, Jayathirth D V <jdv at openjdk.org> wrote:
> Few swing JList tests are open sourced.
test/jdk/javax/swing/JList/bug4193267.java line 84:
> 82: jsp = new JScrollPane(lst);
> 83: fr[0].add(jsp);
> 84: fr[0].setSize(400,200);
Suggestion:
fr[0].setSize(400, 200);
test/jdk/javax/swing/JList/bug4193267.java line 87:
> 85:
> 86: JPanel pL = new JPanel();
> 87: pL.setLayout(new GridLayout(2,1));
Suggestion:
pL.setLayout(new GridLayout(2, 1));
test/jdk/javax/swing/JList/bug4193267.java line 92:
> 90:
> 91: JPanel p = new JPanel();
> 92: p.setLayout(new GridLayout(2,1));
Suggestion:
p.setLayout(new GridLayout(2, 1));
test/jdk/javax/swing/JList/bug4193267.java line 103:
> 101:
> 102: fr[1] = new JFrame("Index");
> 103: fr[1].setSize(200,200);
Suggestion:
fr[1].setSize(200, 200);
-------------
PR Review Comment: https://git.openjdk.org/jdk/pull/24588#discussion_r2040252532
PR Review Comment: https://git.openjdk.org/jdk/pull/24588#discussion_r2040252689
PR Review Comment: https://git.openjdk.org/jdk/pull/24588#discussion_r2040252805
PR Review Comment: https://git.openjdk.org/jdk/pull/24588#discussion_r2040252950
More information about the client-libs-dev
mailing list