<Swing Dev> RFR: 8160720: [TEST_BUG] javax/swing/SwingUtilities/TestBadBreak/TestBadBreak.java

Alexey Ivanov aivanov at openjdk.java.net
Wed Feb 10 23:06:36 UTC 2021


On Wed, 10 Feb 2021 21:37:35 GMT, Sergey Bylokhov <serb at openjdk.org> wrote:

>> And why do you need both? The test does not use the robot, so the test can show all windows at once.
>
> BTW since the robot is not used it is unclear how the setUndecorated:true/false and setLocationRelativeTo() may affect the test.

Since the text is rendered in JLabel and it's rendered into a BufferedImage, do we need the frame at all?
If no frame is shown, the test can be headless, can't it?

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

PR: https://git.openjdk.java.net/jdk/pull/2502


More information about the swing-dev mailing list