Java开发网 Java开发网
注册 | 登录 | 帮助 | 搜索 | 排行榜 | 发帖统计  

您没有登录

» Java开发网 » Java程序分享区 » 工具  

按打印兼容模式打印这个话题 打印话题    把这个话题寄给朋友 寄给朋友    该主题的所有更新都将Email到你的邮箱 订阅主题
reply to topicflat modethreaded modego to previous topicgo to next topicgo to back
话题被移动
该话题已被移动 - tzutolin , 2005-12-13 14:13
如果您尚不清楚该话题被移动的原因,请参考论坛规则以及本版公告或者联系本版版主。
作者 BoooLee jCutter 文件风格器 swing 版 [精华]
booolee

me is me



发贴: 101
于 2004-09-04 19:59 user profilesend a private message to userreply to postsearch all posts byselect and copy to clipboard. 
ie only, sorry for netscape users:-)add this post to my favorite list
不多说了,上次写了个控制台的,这次写了一个swing GUI的

这次除了分割,还写了合并功能,在我的本本上测试了一下,速度还性,分割10M的文件,每块1M,瞬间就分完了,合并也是一样迅速。

想要的就下吧

jCutter.jar (15.1k)



作者 Re:BoooLee jCutter 文件风格器 swing 版 [Re:booolee]
booolee

me is me



发贴: 101
于 2004-09-04 20:03 user profilesend a private message to userreply to postsearch all posts byselect and copy to clipboard. 
ie only, sorry for netscape users:-)add this post to my favorite list
这是软件界面

我学习JAVA 20天左右,希望和大家一起进步



作者 Re:BoooLee jCutter 文件风格器 swing 版 [Re:booolee]
tzutolin



版主


发贴: 581
于 2004-09-04 20:32 user profilesend a private message to userreply to postsearch all posts byselect and copy to clipboard. 
ie only, sorry for netscape users:-)add this post to my favorite list
寫的非常好, 值得鼓勵. 如果有英文或繁體中文介面就更加理想了.


作者 Re:BoooLee jCutter 文件风格器 swing 版 [Re:booolee]
Jove



CJSDN高级会员


发贴: 1228
于 2004-09-04 20:34 user profilesend a private message to userreply to postsearch all posts byselect and copy to clipboard. 
ie only, sorry for netscape users:-)add this post to my favorite list
选择“输出目录”有问题,不能选文件夹



作者 Re:BoooLee jCutter 文件风格器 swing 版 [Re:booolee]
why

問題兒童

总版主


发贴: 4629
于 2004-09-04 20:38 user profilesend a private message to usersend email to whyreply to postsearch all posts byselect and copy to clipboard. 
ie only, sorry for netscape users:-)add this post to my favorite list
加一分以示鼓励
学习JAVA 20天左右就有这样的成绩,实在挺不错Smile
继续改良啦



作者 Re:BoooLee jCutter 文件风格器 swing 版 [Re:booolee]
Jove



CJSDN高级会员


发贴: 1228
于 2004-09-04 20:45 user profilesend a private message to userreply to postsearch all posts byselect and copy to clipboard. 
ie only, sorry for netscape users:-)add this post to my favorite list
不好意思,反编译了一下
发现代码风格还有待改进

  public String GetFileName(String type) {
    javax.swing.JFileChooser jfc;
    int r;
    String Path;
    char c;
    int b;
    jfc = new javax.swing.JFileChooser();
    r = jfc.showOpenDialog(frame);
    if (r == 0) {
      Path = jfc.getSelectedFile().getPath();
      if (type == "F") {
        return Path;
      }
      c = separatorChar;
      b = Path.lastIndexOf(c);
      return Path.substring(0, b + 1);
    }
    return "";
  }

用GetFileName("F")和GetFileName("D")来得到文件和目录,不太可取

继续努力..



作者 Re:BoooLee jCutter 文件风格器 swing 版 [Re:booolee]
booolee

me is me



发贴: 101
于 2004-09-05 01:46 user profilesend a private message to userreply to postsearch all posts byselect and copy to clipboard. 
ie only, sorry for netscape users:-)add this post to my favorite list
感谢tzutolin鼓励,语言问题我考虑用XML做语言包,主要是为了学习,我知道这个软件不会有多少人下载使用的:(。

Jove 说的这个问题我也发现了,但是在文件名栏随便打几个字然后按打开按钮是可以勉强过去的,谢谢,另外关于GetFileName那个方法我也觉得判定条件有些牵强,我还在想办法改进。

WHY,我一直很感激你,我学JAVA的第2天在论坛提了一个关于classpath的问题,你好好的“教训”了我一下,我大受刺激,所以苦读20天,写了这个拙做,让你见笑了,希望我的下一个版本仍然可以获得你的指点

感谢所有前辈的点评 :)



作者 Re:BoooLee jCutter 文件风格器 swing 版 [Re:booolee]
booolee

me is me



发贴: 101
于 2004-09-05 03:44 user profilesend a private message to userreply to postsearch all posts byselect and copy to clipboard. 
ie only, sorry for netscape users:-)add this post to my favorite list
连夜发布改进版本
解决了楼上前辈们提出的那些BUG
1、双语支持,简体中文和英文(我英文很烂,写的不对的地方,帮忙指正)
2、修正了不能选择目录的问题
3、GetFileName(String type)改为GetFileName(boolean type),也许这样更严谨些,请jove指正



作者 Re:BoooLee jCutter 文件风格器 swing 版 [Re:booolee]
booolee

me is me



发贴: 101
于 2004-09-05 03:48 user profilesend a private message to userreply to postsearch all posts byselect and copy to clipboard. 
ie only, sorry for netscape users:-)add this post to my favorite list
下载地址

jCutter.jar (18.48k)



作者 Re:BoooLee jCutter 文件风格器 swing 版 [Re:booolee]
booolee

me is me



发贴: 101
于 2004-09-05 15:55 user profilesend a private message to userreply to postsearch all posts byselect and copy to clipboard. 
ie only, sorry for netscape users:-)add this post to my favorite list
BoooLee jCutter #20040905 MetaLookAndFeel

1、自定义对话框
2、增加递增递减按钮
3、使用motif风格LookAndFeel



作者 Re:BoooLee jCutter 文件风格器 swing 版 [Re:booolee]
booolee

me is me



发贴: 101
于 2004-09-05 16:01 user profilesend a private message to userreply to postsearch all posts byselect and copy to clipboard. 
ie only, sorry for netscape users:-)add this post to my favorite list
下载地址

jCutter.jar (27.54k)



作者 Re:BoooLee jCutter 文件风格器 swing 版 [Re:booolee]
littledeer1974

Garbage Collector

CJSDN高级会员


发贴: 1517
于 2005-01-07 15:44 user profilesend a private message to userreply to postsearch all posts byselect and copy to clipboard. 
ie only, sorry for netscape users:-)add this post to my favorite list
有什么最新消息没有啊期待新版本


Surround yourself with people who are open to change


reply to topicflat modethreaded modego to previous topicgo to next topicgo to back
  已读帖子
  新的帖子
  被删除的帖子
Jump to the top of page

   Powered by Jute Powerful Forum® Version Jute 1.5.6 Ent
Copyright © 2002-2021 Cjsdn Team. All Righits Reserved. 闽ICP备05005120号-1
客服电话 18559299278    客服信箱 714923@qq.com    客服QQ 714923