Project

General

Profile

evl_upd20151130a.diff

Fix for issue - Eugenie Lyzenko, 11/30/2015 09:38 AM

Download (1.28 KB)

View differences:

src/com/goldencode/p2j/ui/client/gui/ComboBoxGuiImpl.java 2015-11-30 14:33:21 +0000
49 49
**                  react to the ENTER key in GUI.  Key processsing fixes for GUI mode.
50 50
** 014 EVL 20151120 Fix for drop-down line spacing issue. And fix for button incorrect drawing
51 51
**                  over 3d border.  Drop-down button fix for pressed state drawing.  Pressing
52
**                  the drop-down button need to be painted accordingly.
52
**                  the drop-down button need to be painted accordingly.  When the widget is
53
**                  loosing focus we need to repaint it.
53 54
*/
54 55

  
55 56
package com.goldencode.p2j.ui.client.gui;
......
959 960
   }
960 961

  
961 962
   /**
963
    * This is called when the combo-box loses the input focus.
964
    *
965
    * @param    focusEvent
966
    *           The focus event to be processed.
967
    */
968
   @Override
969
   public void onFocusLost(FocusEvent focusEvent)
970
   {
971
      super.onFocusLost(focusEvent);
972
      // the state changed, need to repaint in GUI
973
      repaint();
974
   }
975
   
976
   /**
962 977
    * Returns the list for SIMPLE combo-box mode.
963 978
    *
964 979
    * @return   The list instance.