mirror of
https://github.com/mirror/jdownloader.git
synced 2024-11-26 21:40:38 +00:00
git-svn-id: svn://svn.jdownloader.org/jdownloader/trunk@49857 ebf7c1c2-ba36-0410-9fe8-c592906822b4
Former-commit-id: c4a5b94c6fb4447e0a78abddf24369a2fbce93a8
This commit is contained in:
parent
8915239d02
commit
77bc1cdfb5
@ -20,7 +20,6 @@ import org.appwork.storage.config.JsonConfig;
|
||||
import org.appwork.swing.components.tooltips.ExtTooltip;
|
||||
import org.appwork.utils.Application;
|
||||
import org.appwork.utils.os.CrossSystem;
|
||||
import org.jdownloader.DomainInfo;
|
||||
import org.jdownloader.actions.AppAction;
|
||||
import org.jdownloader.captcha.v2.ChallengeSolverConfig;
|
||||
import org.jdownloader.captcha.v2.solver.jac.JacSolverService;
|
||||
@ -135,7 +134,7 @@ public class ImageTyperzSolverService extends AbstractSolverService implements S
|
||||
services.add(new ServiceCollection<ImageTyperzCaptchaSolver>() {
|
||||
@Override
|
||||
public Icon getIcon() {
|
||||
return DomainInfo.getInstance("ImageTyperz.com").getFavIcon();
|
||||
return ServicePanelImageTyperzTooltip.DOMAININFO.getFavIcon();
|
||||
}
|
||||
|
||||
@Override
|
||||
|
@ -25,12 +25,12 @@ import org.jdownloader.images.NewTheme;
|
||||
import org.jdownloader.updatev2.gui.LAFOptions;
|
||||
|
||||
public class ServicePanelImageTyperzTooltip extends PanelToolTip {
|
||||
private Color color;
|
||||
private Color color;
|
||||
|
||||
private ServicePanel owner;
|
||||
private ServicePanel owner;
|
||||
|
||||
private JComponent activeComponent;
|
||||
private final DomainInfo domainInfo = DomainInfo.getInstance("ImageTyperz.com");
|
||||
private JComponent activeComponent;
|
||||
public static final DomainInfo DOMAININFO = DomainInfo.getInstance("ImageTyperz.com");
|
||||
|
||||
public Point getDesiredLocation(JComponent activeComponent, Point ttPosition) {
|
||||
if (activeComponent != null) {
|
||||
@ -51,7 +51,7 @@ public class ServicePanelImageTyperzTooltip extends PanelToolTip {
|
||||
JProgressBar progress = new JProgressBar();
|
||||
progress.setIndeterminate(true);
|
||||
panel.setLayout(new MigLayout("ins 0,wrap 1", "[grow,fill]", "[]"));
|
||||
JLabel header = new JLabel("ImageTyperz Solver", domainInfo.getFavIcon(), JLabel.LEFT);
|
||||
JLabel header = new JLabel("ImageTyperz Solver", DOMAININFO.getFavIcon(), JLabel.LEFT);
|
||||
header.setBorder(BorderFactory.createMatteBorder(0, 0, 1, 0, LAFOptions.getInstance().getColorForTooltipForeground()));
|
||||
SwingUtils.toBold(header);
|
||||
header.setForeground(LAFOptions.getInstance().getColorForTooltipForeground());
|
||||
@ -70,7 +70,7 @@ public class ServicePanelImageTyperzTooltip extends PanelToolTip {
|
||||
// panel.setPreferredSize(null);
|
||||
if (!account.isValid()) {
|
||||
panel.setLayout(new MigLayout("ins 0,wrap 1", "[grow,fill]", "[]"));
|
||||
JLabel header = new JLabel("ImageTyperz.com Captcha Solver", domainInfo.getFavIcon(), JLabel.LEFT);
|
||||
JLabel header = new JLabel("ImageTyperz.com Captcha Solver", DOMAININFO.getFavIcon(), JLabel.LEFT);
|
||||
header.setBorder(BorderFactory.createMatteBorder(0, 0, 1, 0, LAFOptions.getInstance().getColorForTooltipForeground()));
|
||||
SwingUtils.toBold(header);
|
||||
header.setForeground(LAFOptions.getInstance().getColorForTooltipForeground());
|
||||
@ -79,7 +79,7 @@ public class ServicePanelImageTyperzTooltip extends PanelToolTip {
|
||||
panel.add(lbl(account.getError()), "gapleft 22");
|
||||
} else {
|
||||
panel.setLayout(new MigLayout("ins 0,wrap 2", "[][grow,align right]", "[]0"));
|
||||
JLabel header = new JLabel("ImageTyperz.com Captcha Solver", domainInfo.getFavIcon(), JLabel.LEFT);
|
||||
JLabel header = new JLabel("ImageTyperz.com Captcha Solver", DOMAININFO.getFavIcon(), JLabel.LEFT);
|
||||
header.setBorder(BorderFactory.createMatteBorder(0, 0, 1, 0, LAFOptions.getInstance().getColorForTooltipForeground()));
|
||||
SwingUtils.toBold(header);
|
||||
header.setForeground(LAFOptions.getInstance().getColorForTooltipForeground());
|
||||
|
Loading…
Reference in New Issue
Block a user