@Override
        public void mouseEntered(MouseEvent me)  {
			if (isEnabled()) {
				setBorder(RAISED_BORDER);
				inside = true;
			}
		}
Mouse listener on the button to render it appropriately.
Ghidra/Framework/Docking/src/main/java/docking/widgets/SmallBorderButton.java