mirror of
https://github.com/mirror/jdownloader.git
synced 2025-03-03 09:57:30 +00:00
git-svn-id: svn://svn.jdownloader.org/jdownloader/trunk@5584 ebf7c1c2-ba36-0410-9fe8-c592906822b4
This commit is contained in:
parent
97dab9cf6f
commit
e32597bf9c
@ -83,18 +83,6 @@ import org.w3c.dom.NodeList;
|
||||
*/
|
||||
public class JAntiCaptcha {
|
||||
|
||||
/**
|
||||
* Static counter. Falls zu debug zecen mal global ein counter gebraucht
|
||||
* wird
|
||||
*/
|
||||
public static int counter = 0;
|
||||
|
||||
/**
|
||||
* Static counter. Falls zu debug zecen mal global ein counter gebraucht
|
||||
* wird
|
||||
*/
|
||||
public static int counterB = 0;
|
||||
|
||||
/**
|
||||
* Logger
|
||||
*/
|
||||
@ -301,22 +289,18 @@ public class JAntiCaptcha {
|
||||
* Fenster die eigentlich nur zur Entwicklung sind um Basic GUI Elemente zu
|
||||
* haben
|
||||
*/
|
||||
// private BasicWindow bw1;
|
||||
private BasicWindow bw2;
|
||||
|
||||
private BasicWindow bw3;
|
||||
|
||||
@SuppressWarnings("unused")
|
||||
private BasicWindow bw4;
|
||||
|
||||
private JFrame f;
|
||||
|
||||
/**
|
||||
* Bildtyp. Falls dieser von jpg unterschiedlich ist, muss zuerst
|
||||
* konvertiert werden.
|
||||
*/
|
||||
|
||||
private String imageType;
|
||||
|
||||
/**
|
||||
* jas Script Instanz. Sie verarbneitet das JACScript und speichert die
|
||||
* Parameter
|
||||
@ -347,10 +331,6 @@ public class JAntiCaptcha {
|
||||
|
||||
private boolean showDebugGui = false;
|
||||
|
||||
/**
|
||||
* Pfad zum SourceBild (Standalone). Wird aus der jacinfo.xml gelesen
|
||||
*/
|
||||
// private String sourceImage;
|
||||
private Vector<ScrollPaneWindow> spw = new Vector<ScrollPaneWindow>();
|
||||
|
||||
private Captcha workingCaptcha;
|
||||
@ -361,8 +341,6 @@ public class JAntiCaptcha {
|
||||
return extern;
|
||||
}
|
||||
|
||||
// private String os;
|
||||
|
||||
private String command;
|
||||
|
||||
private String dstFile;
|
||||
@ -556,7 +534,6 @@ public class JAntiCaptcha {
|
||||
String ext = JDIO.getFileExtension(this.srcFile);
|
||||
ImageIO.write((RenderedImage) this.sourceImage, ext, file);
|
||||
} catch (IOException e) {
|
||||
// TODO Auto-generated catch block
|
||||
JDLogger.exception(e);
|
||||
return null;
|
||||
}
|
||||
@ -1434,7 +1411,6 @@ public class JAntiCaptcha {
|
||||
try {
|
||||
image = ImageIO.read(element);
|
||||
} catch (IOException e) {
|
||||
// TODO Auto-generated catch block
|
||||
jd.controlling.JDLogger.getLogger().log(java.util.logging.Level.SEVERE, "Exception occured", e);
|
||||
}
|
||||
System.out.println(element.getAbsolutePath());
|
||||
@ -1646,11 +1622,11 @@ public class JAntiCaptcha {
|
||||
}
|
||||
|
||||
private void setLetterMaxNum(int parseInt) {
|
||||
|
||||
// TODO ?
|
||||
}
|
||||
|
||||
private void setLetterMinNum(int parseInt) {
|
||||
|
||||
// TODO ?
|
||||
}
|
||||
|
||||
/**
|
||||
|
@ -40,23 +40,21 @@ public class BasicWindow extends JFrame {
|
||||
private static final long serialVersionUID = 8474181150357563979L;
|
||||
|
||||
/**
|
||||
* Zeigt ein Image in einem neuen fenster an.Die fenster Positionieren sich
|
||||
* von Links oben nach rechts uten von selbst
|
||||
* Zeigt ein Image in einem neuen Fenster an.
|
||||
*
|
||||
* @param img
|
||||
* @return BasicWindow Das neue fenster
|
||||
* @return Das neue fenster
|
||||
*/
|
||||
public static BasicWindow showImage(Image img) {
|
||||
return BasicWindow.showImage(img, img.toString());
|
||||
}
|
||||
|
||||
/**
|
||||
* Zeigt ein image in einem Neuen fenster an. Das fenster positioniert sich
|
||||
* im nächsten Freien bereich
|
||||
* Zeigt ein Image in einem neuen Fenster an.
|
||||
*
|
||||
* @param img
|
||||
* @param title
|
||||
* @return BasicWindow das neue fenster
|
||||
* @return Das neue Fenster
|
||||
*/
|
||||
public static BasicWindow showImage(Image img, String title) {
|
||||
BasicWindow w = new BasicWindow();
|
||||
|
@ -17,7 +17,6 @@ import jd.gui.skins.simple.SimpleGUI;
|
||||
public class JDLabelListRenderer extends JLabel implements ListCellRenderer {
|
||||
|
||||
private static final long serialVersionUID = 3607383089555373774L;
|
||||
private boolean printClosedImage=false;
|
||||
|
||||
public JDLabelListRenderer() {
|
||||
if (SimpleGUI.isSubstance()) {
|
||||
@ -27,11 +26,6 @@ public class JDLabelListRenderer extends JLabel implements ListCellRenderer {
|
||||
}
|
||||
|
||||
setHorizontalTextPosition(JLabel.RIGHT);
|
||||
|
||||
}
|
||||
|
||||
public JDLabelListRenderer(boolean b) {
|
||||
this.printClosedImage=b;
|
||||
}
|
||||
|
||||
public Component getListCellRendererComponent(JList list, Object value, int index, boolean isSelected, boolean cellHasFocus) {
|
||||
@ -56,16 +50,15 @@ public class JDLabelListRenderer extends JLabel implements ListCellRenderer {
|
||||
}
|
||||
}
|
||||
|
||||
if (index == -1&&!printClosedImage) {
|
||||
if (index == -1) {
|
||||
setIcon(null);
|
||||
setText(((JDLabelContainer) value).getLabel());
|
||||
setFont(list.getFont());
|
||||
} else {
|
||||
setIcon(((JDLabelContainer) value).getIcon());
|
||||
setText(((JDLabelContainer) value).getLabel());
|
||||
setFont(list.getFont());
|
||||
}
|
||||
this.setToolTipText(((JDLabelContainer) value).getLabel());
|
||||
setText(((JDLabelContainer) value).getLabel());
|
||||
setFont(list.getFont());
|
||||
setToolTipText(((JDLabelContainer) value).getLabel());
|
||||
|
||||
return this;
|
||||
}
|
||||
}
|
||||
|
@ -221,7 +221,8 @@ public class JDLightTray extends PluginOptional implements MouseListener, MouseM
|
||||
}
|
||||
|
||||
public void mouseMoved(MouseEvent e) {
|
||||
if (trayIconPopup != null && trayIconPopup.isVisible() && !subConfig.getBooleanProperty(PROPERTY_TOOLTIP, false)) return;
|
||||
if (subConfig.getBooleanProperty(PROPERTY_TOOLTIP, false)) return;
|
||||
if (trayIconPopup != null && trayIconPopup.isVisible()) return;
|
||||
tit.show(e);
|
||||
}
|
||||
|
||||
|
@ -170,7 +170,7 @@ public class TrayIconPopup extends JWindow implements MouseListener, MouseMotion
|
||||
icon.setPreferredSize(new Dimension(MENUENTRY_ICON_WIDTH, MENUENTRY_HEIGHT));
|
||||
}
|
||||
|
||||
// Checken ob es ein neues Update verf<EFBFBD>gbar ist
|
||||
// Checken ob es ein neues Update verfügbar ist
|
||||
private boolean checkUpdate(Point p) {
|
||||
if (mouseOverRow != getRow(p)) {
|
||||
mouseOverRow = getRow(p);
|
||||
|
@ -1,8 +0,0 @@
|
||||
[Dolphin]
|
||||
AdditionalInfo=33
|
||||
Sorting=6
|
||||
Timestamp=2009,2,1,21,7,30
|
||||
ViewMode=1
|
||||
|
||||
[Settings]
|
||||
ShowDotFiles=true
|
@ -1,3 +0,0 @@
|
||||
#!/bin/sh
|
||||
APPDIR=`dirname $0`;
|
||||
java -Xmx256M -cp "$APPDIR/../../src/:$APPDIR/../../bin:gwt-user.jar:gwt-dev-linux.jar:smartgwt.jar" com.google.gwt.dev.GWTCompiler -out "$APPDIR/output" "$@" jd.plugins.optional.webinterface.gwt.jd;
|
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Loading…
x
Reference in New Issue
Block a user