jgraphx中语言文件配置

来源:互联网 发布:如何向网页中注入js 编辑:程序博客网 时间:2024/06/15 20:19
先在editor_zh-CN.properties中将中文配置好,
shapes=\u5F62\u72B6images=\u56FE\u5F62。。。symbols=\u7B26\u53F7file=\u6587\u4ef6new=\u65b0\u5efa
然后将文件添加到 mxResources中,
mxResources  .add("com/mxgraph/examples/swing/resources/editor_zh-CN");
<pre class="java" name="code">String value=mxResources.get("value"),



1 0