Add icon to the footer toolbar

I am trying to add an icon using the default 'green', 'orange', and 'red' icons.

I assumed the type would be of 'Action' where I could register something near the editor cursor location / memory status but after going though all of the action groups I could not find what I want. Another spot that might work is the 'save', 'run', 'debug' toolbar but again I could not find that either.

If this is part of a Project component is there an example I can use to use?

Thanks in advance.

1 comment
Comment actions Permalink

For anyone else in the future:

final WindowManager windowManager = WindowManager.getInstance();
final StatusBar statusBar = windowManager.getStatusBar(project);

Icon icon = IconLoader.getIcon("/idea/bamboo.jpg");

JLabel bambooLabel = new JLabel(getBuildStatusMessage(), icon, JLabel.CENTER);

bambooLabel.setName(panelName);

1

Please sign in to leave a comment.