RFR: 8316389: Open source few AWT applet tests [v4]

Alexey Ivanov aivanov at openjdk.org
Mon Sep 25 17:29:15 UTC 2023


On Mon, 25 Sep 2023 16:48:51 GMT, Alexander Zvegintsev <azvegint at openjdk.org> wrote:

>> test/jdk/java/awt/Frame/FrameRepackTest.java line 134:
>> 
>>> 132:         north.setLayout(new BorderLayout(2, 2));
>>> 133:         north.add("North", new Label(" This panel is always displayed"));
>>> 134:         north.add("Center", new Label(" it is a test "));
>> 
>> Suggestion:
>> 
>>         north.add("North", new Label("This panel is always displayed"));
>>         north.add("Center", new Label("it is a test "));
>> 
>> Is the space used to offset the text from the edge?
>
> No idea. So removed.

Yeah, it was it. Now the text is flushed to the left. Fine either way.

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

PR Review Comment: https://git.openjdk.org/jdk/pull/15787#discussion_r1336191016


More information about the client-libs-dev mailing list