最近反编译了文件,但不知道怎样把它编辑成可用代码,求哪位大侠帮忙修改一下。import java.util.Vector;
import javax.swing.SwingUtilities;
public class OVGUIClient implements Runnable, OVGUIClientInterface
{ private boolean listening;
private final Vector messages = new Vector();
private final OVGUIClientInterface localClient; public OVGUIClient(OVGUIClientInterface ovguiclientinterface)
{
listening = true;
localClient = ovguiclientinterface;
} public void processNotifyEvent(StringBuffer stringbuffer)
{
synchronized(messages)
{
messages.add(stringbuffer);
messages.notifyAll();
}
} public void run()
{
_L3:
StringBuffer stringbuffer;
label0:
{
stringbuffer = null;
synchronized(messages)
{
while(messages.isEmpty() && listening)
{
try
{
messages.wait(5000L);
continue;
}
catch(InterruptedException interruptedexception)
{
return;
}
catch(Throwable throwable)
{
return;
}
return;
}
if(listening)
{
stringbuffer = (StringBuffer)messages.remove(0);
break label0;
}
}
return;
}
vector;
JVM INSTR monitorexit ;
goto _L1
exception;
throw exception;
_L1:
final StringBuffer message = stringbuffer;
try
{
Runnable runnable = new Runnable() { public void run()
{
try
{
localClient.processNotifyEvent(message);
}
catch(Throwable throwable2)
{
String s;
if(message.length() <= 200)
{
s = message.toString();
} else
{
s = message.substring(200) + "...";
}
System.out.pritntl("Runnable.run.processNotifyEvent() " + message.length() + " byte message:\n" + s+, throwable2);
}
} };
if(runnable != null)
{
SwingUtilities.invokeAndWait(runnable);
} else
{
criticalThread("doIt == null");
}
}
catch(Throwable throwable1)
{
criticalThread("Runnable()", throwable1);
}
if(listening) goto _L3; else goto _L2
_L2:
} public void quit()
{
listening = false;
}}
import javax.swing.SwingUtilities;
public class OVGUIClient implements Runnable, OVGUIClientInterface
{ private boolean listening;
private final Vector messages = new Vector();
private final OVGUIClientInterface localClient; public OVGUIClient(OVGUIClientInterface ovguiclientinterface)
{
listening = true;
localClient = ovguiclientinterface;
} public void processNotifyEvent(StringBuffer stringbuffer)
{
synchronized(messages)
{
messages.add(stringbuffer);
messages.notifyAll();
}
} public void run()
{
_L3:
StringBuffer stringbuffer;
label0:
{
stringbuffer = null;
synchronized(messages)
{
while(messages.isEmpty() && listening)
{
try
{
messages.wait(5000L);
continue;
}
catch(InterruptedException interruptedexception)
{
return;
}
catch(Throwable throwable)
{
return;
}
return;
}
if(listening)
{
stringbuffer = (StringBuffer)messages.remove(0);
break label0;
}
}
return;
}
vector;
JVM INSTR monitorexit ;
goto _L1
exception;
throw exception;
_L1:
final StringBuffer message = stringbuffer;
try
{
Runnable runnable = new Runnable() { public void run()
{
try
{
localClient.processNotifyEvent(message);
}
catch(Throwable throwable2)
{
String s;
if(message.length() <= 200)
{
s = message.toString();
} else
{
s = message.substring(200) + "...";
}
System.out.pritntl("Runnable.run.processNotifyEvent() " + message.length() + " byte message:\n" + s+, throwable2);
}
} };
if(runnable != null)
{
SwingUtilities.invokeAndWait(runnable);
} else
{
criticalThread("doIt == null");
}
}
catch(Throwable throwable1)
{
criticalThread("Runnable()", throwable1);
}
if(listening) goto _L3; else goto _L2
_L2:
} public void quit()
{
listening = false;
}}
解决方案 »
免费领取超大流量手机卡,每月29元包185G流量+100分钟通话, 中国电信官方发货