Giter VIP home page Giter VIP logo

robotgui's Introduction

Logo

Extension To RobotAssignment

This is an extension to the Robot Assignment repo. It uses the different types of robots created in that repo to create a graphical application which uses JSwing and multiple design patterns. RobotGUI is a model/view application that presents three views of a shared model. Such applications are commonplace and introduce the need for views to be mutually consistent and synchronised with a model whose state changes at run-time.

Screenshots

alt text

Usage

With this GUI, you can add as many robots and customise their characteristics. Robots with custom images are able to be loaded as well and properties such as speed and size can be set individually. On startup the Robot application attempts to read configuration information from the filenamedrobot.properties. You should locate this file within your logon directory. For homePCs running Windows, the logon directory isC:/Users/username. You should ensure that the robot classes property lists the fully qualified names of Robot subclasses that you want the application to use. Essentially, the combo box on the GUI is populated with the names of the classes you specify for the robot classes property. Hence when using the application you can specify the kind of robot you want to add to the animation. In specifying class names for this property, each name should be separated by whitespace; note however that if names are spread across multiple lines a \ character should end each line except the last. For example, the following specifies that two classes should be loaded:
robotclasses = robot.WheeledRobot\
robot.CarrierRobot

robotgui's People

Contributors

preetpatel avatar

Stargazers

Edward Zhang avatar

Watchers

James Cloos 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.