DIY吧,一段简短的java,没有危险,各位可以自己编译试试 /* * To change this template, choose Tools | Templates * and open the template in the editor. */ package format; 【查看更多内容请登录哈】