Is it possible to make it so that the tooltip displayed will change when over certain keywords inside of some swing object? The content will be completely defined by the code so I could use text positioning if that would help. Thanks
Okay, specifically what I would be doing is creating a custom display box for text to use as a combat log. This will be overtop my animations, a hud if you will. What I am thinking, is that I can use a tooltip to display the attributes behind combat calculations, while de-cluttering the log for people who know how things work already. Can you give some example? Are you in someway talking about setting a tooltip to a Label containing text?
以上就是Tooltip text changing depending on which words are moused over in text box?的详细内容，更多请关注web前端其它相关文章！