mirror of
https://github.com/bancika/diy-layout-creator
synced 2026-11-10 17:22:09 +10:00
changed donate to html
This commit is contained in:
@@ -40,6 +40,8 @@ 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
|
||||||
*
|
*
|
||||||
@@ -98,10 +100,10 @@ public class ActionBarPlugin implements IPlugIn {
|
|||||||
|
|
||||||
public JLabel getDonateLabel() {
|
public JLabel getDonateLabel() {
|
||||||
if (donateLabel == null) {
|
if (donateLabel == null) {
|
||||||
donateLabel = new JLabel("Enjoying DIYLC? Buy me a coffe :)");
|
donateLabel = new JLabel("<html><u>Enjoying DIYLC? Click here to buy me a coffe :)</u></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));
|
||||||
donateLabel.addMouseListener(new MouseAdapter() {
|
donateLabel.addMouseListener(new MouseAdapter() {
|
||||||
@Override
|
@Override
|
||||||
public void mouseClicked(MouseEvent e) {
|
public void mouseClicked(MouseEvent e) {
|
||||||
|
|||||||
Reference in New Issue
Block a user