📄 l.java
字号:
{
b b1 = (b)H.elementAt(i2);
if(k1 < b1.e)
{
if(!flag)
{
flag1 = false;
flag = true;
} else
if(flag1)
return;
i2--;
} else
if(k1 > b1.e + b1.b())
{
if(!flag)
{
flag1 = true;
flag = true;
} else
if(!flag1)
return;
i2++;
} else
if(i1 < b1.a)
{
if(!flag)
{
flag1 = false;
flag = true;
} else
if(flag1)
return;
i2--;
} else
if(i1 > b1.a + b1.a())
{
if(!flag)
{
flag1 = true;
flag = true;
} else
if(!flag1)
return;
i2++;
} else
{
d1.a(this, c, this, i1 - b1.a, k1 - b1.e, true);
repaint(0, 0, aa, B);
return;
}
}
if(flag1)
l1++;
else
l1--;
}
}
catch(OutOfMemoryError outofmemoryerror) { }
catch(ArrayIndexOutOfBoundsException arrayindexoutofboundsexception) { }
}
protected void pointerDragged(int i1, int j1)
{
if(j1 != d)
{
f(j1 - d);
d = j1;
}
if(i1 != s)
{
c(i1 - s);
s = i1;
}
}
private void a(Graphics g1)
{
if(n == "Done loading")
k = B;
g1.setColor(0xffffff);
g1.fillRect(0, 0, aa, k);
g1.setColor(0);
if(g1.getClipY() < k && H != null && !H.isEmpty())
{
o o1 = new o(g1);
if(I > 0 || Y > 0)
o1.a(-Y, -I);
boolean flag = false;
boolean flag1 = false;
boolean flag2 = false;
if(g >= H.size())
g = H.size() - 1;
while(g >= 0 && g < H.size())
{
b b1 = (b)H.elementAt(g);
if(flag1)
{
if(b1.e + b1.b() > I)
break;
} else
if(b1.e <= I && b1.e + b1.b() > I)
flag = true;
else
if(flag)
{
if(b1.a == 0)
{
flag1 = true;
continue;
}
} else
if(b1.e + b1.b() <= I)
{
if(r)
{
flag2 = true;
g++;
continue;
}
flag = true;
if(b1.a == 0)
{
flag1 = true;
continue;
}
}
if(flag1)
{
g++;
continue;
}
if(flag2)
break;
g--;
}
r = false;
if(g < 0)
g = 0;
else
if(g >= H.size())
g = H.size() - 1;
int k1 = k();
if(O)
{
ac = k1;
O = false;
}
d d1 = null;
d d2 = null;
if(G != null && G.size() > 0)
{
d2 = (d)G.elementAt(ac);
d1 = (d)G.elementAt(k1);
}
b b2 = null;
boolean flag3 = false;
for(; g < H.size(); g++)
{
b2 = (b)H.elementAt(g);
if(b2.e >= I + k)
{
if(flag3 && b2.a == 0)
break;
flag3 = true;
} else
{
b2.a(o1, d2 != null && d2.a() <= g && g < d2.a() + d2.b());
while(d1 != null && d1.a() <= g && g < d1.a() + d1.b())
{
d1.a(o1, H, ac == k1);
if(k1 < G.size() - 1)
d1 = (d)G.elementAt(++k1);
else
d1 = null;
}
}
}
j = b2 == null || g >= H.size() && b2.e + b2.b() <= (I + k) - y;
if(I > 0 || Y > 0)
o1.a(Y, I);
}
if(n != "Done loading")
{
g1.setColor(0xffffff);
g1.fillRect(0, B - ab - y, aa, ab + y);
if(n != null)
{
g1.setColor(0);
g1.setStrokeStyle(0);
g1.drawRect(0, B - ab - y, aa - 1, ab - 1);
g1.setColor(0xff0000);
g1.setFont(D);
int i1 = L;
String s1 = n;
int j1 = (i1 * (aa - 2)) / 100;
g1.fillRect(1, (B - ab - y) + 1, j1, ab - 2);
if(i1 > 0)
{
g1.setColor(0xffffff);
g1.setClip(1, (B - ab - y) + 1, j1, ab - 2);
g1.drawString(s1, 2, (B - ab - y) + 1, 20);
}
if(i1 < 100)
{
g1.setColor(0xff0000);
g1.setClip(1 + j1, (B - ab - y) + 1, aa - 2 - j1, ab - 2);
g1.drawString(s1, 2, (B - ab - y) + 1, 20);
}
}
}
}
protected void paint(Graphics g1)
{
try
{
if(U == null)
{
a(g1);
} else
{
U.setClip(g1.getClipX(), g1.getClipY(), g1.getClipWidth(), g1.getClipHeight());
a(U);
g1.drawImage(M, 0, 0, 20);
}
}
catch(Throwable throwable) { }
}
private int k()
{
int i1 = ac;
if(G != null && G.size() > 0 && g < H.size())
try
{
boolean flag = ((d)G.elementAt(i1)).a() < g;
label0:
do
{
d d1 = (d)G.elementAt(i1);
int j1 = d1.a();
if(j1 == g)
break;
if(j1 < g)
{
for(int k1 = 1; k1 < d1.b(); k1++)
if(++j1 == g)
break label0;
if(!flag)
{
if(i1 < G.size() - 1)
i1++;
break;
}
if(i1 >= G.size() - 1)
break;
i1++;
continue;
}
if(flag || i1 <= 0)
break;
i1--;
} while(true);
}
catch(Exception exception) { }
return i1;
}
void a(String s1, int i1, Throwable throwable)
{
if(L != i1 || n != s1 || throwable != null)
{
L = i1;
if(throwable != null)
{
String s2 = throwable.getMessage();
if(s2 == null)
if(throwable instanceof OutOfMemoryError)
s2 = "Low memory, page truncated";
else
if(throwable instanceof IOException)
{
if(i1 == 0 || e == 0)
s2 = "Could not connect to server";
} else
{
s2 = throwable.toString();
}
if(s2 != null)
if(isShown())
{
l.setString(s2);
c.setCurrent(l, this);
} else
{
S = s2;
}
n = "Done loading";
} else
{
n = s1;
}
repaint(0, k, aa, ab);
}
}
protected void showNotify()
{
if(S != null)
{
l.setString(S);
S = null;
c.setCurrent(l, this);
}
}
private boolean c(String s1)
{
try
{
if(H != null)
{
y y1 = null;
Enumeration enumeration = H.elements();
while(enumeration.hasMoreElements())
{
b b1 = (b)enumeration.nextElement();
if(!(b1 instanceof y))
continue;
if(b1.e + b1.b() > I)
{
if(y1 == null || b1.e < I + k)
y1 = (y)b1;
break;
}
y1 = (y)b1;
}
if(y1 != null)
{
String s2 = y1.d;
if(!s2.startsWith(s1))
s2 = s1 + s2;
int i1 = s2.indexOf(35);
if(i1 >= 0)
s2 = s2.substring(0, i1);
b(s2);
return true;
}
}
}
catch(Exception exception) { }
return false;
}
public boolean s()
{
return c("fullsize:");
}
public void b(Command command)
{
ae = command;
}
void t()
{
if(ae != null)
addCommand(ae);
}
public boolean d()
{
return c("ocr:");
}
public void a(Command command)
{
t = command;
}
void q()
{
if(t != null)
addCommand(t);
}
public void a(Command command, Command command1)
{
P = command;
h = command1;
}
static
{
D = Font.getFont(64, 0, 8);
ab = D.getHeight() + 2;
}
}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -