<< Prev Showing: 246-250 of 348 Next >>
· 221-225 · 226-230 · 231-235 · 236-240 · 241-245 · 246-250 · 251-255 · 256-260 · 261-265 · 266-270 · 271-275 ·Please help me create a GUI with 3 JTextField (one for loan amount, one for term, and one for interest rate), one JTextArea (where the monthly payment schedule will be displayed; appended for each month, for all moths; attach a JScrollPane to the JTextArea), one JComboBox (with 3 selections: 7 year at 5.35%, 15 year at 5.5 %, 30 year at 5.75%), and 3 JButton (one for computing the monthly payment schedule, one for resetting all fields, and one for exit the application). The user should be able to input in the text fields the loan amount, interest rate, and term, or input the loan amount in a text field and then select from the combo box the type of loan.
Subject:
Computer Science
Topic:
Software Tools and Systems Programming.
Posting ID:
129855
OTA ID:
101298
(Binary Tree Delete) In this exercise, we discuss deleting items from binary search trees. The deletion algorithm is not as straightforward as the insertion algorithm. There are three cases that are encountered when deleting an item–the item is contained in a leaf node (i.e., it has no children), the item is contained in a node that has one child or the item is contained in a node that has two children. If the item to be deleted is contained in a leaf node, the node is deleted and the reference in the parent node is set to null. If the item to be deleted is contained in a node with one child, the reference in the parent node is set to reference the child node and the node containing ... click for more
Subject:
Computer Science
Topic:
Software Tools and Systems Programming.
Posting ID:
129940
OTA ID:
101298
GUI Components - Java - Guess the Number
Write an application that plays "guess the number" as follows: Your application chooses the number to be guessed by selecting an integer at random in the range 1-1000. The application then displays the following in a label: I have a number between 1 and 1000. Can you guess my number? Please enter your first guess. A JTextField should be used to input the guess. As each guess is input, the background color should change to either red or blue. Red indicates that the user is getting "warmer," and blue indicates that the user is getting "colder." A JLabel should display either " Too High" or "Too Low" to help the user zero in on the correct answer. When the user gets the correct answer, "... click for more
Subject:
Computer Science
Topic:
Software Tools and Systems Programming.
Posting ID:
130279
OTA ID:
101298
Java Applets - Floating-Point Numbers
Write an applet that asks the user to enter two floating-point numbers, obtains the numbers from the user and displays the two numbers first and then the larger number followed by the words "is larger" as a string on the applet. If the numbers are equal, the applet should print the message "These numbers are equal." Use the techniques shown in Fig. 20.10. -------------------------------------------- // Fig. 20.10: AdditionApplet.java // Adding two floating-point numbers. import java.awt.Graphics; // program uses class Graphics import javax.swing.JApplet; // program uses class JApplet import javax.swing.JOptionPane; // program uses class JOptionPane public class Additio... click for more
Subject:
Computer Science
Topic:
Software Tools and Systems Programming.
Posting ID:
130280
OTA ID:
101298
Java Applets - Class Graphics contains method drawOval
Class Graphics contains method drawOval, which takes as arguments the same four arguments as method drawRect. The arguments for method drawOval specify the "bounding box for the oval - the sides of the bounding box are the boundaries of the oval. Write a Java applet that draws an oval and a rectangle with the same four arguments. The oval will touch the rectangle at the center of each side.
Subject:
Computer Science
Topic:
Software Tools and Systems Programming.
Posting ID:
130283
OTA ID:
105303
<< Prev Showing: 246-250 of 348 Next >>
· 1-5 · 6-10 · 11-15 · 16-20 · 21-25 · 26-30 · 31-35 · 36-40 · 41-45 · 46-50 · 51-55 · 56-60 · 61-65 · 66-70 · 71-75 · 76-80 · 81-85 · 86-90 · 91-95 · 96-100 · 101-105 · 106-110 · 111-115 · 116-120 · 121-125 · 126-130 · 131-135 · 136-140 · 141-145 · 146-150 · 151-155 · 156-160 · 161-165 · 166-170 · 171-175 · 176-180 · 181-185 · 186-190 · 191-195 · 196-200 · 201-205 · 206-210 · 211-215 · 216-220 · 221-225 · 226-230 · 231-235 · 236-240 · 241-245 · 246-250 · 251-255 · 256-260 · 261-265 · 266-270 · 271-275 · 276-280 · 281-285 · 286-290 · 291-295 · 296-300 · 301-305 · 306-310 · 311-315 · 316-320 · 321-325 · 326-330 · 331-335 · 336-340 · 341-345 · 346-348 ·Page generated in 0.0952 seconds