mirror of
https://github.com/bancika/diy-layout-creator
synced 2026-11-10 09:12:09 +10:00
minor change
This commit is contained in:
@@ -40,8 +40,6 @@ import org.diylc.swing.ActionFactory;
|
|||||||
import org.diylc.swing.ISwingUI;
|
import org.diylc.swing.ISwingUI;
|
||||||
import org.diylc.swing.plugins.help.HelpMenuPlugin;
|
import org.diylc.swing.plugins.help.HelpMenuPlugin;
|
||||||
|
|
||||||
import com.lowagie.text.Font;
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Mini toolbar with common actions
|
* Mini toolbar with common actions
|
||||||
*
|
*
|
||||||
@@ -57,6 +55,8 @@ public class ActionBarPlugin implements IPlugIn {
|
|||||||
private ConfigToolbar configToolbar;
|
private ConfigToolbar configToolbar;
|
||||||
private JLabel donateLabel;
|
private JLabel donateLabel;
|
||||||
|
|
||||||
|
private static final String DONATE_HTML = "<html><u>Enjoying DIYLC? Click here to buy me a coffe :)</u></html>";
|
||||||
|
|
||||||
public ActionBarPlugin(ISwingUI swingUI) {
|
public ActionBarPlugin(ISwingUI swingUI) {
|
||||||
this.swingUI = swingUI;
|
this.swingUI = swingUI;
|
||||||
}
|
}
|
||||||
@@ -100,7 +100,7 @@ public class ActionBarPlugin implements IPlugIn {
|
|||||||
|
|
||||||
public JLabel getDonateLabel() {
|
public JLabel getDonateLabel() {
|
||||||
if (donateLabel == null) {
|
if (donateLabel == null) {
|
||||||
donateLabel = new JLabel("<html><u>Enjoying DIYLC? Click here to buy me a coffe :)</u></html>");
|
donateLabel = new JLabel(DONATE_HTML);
|
||||||
donateLabel.setForeground(Color.blue);
|
donateLabel.setForeground(Color.blue);
|
||||||
donateLabel.setIcon(IconLoader.Donate.getIcon());
|
donateLabel.setIcon(IconLoader.Donate.getIcon());
|
||||||
donateLabel.setCursor(Cursor.getPredefinedCursor(Cursor.HAND_CURSOR));
|
donateLabel.setCursor(Cursor.getPredefinedCursor(Cursor.HAND_CURSOR));
|
||||||
|
|||||||
Reference in New Issue
Block a user