Java text with different colors
来源:互联网 发布:清华天普法学硕士知乎 编辑:程序博客网 时间:2024/05/23 13:06
I want to have two lines in red and next two lines in blue color.
Is it possible ?
>> In fact, you can do it with a JTextPane, not a JTextArea.
Here is an example:
===============
Is it possible ?
>> In fact, you can do it with a JTextPane, not a JTextArea.
Here is an example:
===============
All these are copied from network, not mine :)
- Java text with different colors
- QTextEdit with different text colors (Qt / C++)
- 7.5 Displaying Pins with Different Colors on a Map View
- Text Colors
- 【zz】ncl画散点图(with markers of different colors and sizes)
- illegal to have multiple occurrences of contentType with different values (old: text/html; charset=
- Page directive: illegal to have multiple occurrences of contentType with different values (old: text
- LINK : warning LNK4078: multiple ".text" sections found with different attributes (40000040)
- Page directive: illegal to have multiple occurrences of contentType with different values (old: text
- Scanning Text With java.util.Scanner
- With flying colors 非常出色
- 【LeetCode with Python】 Sort Colors
- Monitor JVM with Different Tools
- a different object with the
- [Leetcode] Sort Colors (Java)
- Sort Colors Java
- Sort Colors - Java
- leetcode Sort Colors java
- 微博开发的一些资源
- Android里merge和include标签的使用
- 毕业后的五年
- android之SDK
- Db4o系列之二:OODMS&&RDMS
- Java text with different colors
- Navicat for MySQL与MySQL-Front比较
- 如何查看bat,bash的实际执行命令
- sql debugger tool
- [转Iphone]关于self.用法的一些总结
- How to execute jar file
- [C++]默认参数
- oracle中查看和删除存储过程
- kruskal 最小生成树