Git Product home page Git Product logo

final-project-flashget's Introduction

FlashGet

FlashGet is an application to download file from URL in high-speed download by using multithreaded.


Usage

Change directory to flashget.jar file location and use this command

java -jar flashget.jar

For Java 11 or new version you need to specify the module path for JavaFX.

java --module-path {module javaFX path} --add-modules javafx.controls,javafx.fxml,javafx.graphics -jar flashget.jar

Ex.

java --module-path C:\Users\USER\Documents\lib\javafx-sdk-11.0.2\lib --add-modules javafx.controls,javafx.fxml,javafx.graphics -jar flashget.jar

Imgur


Interface

Imgur

  • 1 is the text field to input the URL to download.
  • 2 is a download button. If the text field is empty it does not do anything, when the user put an invalid URL or that URL cannot download it will show a dialog to change the URL. If it can download user can choose the directory path to save a file.
  • 3 is a clear button to clear the input and all progress bars.
  • 4 is the option to use thread for download
    • Auto Thread means the program will choose the number of threads for download.
    • Custom Thread means the user can choose the number of threads for download.
    • Combobox will show when the user clicks the custom thread option only.
  • 5 will show when user click the download button and input URL can download, it shows file name and process.
  • 6 is a cancel button to cancel the download process.
  • 7 show all threads progress bar that use to download.

UML Diagram

Imgur


Features

  • Graphical UI where the user can choose a directory where to save the download.
  • Before download, the user can check how large is the file he wants to download.
  • Progress bars show download progress.
  • Option to use thread for download

Technology Used

  • Interface to shown used JavaFX and SceneBuilder
  • Used css file to styling the GUI

Pattern

  • command pattern
  • observer pattern

Education Value

  • Learn how to use threads and random access file I/O.
  • Learn how to create a GUI with JavaFX.
  • Learn to use SceneBuilder
  • Learn to use css styling the GUI

final-project-flashget's People

Contributors

nuttapol-kor 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.