jRegExTextArea = new JTextArea();
jRegExTextArea.setLineWrap(true);
jRegExTextArea.setRows(3);
jRegExTextArea.setBackground(new Color(199, 255, 191));
highlightPainter = new DefaultHighlightPainter(new Color(255, 100, 100));
highlighter = new DefaultHighlighter();
jRegExTextArea.setHighlighter(highlighter);
jRegExTextArea.addKeyListener(new java.awt.event.KeyAdapter() {
public void keyReleased(java.awt.event.KeyEvent e) {
if (!e.isControlDown())
// Warn the object when a key is being typed