private void alertOf(String message, byte type)
  {
    messageLabel.setText(message);
    messageScrollPane.getHorizontalScrollBar().setValue(0);
    switch (type)
    {
      default:
      case PLAIN_MES:
        messageIconLabel.setIcon(null);
        break;
      case INFO_MES:
        messageIconLabel.setIcon(infoIcon16);
        break;
      case QUESTION_MES:
        messageIconLabel.setIcon(questionIcon16);
        break;
      case WARN_MES:
        messageIconLabel.setIcon(warningIcon16);
        break;
      case CRIT_MES:
        messageIconLabel.setIcon(errorIcon16);
        CompAction.flash(this, true);
        break;
    }
  }