Search code examples
javaintellij-ideaintellij-plugin

Setting icon for the dialog created using DialogWrapper of IntelliJ


I have created a dialog by extending IntelliJ's "DialogWrapper". Now i want to set icon image for the created Dialog. The information about the DialogWrapper can be found here. How can i set icon(at top left corner) to the dialog?


Solution

  • I got answer for this question from the intellij's community section. I have to use "DialogWrapper.getWindow()" . You can visit this link. Thanks everyone for your time