You’re going to have a hard time doing this, unfortunately. The buttons that are tied to those actions have specific, hardcoded icons. If you’re already drilling into the component to change the button font size, I’ll skip that step, but you will probably have to do something like:
- obtain reference to the
UtilityPanel
that contains the three buttons - access the
viewButton
,chartButton
, andmanageShelfButton
. - Pull the “action” out of them with
getAction()
(more context on what actions are here) - Set a new
Action.SMALL_ICON
on that action. You’ll need an instance of an Icon - you could importImageIcon
and make a newImageIcon
from an image in image management by using theImageLoader
class.