I need a message dialog which supports html links and contain "Read more..." kind of a link, that expands the dialog and shows extra information with examples. and "Read less" kind of link also. Currently i am using an internal api Message.showInfoMessage(), which doesn't support the normal HTML links and is not customizable. I need a new custom JDialog or an internal Intellij api which does. How to do?