/* ==================================================== created by Isaac Tsai, 1997 Copyrighted 1999, 2000 Isaac Tsai
< APPLET [CODEBASE = codebaseURL] CODE = appletFile [ALT = alternateText] [NAME = appletInstanceName] WIDTH = pixels HEIGHT = pixels [ALIGN = alignment] [VSPACE = pixels] [HSPACE = pixels] > [< PARAM NAME = appletParameter1 VALUE = value >] [< PARAM NAME = appletParameter2 VALUE = value >] . . . [alternateHTML] */ import java.applet.*; import java.awt.*; import java.lang.*; import java.util.*; import java.net.*; public class GLabelImg extends Applet implements Runnable { public int Xcord[]; public int Ycord[]; public String sLabel[]; public Image iImg[]; public int iX[]; public int iY[]; public int label_cnt; public int img_cnt; public int fsize; public int show_grid; public int grid_ww; public Image img; public Font f16; public void init() { int count, idx; String p, q; URL f_url=null; Xcord = new int[64]; Ycord = new int[64]; sLabel = new String[64]; iImg = new Image[64]; iX = new int[64]; iY = new int[64]; show_grid = 0; f16 = new Font("TimesRoman",Font.PLAIN,16); p=getParameter("COUNT"); label_cnt=(p==null)?1:Integer.valueOf(p).intValue(); for(idx=0;idx1)) { for(x1=0,y1=0,y2=apph;x1<=appw;x1=x1+grid_ww) { x2=x1; g.drawLine(x1,y1,x2,y2); } for(x1=0,y1=0,x2=appw;y1<=apph;y1=y1+grid_ww) { y2=y1; g.drawLine(x1,y1,x2,y2); } } } public void run() { } public void start() { } public void stop() { } } 500 Internal Server Error

Internal Server Error

The server encountered an internal error or misconfiguration and was unable to complete your request.

Please contact the server administrator at root@localhost to inform them of the time this error occurred, and the actions you performed just before this error.

More information about this error may be available in the server error log.