An elevator simulator built with Java
View Demo
·
Report Bug
·
Request Feature
Document Summary
For a brief summary, it can be said that this Java program functions as a simple elevator simulator, featuring a handcrafted interface using javax.swing elements.
Designed to emulate a 9-floor building, including basement levels (ranging from -2 to the sixth floor), the simulation features a single elevator. Users can observe the elevator's movement, current floor, and status.
Notable is the absence of simultaneous operation for two elevators or the implementation of a waiting queue, providing a simplified yet effective exploration of elevator system functionality within a multi-story structure.
The Initial Interface simulates an Apartment, where it's possible to observe some important elements for the simulation.
Elements:
- There is a top line, simulating the building's floors, which can call an elevator
- There are two elevators, one on the left and one on the right
- In each elevator, there are two important pieces of information: the name and the floor it is on, and its status (whether it's in motion, stopped, open, etc.)
This section should list any major frameworks/libraries used to bootstrap your project. Leave any add-ons/plugins for the acknowledgements section. Here are a few examples.
This is an example of how you may give instructions on setting up your project locally. To get a local copy up and running follow these simple example steps.
This is an example of how to list things you need to use the software and how to install them.
- npm
npm install npm@latest -g
Below is an example of how you can instruct your audience on installing and setting up your app. This template doesn't rely on any external dependencies or services.
- Get a free API Key at https://example.com
- Clone the repo
git clone https://github.com/your_username_/Project-Name.git
- Install NPM packages
npm install
- Enter your API in
config.js
const API_KEY = 'ENTER YOUR API';
Use this space to show useful examples of how a project can be used. Additional screenshots, code examples and demos work well in this space. You may also link to more resources.
For more examples, please refer to the Documentation
- Add Changelog
- Add back to top links
- Add Additional Templates w/ Examples
- Add "components" document to easily copy & paste sections of the readme
- Multi-language Support
- Chinese
- Spanish
See the open issues for a full list of proposed features (and known issues).
Contributions are what make the open source community such an amazing place to learn, inspire, and create. Any contributions you make are greatly appreciated.
If you have a suggestion that would make this better, please fork the repo and create a pull request. You can also simply open an issue with the tag "enhancement". Don't forget to give the project a star! Thanks again!
- Fork the Project
- Create your Feature Branch (
git checkout -b feature/AmazingFeature
) - Commit your Changes (
git commit -m 'Add some AmazingFeature'
) - Push to the Branch (
git push origin feature/AmazingFeature
) - Open a Pull Request
Distributed under the MIT License. See LICENSE.txt
for more information.
Your Name - @your_twitter - [email protected]
Project Link: https://github.com/your_username/repo_name
Use this space to list resources you find helpful and would like to give credit to. I've included a few of my favorites to kick things off!