我目前有:
http://img593.imageshack.us/img593/2702/48211978.png
如何将标题边框添加到此处?http://img143.imageshack.us/img143/9818/27722148.png
我已经试了一个星期了,但我还是卡住了……有人知道是怎么回事吗?
谢谢。
发布于 2011-01-29 10:29:21
使用TitledBorder,但在构造函数中传递LineBorder或EtchedBorder。
发布于 2011-01-29 11:29:19
LineBorder lb = new LineBorder(Color.white, 1);
TitledBorder tb = new TitledBorder (lb, "Client Downloader");
contentPanel.setBorder (tb);https://stackoverflow.com/questions/4834300
复制相似问题