Пример #1
0
 UnitComboBox() {
   LengthUnit[] units = LengthUnit.getAll();
   for (LengthUnit unit : units) {
     addItem(unit);
   }
   setFixedSize();
 }