在TopComponent的实现类中覆盖getActions方法并返回null:

    /**
    * 去掉tab标签上的右键菜单
    * 
@return 
     
*/
    @Override
    
public Action[] getActions() {
         
return null;
    }

 

posted on 2011-08-10 15:26  网络大豆  阅读(266)  评论(0编辑  收藏  举报