可能是你的系统的默认编码又问题,我的不会,
试试这个
String str="性能系统";
DefaultMutableTreeNode root=new
DefaultMutableTreeNode(new String(str.getBytes(),"GBK"));
试试这个
String str="性能系统";
DefaultMutableTreeNode root=new
DefaultMutableTreeNode(new String(str.getBytes(),"GBK"));
解决方案 »
免费领取超大流量手机卡,每月29元包185G流量+100分钟通话, 中国电信官方发货