Start Discovering Solved Questions and Your Course Assignments
TextBooks Included
Active Tutors
Asked Questions
Answered Questions
problemwrite a program that lets users design bar charts with a mouse when the user clicks inside a bar the next mouse
problemimplement a program that allows two players to play tic-tac-toe draw the game grid and an indication of whose
problemwrite a program that allows the user to specify a triangle with three mouse presses after the first mouse press
problem1 write a program that allows the user to specify a circle by typing the radius in a text field and then
problem1 change the rectangle component for the mouse listener program in section 116 so that a new rectangle is added
problem1 write a program that animates a car so that it moves across a frame2 write a program that animates two cars
problem1 write an application with a combo box containing three items labeled red green and blue that change the
problem1 write an application with three radio buttons labeled red green and blue that changes the background color of
problem1 write an application with three buttons labeled red green and blue that changes the background color of a
problem1 what is the difference between an action event and a mouse event2 what information does an action event object
problem1 how many swing user-interface components are there look at the java documentation to get an approximate
problem1 why doesnt a j combo box send out change events2 what component would you use to show a set of choices as in a
problem1 what is the difference between a menu bar a menu and a menu item2 when browsing through the java documentation
problem1 can you add icons to check boxes radio buttons and combo boxes browse the java documentation to find out then
problem1 what happens if you place multiple buttons directly into the south area without using a panel try it out by
problem1 can you use a flow layout for the components in a frame if yes how2 what is the advantage of a layout manager
problem1 why must the mouse press listener class supply five methods2 how could you change the behavior of the program
problem1 how can you make two rectangles move in parallel in the scene2 what would happen if you omitted the call to
problem1 how can you make the rectangle move backwards2 describe two ways of modifying the program so that the
problem1 suppose you want to allow users to pick a color from a color dialog box which class would you use look in the
problem1 why do j menu objects not generate action events2 can you add a menu item directly to the menu bar try it out
problem1 what happens if you place two buttons in the northern position of a border layout try it out with a small
problemperform a comparative analysis that studies the collision rates for various hash codes for character strings
problemextend the previous project by providing a graphical animation of the skip list operations visualize how entries
problem1 implement the methods of the ordered dictionary adt using a skip list2 implement a dictionary that supports