I am trying to create a custom implementation of the FileHistoryPanel by extending PanelWithActionsAndCloseButton. I need a toolbar on this panel which has three buttons and one custom dropdown box. The buttons need to have specific icons.
How should I create this toolbar under the IntelliJ framework? Specifically
- Would it be ok if I use regular JButtons?
- How should I load the required icons? Would IconLoader do?
- How should I associate actions to these buttons? Should I extend AnAction and associate that?