1
0
mirror of https://gitlab.com/annimon/imagetagger.git synced 2024-09-20 05:44:20 +03:00

Fullscreen dark background as default

This commit is contained in:
aNNiMON 2023-02-02 18:31:56 +02:00
parent b4b1329e34
commit 42703a20ed

View File

@ -46,6 +46,10 @@ public class Main extends JFrame {
imageProcessor.populateFiles();
tagPanel.enableSupportedTags(imageProcessor.getTags());
final Color background = new Color(40, 40, 40);
tagPanel.setBackground(background);
imagePanel.setBackground(background);
setPreferredSize(new Dimension(800, 600));
setLayout(new BorderLayout());
add(tagPanel, BorderLayout.SOUTH);
@ -58,6 +62,7 @@ public class Main extends JFrame {
});
setResizable(true);
setLocationByPlatform(true);
setExtendedState(getExtendedState() | JFrame.MAXIMIZED_BOTH);
setDefaultCloseOperation(EXIT_ON_CLOSE);
pack();
}