default background color for internal viewer

This commit is contained in:
Jindra Petk
2013-09-01 09:32:00 +02:00
parent 974f18862a
commit 4299974f7e

View File

@@ -56,7 +56,7 @@ public class ImagePanel extends JPanel implements ActionListener {
label.setHorizontalAlignment(JLabel.CENTER);
label.setOpaque(true);
setOpaque(true);
setBackground(Color.white);
setBackground(View.DEFAULT_BACKGROUND_COLOR);
add(label, BorderLayout.CENTER);
JPanel bottomPanel = new JPanel(new BorderLayout());