Hi again I've uploaded my current work in progress to https://issues.apache.org/bugzilla/show_bug.cgi?id=54784 The enter key now adds items to the JM Tree however there is a strange bug whereby sometimes the popup menu doesn't disappear after adding items using the enter key - the bug isn't there when using the mouse to click the menu item - I've only tested it on Linux.
Is anyone able to take a look? Thanks Graham Graham On 19 October 2014 00:12, Graham Russell <[email protected]> wrote: > Hi all > > I've been looking at the below bug about adding test elements using the > keyboard: https://issues.apache.org/bugzilla/show_bug.cgi?id=54784 > > I've managed to get the popup menu to appear in the expected location when > shift + F10 (or the context menu key) is pressed (in > JMeterTreeListener.java) but I am struggling to understand where the > behaviour of clicking on one of the buttons is defined i.e. adding an item > to the tree, such that I can ensure the InputMap for the popup menu is > defined in such a way that the enter key behaves like a left mouse click. > > Grateful for any assistance. > > Thanks > > Graham >
