8344338: javax/swing/JTextArea/bug4265784.java fails on Ubuntu 24.04.1
Reviewed-by: achung, kizune
This commit is contained in:
parent
db44e97c5d
commit
e21d06f488
@ -1,5 +1,5 @@
|
||||
/*
|
||||
* Copyright (c) 1999, 2023, Oracle and/or its affiliates. All rights reserved.
|
||||
* Copyright (c) 1999, 2024, Oracle and/or its affiliates. All rights reserved.
|
||||
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
|
||||
*
|
||||
* This code is free software; you can redistribute it and/or modify it
|
||||
@ -50,7 +50,7 @@ public class bug4265784 {
|
||||
try {
|
||||
SwingUtilities.invokeAndWait(() -> {
|
||||
frame = new JFrame("bug4265784");
|
||||
ta = new JTextArea();
|
||||
ta = new JTextArea("some text", 50, 50);
|
||||
frame.getContentPane().add(ta);
|
||||
frame.pack();
|
||||
frame.setLocationRelativeTo(null);
|
||||
|
Loading…
Reference in New Issue
Block a user