mirror of
https://github.com/openjdk/jdk.git
synced 2026-03-01 11:40:33 +00:00
8081484: [TEST_BUG]Test javax/swing/plaf/basic/6866751/bug6866751.java fails
Reviewed-by: alexsch, azvegint
This commit is contained in:
parent
2e3073a8ab
commit
dfbb82e3f9
@ -27,6 +27,7 @@
|
||||
@author Semyon Sadetsky
|
||||
*/
|
||||
import javax.swing.*;
|
||||
import java.awt.*;
|
||||
|
||||
public class bug6866751 {
|
||||
private static JFrame frame;
|
||||
@ -54,8 +55,10 @@ public class bug6866751 {
|
||||
caretX + 1);
|
||||
}
|
||||
area.putClientProperty("caretWidth", 10);
|
||||
frame.pack();
|
||||
}
|
||||
});
|
||||
new Robot().waitForIdle();
|
||||
SwingUtilities.invokeAndWait(new Runnable() {
|
||||
public void run() {
|
||||
int width = area.getWidth();
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user