Border of ComboBoxField is visible when ComboBoxField using rectangle and page . But, when ComboBoxField created using only document, then border of ComboBoxField is not visible.
ComboBoxField combo = new ComboBoxField(doc);
// add option to ComboBox
combo.setHeight(10f);
combo.setWidth(50f);
combo.addOption("Red");
combo.addOption("Yellow");
combo.addOption("Green");
combo.addOption("Blue");
combo.setSelected(2);
combo.setBorder(new Border(combo));
combo.getBorder().setStyle(BorderStyle.Solid);
combo.getBorder().setWidth(1);
combo.getCharacteristics().setBorder(Color.fromArgb(140, 140, 140));
combo.getDefaultAppearance().setFontSize(12);
combo.getDefaultAppearance().setFontName("Segoe UI");
combo.getDefaultAppearance().setTextColor(new java.awt.Color(70, 70, 70));
doc.getForm().add(combo,1);
page.getParagraphs().add(combo);
Document doc = new Document();
Page page = doc.getPages().add();