Skip to content

Commit 46b6cc3

Browse files
author
duke
committed
Backport 018017a9175cbfe02e9db0db402ca2aa689ac587
1 parent ef27cae commit 46b6cc3

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

test/jdk/javax/swing/JComponent/7154030/bug7154030.java

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -74,6 +74,8 @@ public static void main(String[] args) throws Exception {
7474
@Override
7575
public void run() {
7676
JDesktopPane desktop = new JDesktopPane();
77+
desktop.setBackground(Color.WHITE);
78+
desktop.setForeground(Color.BLACK);
7779
button = new JButton("button");
7880
frame = new JFrame();
7981
frame.setUndecorated(true);

0 commit comments

Comments
 (0)