From 0c324fa55899c1852a5f2f5c6737034cd0648a08 Mon Sep 17 00:00:00 2001 From: Vhati Date: Thu, 5 Sep 2013 13:58:15 -0400 Subject: [PATCH] Made the update button green when enabled --- src/main/java/net/vhati/modmanager/ui/ManagerFrame.java | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/main/java/net/vhati/modmanager/ui/ManagerFrame.java b/src/main/java/net/vhati/modmanager/ui/ManagerFrame.java index 4289bd2..75f04fe 100644 --- a/src/main/java/net/vhati/modmanager/ui/ManagerFrame.java +++ b/src/main/java/net/vhati/modmanager/ui/ManagerFrame.java @@ -1,6 +1,7 @@ package net.vhati.modmanager.ui; import java.awt.BorderLayout; +import java.awt.Color; import java.awt.Component; import java.awt.Desktop; import java.awt.Dimension; @@ -208,6 +209,7 @@ public class ManagerFrame extends JFrame implements ActionListener, HashObserver updateBtn = new JButton("Update"); updateBtn.setMargin( actionInsets ); + updateBtn.setForeground( new Color(0, 124, 0) ); updateBtn.addMouseListener( new StatusbarMouseListener( this, String.format( "Show info about the latest version of %s.", appName ) ) ); updateBtn.addActionListener(this); updateBtn.setEnabled( false );