protected void paintButtonPressed(Graphics g, AbstractButton b)
  {
    boolean divider = b.getName() == null ? false :
        b.getName().equals("dividerButton");
    if(divider)
    {
      return;
    }
    int lenText = b.getFontMetrics(b.getFont()).stringWidth(b.getText() == null ? "" : b.getText());
    int startText = (b.getWidth() - lenText) / 2;
    int endText = startText + lenText;
    int heightText = b.getFontMetrics(b.getFont()).getHeight();
    int topText = (b.getHeight() - heightText) / 2;
    int bottomText = topText + heightText;
    int j = 0;
    int rim = 2;
    for(int i = rim; i < b.getWidth() - rim - 1; i++)
    {
      if(i % 2 == 0)
      {
        g.setColor(new Color(255, 255, 255));
        j = i < b.getWidth() / 2 ? j + 1 : j - 1;
      }
      else
      {
        g.setColor(new Color(55, 25, 163));
      }
      if(i < startText - 1 || i > endText + 1)
      {
        g.drawLine(i, rim, i, b.getHeight() - rim - 1);
      }
      else
      {
        g.drawLine(i, rim, i, topText - 1);
        g.drawLine(i, bottomText + 1, i, b.getHeight() - rim - 1);
      }
    }

  }