The code below creates and sets up the highlighter and the painter for the text area. Default Highlight Painter(HILIT_COLOR); text Highlighter(hilit); method, which not only performs a search in the text area but also handles highlighting.
The following code highlights the found text, sets the caret to the end of the found match, sets the default background for the text field, and displays a message in the status bar.
To highlight text, this example uses a highlighter and a painter. hilit = new Default Highlighter(); painter = new Default Highlighter.
You can find the entire code for this program in in the example, indicates the number of columns in the field.
This number is used along with metrics provided by the field's current font to calculate the field's preferred width.
@JJ it looks as if you do, because otherwise the height of the chart changes. Is there any way to keep the chart live-updated with the latest results from PHP?
@JJ it looks as if you do, because otherwise the height of the chart changes.