小弟我在开发过程中遇到的有关问题。关于菜单的

我在开发过程中遇到的问题。。。。关于菜单的。


我在界面上创建有按钮, 当我用轨迹球点击按钮的时候执行完操作之后 就会把菜单给显示出来了。不管点击什么都是这个情况。
请问这个是怎么了? 我重载了
Java code
protected void makeMenu(Menu menu, int instance) {
    };

    protected void makeContextMenu(Menu menu, int instance) {
    };
也没有效果呀,有一点效果就是让里面没有菜单选项了,但是菜单还是会出来的。。。。

------解决方案--------------------
new ButtonField("xxxx", ButtonField.CONSUME_CLICK ) // CONSUME_CLICK: Indicates to the button consume the click event.
或者重载trackwheelClick事件