JTextPane woes...
- From: Frances <fdr58@xxxxxxxxx>
- Date: Sun, 28 Aug 2005 09:15:28 -0400
I need to switch from JTextArea to JTextPane b/c need to change font color according to user input, but am running into all sorts of problems.. you can't specify a size in rows and columns like you can in JTextArea, setSize() is being ignored.. also why no append() method in JTextPane.. how do I achieve what append() method does... such complication simply b/c I need to change font color (JUST font color) according to user input... :(
(this is for an IM chat window... so on top window need to display users' ID with their message.. ID needs to be a diff. font color..
sounds simple.. but well, JTextPane making this very complicated..)
would very much appreciate some help.. thank you.. .
- Follow-Ups:
- Re: JTextPane woes...
- From: Christian Kaufhold
- Re: JTextPane woes...
- Prev by Date: Re: Different height at JComboBox editor and renderer
- Next by Date: Re: JTexPane: Cross-platform chaos
- Previous by thread: JTexPane: Cross-platform chaos
- Next by thread: Re: JTextPane woes...
- Index(es):
Relevant Pages
|