`

设置边框字体颜色等

 
阅读更多

jpanl边框设置,颜色与字体为title的设置。

jPanel4.setBorder(BorderFactory.createTitledBorder(BorderFactory
.createLineBorder(Color.GRAY), "名字", TitledBorder.LEFT, 2, new Font(Font.DIALOG,Font.BOLD,20), Color.BLUE));
分享到:
评论

相关推荐

Global site tag (gtag.js) - Google Analytics