setBorder(BorderFactory.createLineBorder(Color.gray, 1)); border = BorderFactory.createEmptyBorder(2, 5, 2, 5);
border = BorderFactory.createEmptyBorder(1, 4, 1, 4);
  public StatusBar()  {    setLayout(new BoxLayout(this, BoxLayout.X_AXIS));    setRequestFocusEnabled(false);    setFocusable(false);    setBorder(BorderFactory.createLineBorder(Color.gray, 1));    border = BorderFactory.createEmptyBorder(2, 5, 2, 5);  }