Java程序辅导

C C++ Java Python Processing编程在线培训 程序编写 软件开发 视频讲解

客服在线QQ:2653320439 微信:ittutor Email:itutor@qq.com
wx: cjtutor
QQ: 2653320439
Java Mini Assignment Java Mini Assignment 1 Write a program that allows the user to enter a string in text field, when the user presses the return key, generating an action event, the string should be shown in a Listbox (List in AWT) repeated as many times as there are letters in the word. This can be implemented as either an application or an applet. Submit using submit_cps108 mini ... Due on Wednesday, March 25 Java Mini Assignment 2 Write a program based on the MultiBouncy class found in the Bouncing Applet code examples. You should make the following changes: Add two buttons: one to add a new ball (at a random starting location) and one to pause/start the action -- this second button should replace the mouse listener in the current version. Add the buttons in a panel that's under the area in which the bouncing images are drawn. Make three kinds of bouncers, each with a different color and each with different characteristics: A red bouncer as in the original program A green bouncer that wraps around when it hits an edge, i.e., when hitting the bottom of the screen it should re-appear at the top, when hitting the left-edge it should re-appear at the right, and so on. A blue bouncer that travels more quickly than the others by having larger myDX and myDY values. Add buttons for each type of bouncer to the button bar Submit using submit_cps108 mini2 ... you can work with one person on this. Due on Monday, March 30 Java Mini Assignment 3 Modify the bouncer applet so that the user can enclose all the bouncers in a rectangle, and drag the rectangle to be bigger or smaller. As the rectangle is made bigger or smaller the boundaries used by the bouncers should be adjusted accordingly. When the user drags the mouse on the viewing area a rubber-banded rectangle should be shown that represents the physical boundary/container for the bouncers. For an example of rubber-banding see the Graphic Java Toolkit (gjt) info on the documentation page Submit using submit_cps108 mini3 ... Due on Monday, April 6, this counts as two mini assignments you can work with one person on this. Owen L. Astrachan Last modified: Wed Mar 25 22:32:31 EST 1998