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:
parent
b4b1329e34
commit
42703a20ed
@ -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();
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user