appearanceCharacteristics.setBackground(new PDColor(new float[]{0, 1, 0.3f}, PDDeviceRGB.INSTANCE));
= new PDAppearanceCharacteristicsDictionary(new COSDictionary()); fieldAppearance1.setBorderColour(new PDColor(new float[]{0,1,0}, PDDeviceRGB.INSTANCE)); fieldAppearance1.setBackground(new PDColor(new float[]{1,1,0}, PDDeviceRGB.INSTANCE)); widget1.setAppearanceCharacteristics(fieldAppearance1); = new PDAppearanceCharacteristicsDictionary(new COSDictionary()); fieldAppearance2.setBorderColour(new PDColor(new float[]{1,0,0}, PDDeviceRGB.INSTANCE)); fieldAppearance2.setBackground(new PDColor(new float[]{0,1,0}, PDDeviceRGB.INSTANCE)); widget2.setAppearanceCharacteristics(fieldAppearance2);
appearanceCharacteristics.setBackground(new PDColor(new float[]{1, 1, 0}, PDDeviceRGB.INSTANCE));
= new PDAppearanceCharacteristicsDictionary(new COSDictionary()); fieldAppearance.setBorderColour(new PDColor(new float[]{0,1,0}, PDDeviceRGB.INSTANCE)); fieldAppearance.setBackground(new PDColor(new float[]{1,1,0}, PDDeviceRGB.INSTANCE)); widget.setAppearanceCharacteristics(fieldAppearance);
PDColor blue = new PDColor(borderColorArray, PDDeviceRGB.INSTANCE); fieldAppearance.setBorderColour(blue); fieldAppearance.setBackground(blue); fieldAppearance.setNormalCaption("Click Me");
= new PDAppearanceCharacteristicsDictionary(new COSDictionary()); fieldAppearance1.setBorderColour(new PDColor(new float[]{0,1,0}, PDDeviceRGB.INSTANCE)); fieldAppearance1.setBackground(new PDColor(new float[]{1,1,0}, PDDeviceRGB.INSTANCE)); widget1.setAppearanceCharacteristics(fieldAppearance1); = new PDAppearanceCharacteristicsDictionary(new COSDictionary()); fieldAppearance2.setBorderColour(new PDColor(new float[]{1,0,0}, PDDeviceRGB.INSTANCE)); fieldAppearance2.setBackground(new PDColor(new float[]{0,1,0}, PDDeviceRGB.INSTANCE)); widget2.setAppearanceCharacteristics(fieldAppearance2);
arr.add(new COSFloat(239/255f)); arr.add(new COSFloat(1f)); fieldAppearance.setBackground(new PDGamma(arr));
= new PDAppearanceCharacteristicsDictionary(new COSDictionary()); fieldAppearance.setBorderColour(new PDColor(new float[]{0,1,0}, PDDeviceRGB.INSTANCE)); fieldAppearance.setBackground(new PDColor(new float[]{1,1,0}, PDDeviceRGB.INSTANCE)); widget.setAppearanceCharacteristics(fieldAppearance);