private void fillStock() { if (part.getStock() != null && !part.getStock().isEmpty()) { model.fill(part.getStock()); } else { model.fill(null); } }