I have 2 really easy programs, but have no time to write them. Here is the criteria, and below i have 2 pictures of what they should look like: 1st Program: 1)Create a frame and set its content pane's layout to BorderLayout. 2)Create two panels and a text field and add them to the frame. You will need to specify locations (e.g., NORTH). 3)Set the first panel's background to yellow and the second panel's to red. 4)Each panel contains three buttons. The panel uses FlowLayout. 5)Set the foreground color of buttons to blue. When a button is clicked, display a message in the text field indicating that a button has been clicked. 2nd Program Application should randomly draw lines using method drawLine of class Graphics. After drawing 100 lines, the application should clear itself and start drawing lines again. To allow the program to draw continuoulsy, place a call to repaint as the last line in method paint. You can draw lines on a panel rather than on a frame. That is, you can use paintComponent() method instead of paint() method. Be sure to put repaint(); statement at the end of paintComponent() method. BTW: For generating random numbers: If you want to generate numbers between 0 to 255, (int)[url removed, login to view]()*256 will do
1) Complete and fully-functional working program(s) in executable form as well as complete source code of all work done. 2) Installation package that will install the software (in ready-to-run condition) on the platform(s) specified in this bid request. 3) Complete ownership and distribution copyrights to all work purchased.
Java I use Jbuilder to make my programs