You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
import java.awt.*;import java.awt.image.*;import java.applet.*;import java.util.*;public class AlertWindow extends ModalWindow{ Vector Lines = new Vector(); String Message; int Icon; public AlertWindow(String theString, int theIcon) { super(); Message = theString; Icon = theIcon; } public void Init() { } public void Draw() { int i = 0; int x,y; x = 13; if (Icon != 0) x = x + 65; y = 19; graphicsPortGC.setColor(Color.black); while (i < Lines.size()) { this.graphicsPortGC.drawString((String)Lines.elementAt(i),x,y); y = y + 17; i++; } } public void userActivate() { } public void Close() { }}