I neec explanations for following java questions1)Can you guys add the *pseudocode*
I neec explanations for following java questions1)Can you guys add the *pseudocode* (please add /pseudocode
*only*/) for some of the essential functionality of this PaddleBallDisplay class stub below?
public class PaddleBallDisplay extends JPanel {
// Add the fields
// The explicit-value constructor:
public PaddleBallDisplay(PaddleBallController controller) {
}
// Method to do all the painting for the game
public void paintComponent(Graphics g) {
// Erase what is currently in the display area
// Let the game controller object update the display
}
}
2)What is the paintComponent() method? Which components contain this method? How can you invoke/use this method?
3)What are MouseEvents? What kind of information can you obtain from a MouseEvent?
Looking for a Similar Assignment? Order now and Get 10% Discount! Use Coupon Code "Newclient"
