code: public Hashtable<Integer, JLabel> getSliderLabels()
      {
          Hashtable<Integer, JLabel> dict = new Hashtable<Integer, JLabel>();
          for(Map.Entry<Integer, String> entry : labels.entrySet())
          {
              dict.put(entry.getKey(), new JLabel(entry.getValue()));
          }
          return dict;
      }
docs: Gets a map with integer values with the corresponding JLabel
  for that value