Any way to replicate "Other Border" on components like the Dropdown List?

Not a complete working example, but toggling between the two states could be done with something like this:

from javax.swing import BorderFactory
from javax.swing.border import CompoundBorder

target = event.source.parent.getComponent("Dropdown")
# Add an outer red line border
target.border = BorderFactory.createCompoundBorder(BorderFactory.createLineBorder(system.gui.color(255, 0, 0), 3), target.border)

# Reset to the original border
if isinstance(target.border, CompoundBorder):
	target.border = target.border.insideBorder