JLabel label = new JLabel("" + _stringBuffer); JOptionPane.showMessageDialog(panel, label, "Alert Service", JOptionPane.WARNING_MESSAGE);
final JLabel label = new JLabel("" + _stringBuffer);   JOptionPane.showMessageDialog(null, label, "Alert Service", JOptionPane.WARNING_MESSAGE);
  public Hashtable performService(String _senderService, Hashtable ipList) {    StringBuffer _stringBuffer = new StringBuffer();    _stringBuffer.setLength(0);    _stringBuffer.append("<html><body>\n");    _stringBuffer.append("<h1>" + getDescription() + "</h1>\n");    _stringBuffer.append("<table border=4>\n");    for (Enumeration e=ipList.keys(); e.hasMoreElements(); ) {      String key = e.nextElement().toString();      if (key.equals(key9)) continue;       _stringBuffer.append("<tr><td>"+key+"</td><td>"+ipList.get(key)+"</td></tr>\n");    }    _stringBuffer.append("<tr><td colspan=2><img src="+ipList.get(key9)+"></td></tr>\n");    _stringBuffer.append("</table>\n");    _stringBuffer.append("</body></html>\n");    JLabel label = new JLabel("" + _stringBuffer);    JOptionPane.showMessageDialog(panel, label, "Alert Service", JOptionPane.WARNING_MESSAGE);    masterHabitat.log("" + _stringBuffer);    System.out.println("JUST LOGGED: " + _stringBuffer);    return null;  }