jdk/src/share/classes/javax/swing/plaf/basic/BasicComboBoxUI.java
changeset 17902 14a0ae3ca973
parent 15637 2c226ebab6a6
child 20098 7b11536bf6b3
equal deleted inserted replaced
17901:88326b660820 17902:14a0ae3ca973
   690      * aggregate combo box. This method is called as part of the UI
   690      * aggregate combo box. This method is called as part of the UI
   691      * installation process.
   691      * installation process.
   692      */
   692      */
   693     protected void installComponents() {
   693     protected void installComponents() {
   694         arrowButton = createArrowButton();
   694         arrowButton = createArrowButton();
   695         comboBox.add( arrowButton );
       
   696 
   695 
   697         if (arrowButton != null)  {
   696         if (arrowButton != null)  {
       
   697             comboBox.add(arrowButton);
   698             configureArrowButton();
   698             configureArrowButton();
   699         }
   699         }
   700 
   700 
   701         if ( comboBox.isEditable() ) {
   701         if ( comboBox.isEditable() ) {
   702             addEditor();
   702             addEditor();