Use a jframe or japplet as the primary interface

Assignment Help Basic Computer Science
Reference no: EM13887645

Using JAVA

Your project is to build a simple GUI that enables the user to create and view ASCII animations. Requirements:

  • Use a JFrame or JApplet as the primary interface
  • Extend whatever Swing elements you need to create the animation
  • Use at least one interface to handle events
  • Incorporate a custom panel to accept the animations
  • Include buttons or a menu interface to allow moving between frames, saving and loading
  • User should be able to edit any frame
  • User should be able to navigate between frames
  • There should be some mechanism for saving and loading animations

The asciiCanvas

You're expected to build at least one custom class. I called mine the AsciiCanvas. This class should have the following capabilities:

  • be an extension of JTextArea or something similar
  • include the animation (probably as an array of Strings.)
  • display text in a monospace font
  • have methods for moving back and forth in the animation
  • have methods for saving and loading the animation
  • support animations of at least ten frames

As much of the animation code as possible should belong to the AsciiCanvas. The main program shouldn't actually be saving files or switching frames. The main program should be sending requests to the canvas to do the actual work when possible. Encapsulate!

Please utilize the package feature when building this app. Your program should be placed in a package.

Note that file I/O is disallowed in Applets, so if you want to write this project as an applet, you'll need to use another mechanism (like the param mechanism) to load data in.

Reference no: EM13887645

Questions Cloud

Compute ms whites casualty loss deduction : A tornado wiped out a grove of ornamental trees growing near her home. She paid $6,100 to replace the trees and received no insurance reimbursement. Compute Ms. White's casualty loss deduction if her AGI is: a. $53,000. b. $210,000.
Horizon books is a bookstore in downtown madina munawara : Horizon Books is a bookstore in downtown Madina Munawara. It carries an inventory of approximately 50,000 books. Customers come in and browse the shelves, select their books, and take them to one of three cashiers positioned in different parts of the..
Conditions is most favorable to reap gains from global scale : conditions is most favorable to reap gains from global scale economies?
Compute the couples recognized gain or deductible loss : Compute the couple's recognized gain or deductible loss under each of the following circumstances: a. The painting was insured for $200,000, which the Vales used to purchase another painting by the same artist. (See the discussion of involuntary conv..
Use a jframe or japplet as the primary interface : Use a JFrame or JApplet as the primary interface. Extend whatever Swing elements .you need to create the animationUse at least one interface to handle events
How much taxable income does mrs hess hobby generate : a. How much taxable income does Mrs. Hess's hobby generate if her AGI before consideration of the hobby revenues and expenses is $33,000 and she doesn't itemize deductions? b. How would your answer change if Mrs. Hess pays enough state and local tax ..
Suitable for consumption by management : Management Summary - Our document will begin with a summary description of our design.  The summary shall be suitable for consumption by Management.
Demographic strategy of the advertisement effectiveness : Company and product background A brief introduction to the company, the product, and any relevant information about the advertising campaign
Compute the effect on mr monks agi : Compute the effect on Mr. Monk's AGI and taxable income of his painting revenue and expenses under each of the following assumptions: a. Mr. Monk earned $13,290 from sales of his paintings. This was the sixth consecutive year that the painting activi..

Reviews

Write a Review

Basic Computer Science Questions & Answers

  Identifies the cost of computer

identifies the cost of computer components to configure a computer system (including all peripheral devices where needed) for use in one of the following four situations:

  Input devices

Compare how the gestures data is generated and represented for interpretation in each of the following input devices. In your comparison, consider the data formats (radio waves, electrical signal, sound, etc.), device drivers, operating systems suppo..

  Cores on computer systems

Assignment : Cores on Computer Systems:  Differentiate between multiprocessor systems and many-core systems in terms of power efficiency, cost benefit analysis, instructions processing efficiency, and packaging form factors.

  Prepare an annual budget in an excel spreadsheet

Prepare working solutions in Excel that will manage the annual budget

  Write a research paper in relation to a software design

Research paper in relation to a Software Design related topic

  Describe the forest, domain, ou, and trust configuration

Describe the forest, domain, OU, and trust configuration for Bluesky. Include a chart or diagram of the current configuration. Currently Bluesky has a single domain and default OU structure.

  Construct a truth table for the boolean expression

Construct a truth table for the Boolean expressions ABC + A'B'C' ABC + AB'C' + A'B'C' A(BC' + B'C)

  Evaluate the cost of materials

Evaluate the cost of materials

  The marie simulator

Depending on how comfortable you are with using the MARIE simulator after reading

  What is the main advantage of using master pages

What is the main advantage of using master pages. Explain the purpose and advantage of using styles.

  Describe the three fundamental models of distributed systems

Explain the two approaches to packet delivery by the network layer in Distributed Systems. Describe the three fundamental models of Distributed Systems

  Distinguish between caching and buffering

Distinguish between caching and buffering The failure model defines the ways in which failure may occur in order to provide an understanding of the effects of failure. Give one type of failure with a brief description of the failure

Free Assignment Quote

Assured A++ Grade

Get guaranteed satisfaction & time on delivery in every assignment order you paid with us! We ensure premium quality solution document along with free turntin report!

All rights reserved! Copyrights ©2019-2020 ExpertsMind IT Educational Pvt Ltd