Beispiel #1
0
 private void addMorItem(String str, Cat cat) {
   moorings.put(cat, mooringBox.getItemCount());
   mooringBox.addItem(str);
 }
Beispiel #2
0
 private void addCatItem(String str, Cat cat) {
   categories.put(cat, categoryBox.getItemCount());
   categoryBox.addItem(str);
 }