Giter VIP home page Giter VIP logo

assignment's Introduction

Assignment for the technical interview.

Design and build a JavaFX application that will list all the files present in a directory in a tree view. The app should allow users to change the directory via a menu button, upon selecting the menu a popup should be given to either enter the directory manually or select it via a file chooser button. The app should split the displayed window in 2 parts and show the list of files in one half and the other half should be used to display the content of files within a tab window. For this exercise, please limit the allowed file types to “.txt” only. The intention here is NOT to implement a full text editor. The user will open the file for display via double clicking the file name from the tree display. The file contents in the display should be editable and once the user modifies the contents of the file, a ‘*’ should appear in the tab name indicating the file is modified. Use “user\Documents\” as the default directory for the application start Optional extensions

  1. Add a save menu or tool bar button to save the displayed contents back to the file, once the file is saved the ‘*’ from the tab name should disappear
  2. Add context menu option in the file tree to “open in Explorer” to open the file location in Windows Explorer
  3. Check if any file/s are modified when closing the application or tab

Questions for technical interview.

  1. Core Java questions
  2. 2 or 3 problem solving questions

assignment's People

Contributors

sunsiwen avatar sunsiwen2019 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.