diff --git a/src/main/java/org/mastodon/app/MastodonIcons.java b/src/main/java/org/mastodon/app/MastodonIcons.java index ef0745869..3cdd150f0 100644 --- a/src/main/java/org/mastodon/app/MastodonIcons.java +++ b/src/main/java/org/mastodon/app/MastodonIcons.java @@ -227,7 +227,7 @@ public class MastodonIcons */ public static final Image MAINWINDOW_BG = - new ImageIcon( MastodonIcons.class.getResource( "MastodonMainWindowBG.png" ) ).getImage(); + new ImageIcon( MastodonIcons.class.getResource( "MastodonMainWindowBG-flipped.png" ) ).getImage(); /* * General use icons. diff --git a/src/main/java/org/mastodon/mamut/launcher/LauncherGUI.java b/src/main/java/org/mastodon/mamut/launcher/LauncherGUI.java index 04ddd7879..d1321edb8 100644 --- a/src/main/java/org/mastodon/mamut/launcher/LauncherGUI.java +++ b/src/main/java/org/mastodon/mamut/launcher/LauncherGUI.java @@ -385,7 +385,8 @@ public void mouseClicked( final java.awt.event.MouseEvent e ) public void paintComponent( final Graphics g ) { super.paintComponent( g ); - g.drawImage( MAINWINDOW_BG, 0, 0, this ); + final int x = getWidth() - MAINWINDOW_BG.getWidth( null ); + g.drawImage( MAINWINDOW_BG, x, 0, this ); } } diff --git a/src/main/resources/org/mastodon/app/MastodonMainWindowBG-flipped.png b/src/main/resources/org/mastodon/app/MastodonMainWindowBG-flipped.png new file mode 100644 index 000000000..e6b180a7f Binary files /dev/null and b/src/main/resources/org/mastodon/app/MastodonMainWindowBG-flipped.png differ