Win a copy of The Way of the Web Tester: A Beginner's Guide to Automating Tests this week in the Testing forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Help reqd. - User Defined SWT - COMBO class & SelectionEvent

VijayaMohan VM
Posts: 1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi All,

I'd appreciate any help and guidance w.r.t. the following.

I have a User Defined COMBO class (SWT) which over-rides the default - addModifyListener(), addSelectionListener() , addKeyListener() and addMouseListener methods.
The user defined COMBO class selects the drop-down list item based on user entry ( i.e. displays the first item in the drop-down beginning with the user typed character the first time, on re-type by the user, displays the second entry and so on in a cyclic manner ) OR the user can select an item rightaway from the drop-down list.

The main application does end up displaying the correct entry. However my problem is " how do I notify about the particular event (example - SelectionEvent) to the main application " ?

Thanks in advance, for your kind help and guidance.
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic