📄 n.java
字号:
}
public static void a(Graphics g1, int l, int i1, int j1, int k1, int l1)
{
if (_DD14 != _B_B._BB[14])
return;
if (j1 / 100 != 0)
{
g1.setClip(l, i1, 6, 7);
g1.drawImage(c_javax_microedition_lcdui_Image_static, l - Math.abs((j1 / 100) * 6), i1 - l1 * 7, 0);
}
if (j1 / 10 != 0)
{
g1.setClip(l + 5, i1, 6, 7);
g1.drawImage(c_javax_microedition_lcdui_Image_static, (l + 5) - Math.abs(((j1 % 100) / 10) * 6), i1 - l1 * 7, 0);
}
g1.setClip(l + 10, i1, 6, 7);
g1.drawImage(c_javax_microedition_lcdui_Image_static, (l + 10) - Math.abs(((j1 % 100 % 10) / 1) * 6), i1 - l1 * 7, 0);
switch (k1)
{
case 0: // '\0'
default:
break;
case 1: // '\001'
int i2;
if (j1 / 100 != 0)
i2 = l - 5;
else
if (j1 / 10 != 0)
i2 = (l + 6) - 5;
else
i2 = (l + 11) - 5;
if (j1 < 0)
{
g1.setClip(i2, i1 + 1, 5, 5);
g1.drawImage(d_javax_microedition_lcdui_Image_static, i2 - 5, (i1 + 1) - l1 * 5, 0);
}
break;
case 2: // '\002'
int j2;
if (j1 / 100 != 0)
j2 = l - 5;
else
if (j1 / 10 != 0)
j2 = (l + 6) - 5;
else
j2 = (l + 11) - 5;
if (j1 >= 0)
{
g1.setClip(j2, i1 + 1, 5, 5);
g1.drawImage(d_javax_microedition_lcdui_Image_static, j2, (i1 + 1) - l1 * 5, 0);
}
break;
case 3: // '\003'
int k2;
if (j1 / 100 != 0)
k2 = l + 5;
else
if (j1 / 10 != 0)
k2 = l + 10;
else
k2 = l + 15;
g1.setClip(k2, i1, 7, 7);
g1.drawImage(c_javax_microedition_lcdui_Image_static, k2 - 68, i1, 0);
break;
}
}
public static void a(Graphics g1, int l, int i1, int j1, int k1, int l1, int i2)
{
if (_DD15 != _B_B._BB[15])
{
return;
} else
{
a(g1, l - 3 - 15, i1, j1, l1, i2);
g1.setClip(l - 3, i1, 7, 7);
g1.drawImage(c_javax_microedition_lcdui_Image_static, l - 3 - 75, i1, 0);
a(g1, l + 3, i1, k1, l1, i2);
return;
}
}
public static void a(Graphics g1, String s, int l, int i1, int j1, int k1, int l1, int i2,
int j2)
{
if (_DD15 != _B_B._BB[15])
{
return;
} else
{
a(g1, s, 20, 0, i1, j1, 1, l1, true, 0);
a(g1, (i1 + k1) - 15, j1 + 4, l, i2, j2);
return;
}
}
public static int a(Graphics g1, String s, int l, int i1, int j1, int k1, int l1, int i2,
boolean flag, int j2)
{
if (_DD14 != _B_B._BB[14])
{
return 0;
} else
{
int k2 = 0;
int l2 = 0;
int i3 = e.a;
int j3 = e.b;
return a(g1, s, l, i1, j1, k1, l1, k2, l2, i3, j3, i2, flag, j2);
}
}
public static int a(Graphics g1, String s, int l, int i1, int j1, int k1, int l1, int i2,
int j2, int k2, int l2, int i3, boolean flag, int j3)
{
if (_DD15 != _B_B._BB[15])
return 0;
g1.setClip(i2, j2, k2, l2);
for (int k3 = 0; k3 < s.length() / l + 1; k3++)
{
if (j1 < i2 || j1 > i2 + k2 || k1 + k3 * (e.d + l1) + 0 < j2 - e.d || k1 + k3 * (e.d + l1) + 0 > j2 + l2 + e.d)
continue;
if (k3 < s.length() / l)
{
if (flag)
{
g1.setColor(j3);
g1.drawSubstring(s, k3 * l, l, j1 - 1, k1 + k3 * (e.d + l1) + 0, i1);
g1.drawSubstring(s, k3 * l, l, j1 + 1, k1 + k3 * (e.d + l1) + 0, i1);
g1.drawSubstring(s, k3 * l, l, j1, (k1 - 1) + k3 * (e.d + l1) + 0, i1);
g1.drawSubstring(s, k3 * l, l, j1, k1 + 1 + k3 * (e.d + l1) + 0, i1);
}
g1.setColor(i3);
g1.drawSubstring(s, k3 * l, l, j1, k1 + k3 * (e.d + l1) + 0, i1);
continue;
}
if (flag)
{
g1.setColor(j3);
g1.drawSubstring(s, k3 * l, s.length() - k3 * l, j1 - 1, k1 + k3 * (e.d + l1) + 0, i1);
g1.drawSubstring(s, k3 * l, s.length() - k3 * l, j1 + 1, k1 + k3 * (e.d + l1) + 0, i1);
g1.drawSubstring(s, k3 * l, s.length() - k3 * l, j1, (k1 - 1) + k3 * (e.d + l1) + 0, i1);
g1.drawSubstring(s, k3 * l, s.length() - k3 * l, j1, k1 + 1 + k3 * (e.d + l1) + 0, i1);
}
g1.setColor(i3);
g1.drawSubstring(s, k3 * l, s.length() - k3 * l, j1, k1 + k3 * (e.d + l1) + 0, i1);
}
return s.length() / l + 1;
}
public static int b(Graphics g1, String s, int l, int i1, int j1, int k1, int l1, int i2,
int j2, int k2, int l2, int i3, boolean flag, int j3)
{
if (_DD17 != _B_B._BB[17])
return 0;
int k3 = l * e.c;
int l3 = 0;
int i4 = 0;
int j4 = 0;
int k4 = 0;
StringBuffer stringbuffer = new StringBuffer();
g1.setClip(i2, j2, k2, l2);
do
{
if (l3 >= s.length())
break;
char c1 = s.charAt(l3++);
if (c1 == '$')
{
if (k1 + j4 + e.d > j2 && k1 + j4 < j2 + l2)
{
if (flag)
{
g1.setColor(j3);
g1.drawString(stringbuffer.toString(), j1 - 1, k1 + j4, i1);
g1.drawString(stringbuffer.toString(), j1 + 1, k1 + j4, i1);
g1.drawString(stringbuffer.toString(), j1, (k1 - 1) + j4, i1);
g1.drawString(stringbuffer.toString(), j1, k1 + 1 + j4, i1);
}
g1.setColor(i3);
g1.drawString(stringbuffer.toString(), j1, k1 + j4, i1);
}
stringbuffer.delete(0, stringbuffer.length());
i4 = 0;
j4 += e.d + l1;
k4++;
} else
{
i4 += a_javax_microedition_lcdui_Font_static.charWidth(c1);
stringbuffer.append(c1);
if (i4 < k3)
{
if (l3 == s.length())
{
if (k1 + j4 + e.d > j2 && k1 + j4 < j2 + l2)
{
if (flag)
{
g1.setColor(j3);
g1.drawString(stringbuffer.toString(), j1 - 1, k1 + j4, i1);
g1.drawString(stringbuffer.toString(), j1 + 1, k1 + j4, i1);
g1.drawString(stringbuffer.toString(), j1, (k1 - 1) + j4, i1);
g1.drawString(stringbuffer.toString(), j1, k1 + 1 + j4, i1);
}
g1.setColor(i3);
g1.drawString(stringbuffer.toString(), j1, k1 + j4, i1);
}
stringbuffer.delete(0, stringbuffer.length());
k4++;
}
} else
{
if (k1 + j4 + e.d > j2 && k1 + j4 < j2 + l2)
{
if (flag)
{
g1.setColor(j3);
g1.drawString(stringbuffer.toString(), j1 - 1, k1 + j4, i1);
g1.drawString(stringbuffer.toString(), j1 + 1, k1 + j4, i1);
g1.drawString(stringbuffer.toString(), j1, (k1 - 1) + j4, i1);
g1.drawString(stringbuffer.toString(), j1, k1 + 1 + j4, i1);
}
g1.setColor(i3);
g1.drawString(stringbuffer.toString(), j1, k1 + j4, i1);
}
stringbuffer.delete(0, stringbuffer.length());
i4 = 0;
j4 += e.d + l1;
k4++;
}
}
} while (true);
return k4;
}
public static void a(Graphics g1, int l, int i1, int j1, int k1, boolean flag)
{
if (_DD17 != _B_B._BB[17])
return;
if (k1 < 16)
k1 = 16;
if (j1 % 2 == 1)
j1++;
if (k1 % 2 == 1)
k1++;
int l1 = j1 / 8;
int i2 = k1 / 8;
if (j1 % 8 != 0)
j1 = ++l1 * 8;
if (k1 % 8 != 0)
k1 = ++i2 * 8;
g1.setClip(l - j1 / 2 - 8, i1 - k1 / 2 - 8, 24, 8);
g1.drawImage(b_javax_microedition_lcdui_Image_static, l - j1 / 2 - 8, i1 - k1 / 2 - 8 - g_int_static * 24, 0);
for (int j2 = 0; j2 < l1 - 4; j2++)
{
g1.setClip((l - j1 / 2) + 16 + j2 * 8, i1 - k1 / 2 - 8, 8, 8);
g1.drawImage(b_javax_microedition_lcdui_Image_static, ((l - j1 / 2) + 16 + j2 * 8) - 24, i1 - k1 / 2 - 8 - g_int_static * 24, 0);
}
g1.setClip((l + j1 / 2) - 16, i1 - k1 / 2 - 8, 24, 8);
g1.drawImage(b_javax_microedition_lcdui_Image_static, (l + j1 / 2) - 16 - 32, i1 - k1 / 2 - 8 - g_int_static * 24, 0);
g1.setClip(l - j1 / 2 - 8, i1 - k1 / 2, 8, 8);
g1.drawImage(b_javax_microedition_lcdui_Image_static, l - j1 / 2 - 8, i1 - k1 / 2 - 8 - g_int_static * 24, 0);
g1.setClip(l + j1 / 2, i1 - k1 / 2, 8, 8);
g1.drawImage(b_javax_microedition_lcdui_Image_static, (l + j1 / 2) - 48, i1 - k1 / 2 - 8 - g_int_static * 24, 0);
for (int k2 = 0; k2 < i2 - 2; k2++)
{
g1.setClip(l - j1 / 2 - 8, (i1 - k1 / 2) + 8 + k2 * 8, 8, 8);
g1.drawImage(b_javax_microedition_lcdui_Image_static, l - j1 / 2 - 8 - 16, ((i1 - k1 / 2) + 8 + k2 * 8) - 8 - g_int_static * 24, 0);
}
for (int l2 = 0; l2 < i2 - 2; l2++)
{
g1.setClip(l + j1 / 2, (i1 - k1 / 2) + 8 + l2 * 8, 8, 8);
g1.drawImage(b_javax_microedition_lcdui_Image_static, (l + j1 / 2) - 24, ((i1 - k1 / 2) + 8 + l2 * 8) - 8 - g_int_static * 24, 0);
}
g1.setClip(l - j1 / 2 - 8, (i1 + k1 / 2) - 8, 8, 8);
g1.drawImage(b_javax_microedition_lcdui_Image_static, l - j1 / 2 - 8 - 32, (i1 + k1 / 2) - 8 - 8 - g_int_static * 24, 0);
g1.setClip(l + j1 / 2, (i1 + k1 / 2) - 8, 8, 8);
g1.drawImage(b_javax_microedition_lcdui_Image_static, (l + j1 / 2) - 40, (i1 + k1 / 2) - 8 - 8 - g_int_static * 24, 0);
g1.setClip(l - j1 / 2 - 8, i1 + k1 / 2, 24, 8);
g1.drawImage(b_javax_microedition_lcdui_Image_static, l - j1 / 2 - 8, (i1 + k1 / 2) - 16 - g_int_static * 24, 0);
for (int i3 = 0; i3 < l1 - 4; i3++)
{
g1.setClip((l - j1 / 2) + 16 + i3 * 8, i1 + k1 / 2, 8, 8);
g1.drawImage(b_javax_microedition_lcdui_Image_static, ((l - j1 / 2) + 16 + i3 * 8) - 24, (i1 + k1 / 2) - 16 - g_int_static * 24, 0);
}
g1.setClip((l + j1 / 2) - 16, i1 + k1 / 2, 24, 8);
g1.drawImage(b_javax_microedition_lcdui_Image_static, (l + j1 / 2) - 16 - 32, (i1 + k1 / 2) - 16 - g_int_static * 24, 0);
if (flag)
{
g1.setClip(0, 0, e.a, e.b);
g1.setColor(0xcbcbcb);
g1.fillRect(l - j1 / 2, i1 - k1 / 2, j1, k1);
}
}
public static void a(Graphics g1, int l, int i1, int j1, int k1)
{
if (_DD17 != _B_B._BB[17])
{
return;
} else
{
int l1 = 0;
int i2 = 0;
int j2 = e.a;
int k2 = e.b;
a(g1, l, i1, j1, k1, l1, i2, j2, k2);
return;
}
}
public static void a(Graphics g1, int l, int i1, int j1, int k1, int l1, int i2, int j2,
int k2)
{
if (_DD17 != _B_B._BB[17])
return;
i1 += (k1 - 7) / 2;
int l2 = l + j1 / 2;
if (j1 % 8 > 0)
{
j1 = (j1 / 8) * 8;
l = l2 - j1 / 2;
}
g1.setClip(l - 16, i1, 16, 7);
g1.drawImage(h_javax_microedition_lcdui_Image_static, l - 16, i1, 0);
g1.setClip(l + j1, i1, 16, 7);
g1.drawImage(h_javax_microedition_lcdui_Image_static, (l + j1) - 24, i1, 0);
for (int i3 = 0; i3 < j1 / 8; i3++)
{
g1.setClip(l + i3 * 8, i1, 8, 7);
g1.drawImage(h_javax_microedition_lcdui_Image_static, (l + i3 * 8) - 16, i1, 0);
}
}
public static void c()
{
RecordStore recordstore;
ByteArrayOutputStream bytearrayoutputstream;
DataOutputStream dataoutputstream;
if (_DD15 != _B_B._BB[15])
return;
recordstore = null;
bytearrayoutputstream = null;
dataoutputstream = null;
recordstore = RecordStore.openRecordStore(a_p_static.a("mainCanvas.system_Data"), true);
bytearrayoutputstream = new ByteArrayOutputStream();
dataoutputstream = new DataOutputStream(bytearrayoutputstream);
dataoutputstream.writeBoolean(c_boolean_static);
dataoutputstream.writeByte(f_int_static);
byte abyte0[] = bytearrayoutputstream.toByteArray();
if (recordstore.getNumRecords() == 0)
recordstore.addRecord(abyte0, 0, abyte0.length);
else
recordstore.setRecord(1, abyte0, 0, abyte0.length);
if (dataoutputstream != null)
try
{
dataoutputstream.close();
}
catch (IOException ioexception) { }
if (bytearrayoutputstream != null)
try
{
bytearrayoutputstream.close();
}
catch (IOException ioexception1) { }
if (recordstore != null)
try
{
recordstore.closeRecordStore();
}
catch (RecordStoreException recordstoreexception) { }
break MISSING_BLOCK_LABEL_320;
Object obj;
obj;
System.out.println(obj);
if (dataoutputstream != null)
try
{
dataoutputstream.close();
}
// Misplaced declaration of an exception variable
catch (Object obj) { }
if (bytearrayoutputstream != null)
try
{
bytearrayoutputstream.close();
}
// Misplaced declaration of an exception variable
catch (Object obj) { }
if (recordstore != null)
try
{
recordstore.closeRecordStore();
}
// Misplaced declaration of an exception variable
catch (Object obj) { }
break MISSING_BLOCK_LABEL_320;
obj;
System.out.println(obj);
if (dataoutputstream != null)
try
{
dataoutputstream.close();
}
// Misplaced declaration of an exception variable
catch (Object obj) { }
if (bytearrayoutputstream != null)
try
{
bytearrayoutputstream.close();
}
// Misplaced declaration of an exception variable
catch (Object obj) { }
if (recordstore != null)
try
{
recordstore.closeRecordStore();
}
// Misplaced declaration of an exception variable
catch (Object obj) { }
break MISSING_BLOCK_LABEL_320;
obj;
System.out.println(obj);
if (dataoutputstream != null)
try
{
dataoutputstream.close();
}
catch (IOException ioexception2) { }
if (bytearrayoutputstream != null)
try
{
bytearrayoutputstream.close();
}
catch (IOException ioexception3) { }
if (recordstore != null)
try
{
recordstore.closeRecordStore();
}
catch (RecordStoreException recordstoreexception1) { }
break MISSING_BLOCK_LABEL_320;
Exception exception;
exception;
if (dataoutputstream != null)
try
{
dataoutputstream.close();
}
catch (IOException ioexception4) { }
if (bytearrayoutputstream != null)
try
{
bytearrayoutputstream.close();
}
catch (IOException ioexception5) { }
if (recordstore != null)
try
{
recordstore.closeRecordStore();
}
catch (RecordStoreException recordstoreexception2) { }
throw exception;
}
public static void d()
{
RecordStore recordstore;
ByteArrayInputStream bytearrayinputstream;
DataInputStream datainputstream;
if (_DD16 != _B_B._BB[16])
return;
recordstore = null;
bytearrayinputstream = null;
datainputstream = null;
recordstore = RecordStore.openRecordStore(a_p_static.a("mainCanvas.system_Data"), false);
byte abyte0[] = recordstore.getRecord(1);
bytearrayinputstream = new ByteArrayInputStream(abyte0);
datainputstream = new DataInputStream(bytearrayinputstream);
c_boolean_static = datainputstream.readBoolean();
f_int_static = datainputstream.readByte();
if (datainputstream != null)
try
{
datainputstream.close();
}
catch (IOException ioexception) { }
if (bytearrayinputstream != null)
try
{
bytearrayinputstream.close();
}
catch (IOException ioexception1) { }
if (recordstore != null)
try
{
recordstore.closeRecordStore();
}
catch (RecordStoreException recordstoreexception) { }
break MISSING_BLOCK_LABEL_247;
Object obj;
obj;
System.out.println(obj);
if (datainputstream != null)
try
{
datainputstream.close();
}
// Misplaced declaration of an exception variable
catch (Object obj) { }
if (bytearrayinputstream != null)
try
{
bytearrayinputstream.close();
}
// Misplaced declaration of an exception variable
catch (Object obj) { }
if (recordstore != null)
try
{
recordstore.closeRecordStore();
}
// Misplaced declaration of an exception variable
catch (Object obj) { }
break MISSING_BLOCK_LABEL_247;
obj;
System.out.println(obj);
if (datainputstream != null)
try
{
datainputstream.close();
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -