rendered paste body// Decompiled by DJ v3.9.9.91 Copyright 2005 Atanas Neshkov Date: 2007-04-02 20:25:45// Home Page : http://members.fortunecity.com/neshkov/dj.html - Check often for new version!// Decompiler options: packimports(3) import irc.*;import java.applet.Applet;import java.awt.*;public class IRCApplet extends Applet implements ParameterProvider{ public IRCApplet() { } public void init() { try { EventDispatcher.disableBadThreadWarning(); EventDispatcher.dispatchEventSyncEx(this, "startEff", new Object[0]); EventDispatcher.enableBadThreadWarning(); } catch(Throwable throwable) { } } public void destroy() { try { EventDispatcher.disableBadThreadWarning(); EventDispatcher.dispatchEventSyncEx(this, "stopEff", new Object[0]); EventDispatcher.enableBadThreadWarning(); } catch(Throwable throwable) { } } public void startEff() { try { Object obj = this; String s = getParameter("fileparameter"); if(s != null) { AppletFileHandler appletfilehandler = new AppletFileHandler(this); obj = new ParameterMixer(((ParameterProvider) (obj)), new StreamParameterProvider(appletfilehandler.getInputStream(s))); } ConfigurationLoader configurationloader = new ConfigurationLoader(((ParameterProvider) (obj)), new AppletURLHandler(getAppletContext()), new AppletImageLoader(this), new AppletSoundHandler(this), new AppletFileHandler(this)); irc.IRCConfiguration ircconfiguration = configurationloader.loadIRCConfiguration(); irc.StartupConfiguration startupconfiguration = configurationloader.loadStartupConfiguration(); _application = new IRCApplication(ircconfiguration, startupconfiguration, this); _application.init(); setVisible(false); setVisible(true); } catch(Throwable throwable) { setLayout(new FlowLayout(0)); add(new Label("Startup error : " + throwable)); } } public void stopEff() { if(_application != null) _application.uninit(); _application = null; } public void sendString(String s) { if(_application != null) EventDispatcher.dispatchEventAsync(_application, "sendString", new Object[] { s }); } public void setFieldText(String s) { if(_application != null) EventDispatcher.dispatchEventAsync(_application, "setFieldText", new Object[] { s }); } public String getFieldText() { if(_application == null) break MISSING_BLOCK_LABEL_25; return (String)EventDispatcher.dispatchEventAsyncAndWaitEx(_application, "getFieldText", new Object[0]); Throwable throwable; throwable; return ""; } public void validateText() { if(_application != null) EventDispatcher.dispatchEventAsync(_application, "validateText", new Object[0]); } public void requestSourceFocus() { if(_application != null) EventDispatcher.dispatchEventAsync(_application, "requestSourceFocus", new Object[0]); } public void sendPluginEvent(String s, Object obj) { if(_application != null) EventDispatcher.dispatchEventAsync(_application, "sendPluginEvent", new Object[] { s, obj }); } public Object getPluginValue(String s, Object obj) { if(_application == null) break MISSING_BLOCK_LABEL_30; return EventDispatcher.dispatchEventAsyncAndWaitEx(_application, "getPluginValue", new Object[] { s, obj }); Throwable throwable; throwable; return null; } private IRCApplication _application;}