int theHeight = theAlertIcon.getHeight(this);
alertY = ((this.getBounds().height - theHeight) / 2);
linkX = alertX + theAlertIcon.getWidth(this) + Integer.parseInt(getParameter("padding-text"));
fontAlert = new Font(getParameter("font-face"), AlertUtil.getFontStyle(getParameter("font-style")), Integer.parseInt(getParameter("font-size")));
this.setFont(fontAlert);
linkY = (this.getBounds().height + this.getFontMetrics(this.getFont()).getHeight() / 2) / 2;
textColor = Color.decode(this.getParameter("text-color"));
timeSleep = Integer.parseInt(getParameter("time-sleep"));
timeUpdate= Integer.parseInt(getParameter("time-update"));
noAlerts = getParameter("no-alerts");
alertLength = Integer.parseInt(getParameter("alert-length"));
dismissPadding = Integer.parseInt(getParameter("dismiss-padding"));
dismissText = new TextLink(getParameter("dismiss-text"), getParameter("dismiss-tooltip"));
fontDismiss = new Font(getParameter("dismiss-font-face"), AlertUtil.getFontStyle(getParameter("dismiss-font-style")), Integer.parseInt(getParameter("dismiss-font-size")));
URL hostURL = getCodeBase();
String hostName = hostURL.getHost();
int port = hostURL.getPort();