title: How to detect JTextArea is used as a CellRenderer
body: <p>In my code I want to enable/disable certain functionality based on the context JTextArea is placed.</p>
  
  <p>For Example: If JTextArea is used as a CellRenderer I want to disable certain funcionality.</p>
  
  <p>How can I detect, if a particular JTextArea component is used as CellRenderer or not?</p>