JEditorPane editorfeld = new JEditorPane();editorfeld.setContentType ("text/html; charset=UTF-8");BevelBorder myborder = new BevelBorder(BevelBorder.LOWERED);editorfeld.setBorder( myborder );editorfeld.setText("<font color=green>gruen</font><font color=red>rot</font>");editorfeld.setEnabled(true);editorfeld.setEditable(true);editorfeld.setBounds(tField.getBounds());editorfeld.setLocation(tField.getLocation());editorfeld.setVisible(true);