GithubHelp home page GithubHelp logo

qu-xiangjun / gui_filemanager Goto Github PK

View Code? Open in Web Editor NEW
1.0 1.0 0.0 43 KB

This is a simple GUI file manager. It only construct function of create, delete, zip, unzip, encrypt, decrypt and show file or folder.

License: MIT License

Java 100.00%

gui_filemanager's Introduction

File Manager

这个是一个用java简单实现的gui文件管理器。

运行

FileManager.jar程序可直接运行作业文件管理器软件。

项目目的

运用面向对象程序设计**,基于Java文件管理和I/O框架,实现基于图形界面的GUI文件管理器。

项目内容

  1. 实现文件夹创建、删除、进入。
  2. 实现当前文件夹下的内容罗列。
  3. 实现文件拷贝和文件夹拷贝(文件夹拷贝指深度拷贝,包括所有子目录和文件)。
  4. 实现指定文件的加密和解密。
  5. 实现指定文件和文件夹的压缩。
  6. 实现压缩文件的解压。
  7. 文件管理器具有图形界面。

项目结构

MVC结构

模型Model

f ileManage类,实现对文件的访问、新建、删除、复制、加解密、解压缩等操作处理,将所有对底层文件的操作权限限制在Model一层。

视图View

GUI类,创建可视化面板,在JFrame的基础上创建JPanel来容纳可视化部件。

控制 Controller

Controller类,实现对可视化界面鼠标事件的处理,链接GUI和fileManager。

程序实现流程设计

基于MVC模式,可视化面板提供可视化操作框和按钮等,controller接受到GUI中的鼠标点击事件等,发出操作文件的命令,在Model一层对文件进行新建、删除等操作。

gui_filemanager's People

Contributors

qu-xiangjun avatar

Stargazers

 avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.