Alarm Status Table: change the icons size

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:

  1. obtain reference to the UtilityPanel that contains the three buttons
  2. access the viewButton, chartButton, and manageShelfButton.
  3. Pull the “action” out of them with getAction() (more context on what actions are here)
  4. Set a new Action.SMALL_ICON on that action. You’ll need an instance of an Icon - you could import ImageIcon and make a new ImageIcon from an image in image management by using the ImageLoader class.
2 Likes