Use the same JLabel Logo on all Swing windows

This commit is contained in:
Grische
2022-03-14 11:29:28 +00:00
committed by harlekin
parent 1005b4afc4
commit 7b0a8448de
3 changed files with 57 additions and 40 deletions

View File

@@ -231,8 +231,7 @@ public class Working implements Activity {
last_frame_panel.add(lastRenderTime);
last_frame_panel.add(lastRender);
ImageIcon image = new ImageIcon(getClass().getResource("/sheepit-logo.png"));
JLabel labelImage = new JLabel(image);
JLabel labelImage = GuiSwing.createLogoWithWatermark();
labelImage.setAlignmentX(Component.CENTER_ALIGNMENT);
parent.getContentPanel().add(labelImage);