I'm trying to create a vertical toolbar on the side of each tab, similar to what the console in IntelliJ has. What happens is the toolbar is created next to the tabs and for some reason it is resized. The icon I use is 32x32, but for some reason it makes it twice as big. My code is:
DefaultActionGroup actionGroup = new DefaultActionGroup();
JComponent toolbar = ActionManager.getInstance().createActionToolbar("MyActionsToolbar", actionGroup, false).getComponent();
What am I doing wrong?
(sorry for asking too many questions lately, I'm struggling with finding good examples and/or tutorials).