mirror of
https://github.com/mirror/jdownloader.git
synced 2025-03-04 18:38:24 +00:00
git-svn-id: svn://svn.jdownloader.org/jdownloader/trunk@5914 ebf7c1c2-ba36-0410-9fe8-c592906822b4
This commit is contained in:
parent
2b7aa3a0c8
commit
56e521ad14
Binary file not shown.
Before Width: | Height: | Size: 93 KiB After Width: | Height: | Size: 120 KiB |
Binary file not shown.
Before Width: | Height: | Size: 89 KiB After Width: | Height: | Size: 111 KiB |
@ -338,7 +338,7 @@ public class AccountController extends SubConfiguration implements ActionListene
|
||||
if (ret != null && !JDUtilities.getConfiguration().getBooleanProperty(Configuration.PARAM_USE_GLOBAL_PREMIUM, true)) {
|
||||
if (System.currentTimeMillis() - lastballoon > ballooninterval) {
|
||||
lastballoon = System.currentTimeMillis();
|
||||
Balloon.show("AccountController", JDTheme.II("gui.images.accounts", 32, 32), JDLocale.LF("gui.accountcontroller.globpremdisabled", "Premiumaccounts are globally disabled!"));
|
||||
Balloon.show("AccountController", JDTheme.II("gui.images.accounts", 32, 32), JDLocale.L("gui.accountcontroller.globpremdisabled", "Premiumaccounts are globally disabled!<br/>Click <a href='http://jdownloader.org/knowledge/wiki/gui/premiummenu'>here</a> for help."));
|
||||
}
|
||||
ret = null;
|
||||
}
|
||||
|
@ -19,6 +19,7 @@ import jd.config.SubConfiguration;
|
||||
import jd.gui.skins.simple.components.JLinkButton;
|
||||
import jd.nutils.JDImage;
|
||||
import jd.nutils.Screen;
|
||||
import jd.utils.JDLocale;
|
||||
import jd.utils.JDTheme;
|
||||
import net.miginfocom.swing.MigLayout;
|
||||
|
||||
@ -33,17 +34,10 @@ public class Balloon {
|
||||
private static String LASTSTRING;
|
||||
|
||||
public static void main(String args[]) throws InterruptedException {
|
||||
|
||||
Balloon.show("title", null, JDTheme.II("gui.images.help", 32, 32), "This is <b>just dummy</b><br/> text. you added 5 links");
|
||||
Thread.sleep(1000);
|
||||
Balloon.show("title", null, JDTheme.II("gui.images.help", 32, 32), "This is <b>just dummy</b><br/> text. you added 5 links");
|
||||
|
||||
Thread.sleep(1000);
|
||||
Balloon.show("title", null, JDTheme.II("gui.images.help", 32, 32), "This is <b>just dummy</b><br/> text. you added 5 links");
|
||||
|
||||
Thread.sleep(1000);
|
||||
Balloon.show("title", null, JDTheme.II("gui.images.help", 32, 32), "This is <b>just dummy</b><br/> text. you added 5 links");
|
||||
}
|
||||
Balloon.show("AccountController", JDTheme.II("gui.images.accounts", 32, 32), JDLocale.L("gui.accountcontroller.globpremdisabled", "Premiumaccounts are globally disabled!<br/>Click <a href='http://jdownloader.org/knowledge/wiki/gui/premiummenu'>here</a> for help."));
|
||||
|
||||
// Balloon.show("title", null, JDTheme.II("gui.images.help", 32, 32), "This is <b>just dummy</b><br/> text.<a href='http://www.google.de'>LINK</a> you added 5 links");
|
||||
}
|
||||
|
||||
public static void show(String title, final ImageIcon icon, final String htmlmessage) {
|
||||
if (LASTSTRING != null && LASTSTRING.equals(title + htmlmessage)) return;
|
||||
|
@ -802,6 +802,7 @@ public class SimpleGUI extends JXFrame implements UIInterface, WindowListener {
|
||||
}
|
||||
}
|
||||
logger.info("All downloads finished");
|
||||
// Balloon.show(title, icon, htmlmessage)
|
||||
break;
|
||||
case ControlEvent.CONTROL_DISTRIBUTE_FINISHED:
|
||||
break;
|
||||
|
Loading…
x
Reference in New Issue
Block a user