Alerts

I want to create a thread that will periodically make a check, and if need be, generate an alert. Ideally, I'd like to have my tool window tab flash or even automatically open. Can this be done in IDEA? If so, how? If not, what is the recommended way for doing this type of thing?

0

I guess you might be able to mess around either by calling myToolWindow.getParentComponent().setBackground() or something like that. You could also change the title of the window repeatedly to simulate flashing.

0

I'd like to have my tool window tab flash or even
automatically open.


What about com.intellij.openapi.wm.ToolWindow.show() ?

Sascha

0

Try to look into sources of ProblemsView plugin (sources bundled with plugin itself). Maybe you find solution there.

Thanks!

0

请先登录再写评论。