repaint();
  public void showRefillChart(boolean doShow) {    if (doShow) {      int addIndex = Math.min(REFILL_CHART_INDEX, mainPanel.getComponentCount());      mainPanel.add(refillChart, REFILL_CHART_CONSTRAINTS, addIndex);    } else {      mainPanel.remove(refillChart);    }  }