Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我想将鼠标移动到使用 JUng 类在 JFrame 上绘制的顶点上,并为该顶点显示一些附加消息。但我不知道如何为顶点设置 setToolTipText。有什么办法吗?请在这件事上给予我帮助
您可以添加以下命令以将 setToolTipbox 插入图表
vv.setToolTipText("<html><center>Breast Neoplasms<p>" + "Gene interactions</p> </center></html>");