Netbeans ide can't display chinese character in linux

When i write the source code in netbeans environment,if the source code,there are chinese characters,chinese characters will be displayed as box,how to solve this problem?please

check whether this helps you ? 467558 – Netbeans cannot display Chinese character
468193 – Chinese fonts have changed file name

Thank you for your replay!This is helpful for me !