I searched through many posts and figured out that JLabel supports HTML. So I can do
JLabel
JLabel search = new JLabel(\"Search
There are a number of ways you might achieve this, one of the safer ways might be to use a and aligning both cells to the right... JLabel label = new JLabel( "" + "Search" + "By:" ); This overcomes issues with differences between fonts and font rendering on different platforms 0 讨论(0) 查看其它3个回答 发布评论: 提交评论 加载中... 验证码 看不清? 提交回复 热议问题
and aligning both cells to the right... JLabel label = new JLabel( "" + "Search" + "By:" ); This overcomes issues with differences between fonts and font rendering on different platforms 0 讨论(0) 查看其它3个回答 发布评论: 提交评论 加载中... 验证码 看不清? 提交回复 热议问题
JLabel label = new JLabel( "" + "Search" + "By:" );
This overcomes issues with differences between fonts and font rendering on different platforms