Code example for JTextComponent

Methods: getName