How to show a custom popup box?

Hello everybody,

The problem I encountered is:

I have an Action which for the class under the carret finds all its inheritors and opens files with their declarations. Instead, I would like it to show a list of the classes it found and go to the corresponding file after clicking on an entry. What is the best way to do this? I tried creating a JBTable but I don't know how to show it at the right place (actually I wasn't able to make it visible at all). Any ideas from more experienced developers?

2 comments

Hi there,

You should check out the Live plugin demonstration by Dmitry http://blogs.jetbrains.com/idea/2012/12/webinar-recording-live-coding-a-plugin-from-scratch/
It gives a good introduction into beginning plugin development; It also covers the use of dialogs, and how to show() them, too  :)

Cheers
Alan

0

Please sign in to leave a comment.