setToolTipText("应用程序模块");

解决方案 »

  1.   

    1.java的控件都有设置提示信息方法setToolTipText()应该,只要设置了应该没有什么问题(applet比较烦索一点)2.当你的MyClass类不只是继承于ClassA,还要继承于ClassB和继承于ClassC,这时候ClassA,ClassB,ClassC就要用接口来实现了。
      

  2.   

    setToolTipText
    public void setToolTipText(String text)Registers the text to display in a tool tip. The text displays when the cursor lingers over the component. 
    See How to Use Tool Tips in The Java Tutorial for further documentation. 
    Parameters:
    text - the string to display; if the text is null, the tool tip is turned off for this component
    See Also:
    TOOL_TIP_TEXT_KEY
      

  3.   

    setToolTipText
    public void setToolTipText(String text)Registers the text to display in a tool tip. The text displays when the cursor lingers over the component. 
    See How to Use Tool Tips in The Java Tutorial for further documentation. 
    Parameters:
    text - the string to display; if the text is null, the tool tip is turned off for this component
    See Also:
    TOOL_TIP_TEXT_KEY
      

  4.   

    1.一般java控件都会提供提示信息方法:setToolTipText()楼上已经说得很清楚了。2.如果你的MyClass类,不只要继承于ClassA,还要继承于ClassB和ClassC,这时候ClassA,ClassB,ClassC必需用接口来实现(接口在java中主要用来实现多继承)。