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

  Describe a dbms and its functions

Describe a DBMS and its functions. Name some of the popular DBMS software? You should search the Internet for the updated DBMS technology.

  What is the final value of loopcount

What is the final value of loopCount after control exits the following loo? loopCount = 1; NL while ( loopCount

  Database administrator's function

Primitive operations common to all record management systems include. Which of the following is a database administrator's function?

  How might an information system administrator make a case

How might an information system administrator make a case for the implementation of Enterprise

  What are the advantages of using variables in a data type

What are the advantages of using variables in a data type? Substantiate your response with suitable examples. Justify your answers using examples and reasoning. Comment on the postings of at least two classmates with regard to whether you agree or..

  The two octets following the address fields

NICs can tell whether an arriving frame is tagged or not simply by looking at it. How can they do so? (Hint: They look at the value in the two octets following the address fields.)

  Open systems interconnection model is inherently inefficient

The Open Systems Interconnection model is inherently inefficient. On the source host, each layer must take the work of higher layers, add some result, and pass the work to lower layers. On the destination host, each layer must process these re..

  Write a method that has the radius of the circle passed

Write a method that has the radius of the circle passed into it. It computes the area, and returns the area to the main method.

  Write a computer program that calculates the average

The following is a list of 20 exam scores. Write a computer program that calculates the average of the top 8 scores.

  Use regression analysis definition

Problem 3.  For the following set of points, calculate the value of 'r' and infer how are the points correlated. Use regression analysis definition or 'r' using covariance (x, y), var(x) and var(y).

  Need help with writing prototype functions

Need help with writing prototype functions: For this assignment, you must write pseudocode and C code for several sub-functions that use pointers and arrays, and a main() function that calls your sub-functions, printing the specified values

  What type of system was selected for network administrator

What type of system was selected for your computer administrator. What type of system was selected for your network administrator. What type of system was selected for yourself, as business manager

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