摘要: 原文:http://blog.chinaunix.net/uid-20662363-id-1904146.html参考: http://www.worldhello.net/doc/program_rules/indent.htmlgoogle搜索就能找到gnu indent.The `indent' program can be used to make code easier to read. It can also convert from one style of writing C to another.参照GNU,Kernighan & Ritchie,Berkel 阅读全文
posted @ 2012-11-02 19:36 Leo Forest 阅读(379) 评论(0) 推荐(0) 编辑
摘要: JSpinner spinner = new JSpinner(new SpinnerNumberModel(value, min, max, 1)); spinner.setBounds(x,y,width,height); // 控制输入 JSpinner.NumberEditor editor = new JSpinner.NumberEditor(spinner, "0"); spinner.setEditor(editor); JFormattedTextField textField = ((JSpinner.NumberEditor) spinner.g... 阅读全文
posted @ 2012-11-02 19:22 Leo Forest 阅读(284) 评论(0) 推荐(0) 编辑