public class IPLed extends java.applet.Applet implements Runnable { Thread mThread; final int smImageCount=12; Image[] mLedImages=new Image[smImageCount]; String mStrParam; public void init() { mLedImages[0]=getImage(getCodeBase(),"image/zero.gif"); mLedImages[1]=getImage(getCodeBase(),"image/one.gif"); mLedImages[2]=getImage(getCodeBase(),"image/two.gif"); mLedImages[3]=getImage(getCodeBase(),"image/three.gif"); mLedImages[4]=getImage(getCodeBase(),"image/four.gif"); mLedImages[5]=getImage(getCodeBase(),"image/five.gif"); mLedImages[6]=getImage(getCodeBase(),"image/six.gif"); mLedImages[7]=getImage(getCodeBase(),"image/seven.gif"); mLedImages[8]=getImage(getCodeBase(),"image/eight.gif"); mLedImages[9]=getImage(getCodeBase(),"image/nine.gif"); mLedImages[10]=getImage(getCodeBase(),"image/dash.gif"); mLedImages[11]=getImage(getCodeBase(),"image/blank.gif"); mStrParam=new String(getParameter("address")); if(null==mStrParam)mStrParam="255.255.255.255"; MediaTracker mediaTracker=new MediaTracker(this); for(int imageIndex=0;imageIndex