如何改变字符串风格 [英] How to change the String Style

查看:121
本文介绍了如何改变字符串风格的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我们能否改变Java中的字符串样式从正常到大胆...

Can we change the String Style in java from normal to bold...

例如:我想的从正常的样​​式,以大胆的风格改变字符串姓名任何违约。
包含在Java方法?

Example: I wish to change the String "Name" from normal Style to bold Style. Any default method included in java?

推荐答案

一个字符串是一些文字的只是重新presentation。应用一些样式信息取决于你使用的GUI框架:秋千,AWT,JSP等...

A string is just the representation of some text. Applying some style information depends on the GUI framework you use: Swing, AWT, JSP, etc...

这篇关于如何改变字符串风格的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆