code: public void setZones(String[] ids, Component[] zones, String[] constraints) {
          removeAll();
          idToZones.clear();
          for (int i = 0, c = zones.length; i < c; i++) {
              addZone(ids[i], zones[i], constraints[i]);
          }
      }
docs: For example:
  
  <code>
  setZones(new String[]{"A","B"},
  new JComponent[]{new JLabel(), new JLabel()},
  new String[]{"33%","*"});
  </code>
  
  would construct a new status bar with two zones (two JLabels) named A and
  B, the first zone A will occupy 33 percents of the overall size of the
  status bar and B the left space.
  
  @param ids a value of type 'String[]'
  @param zones a value of type 'JComponent[]'
  @param constraints a value of type 'String[]'