<< Prev Showing: 186-190 of 348 Next >>
· 161-165 · 166-170 · 171-175 · 176-180 · 181-185 · 186-190 · 191-195 · 196-200 · 201-205 · 206-210 · 211-215 ·9 button frame based application
Create a Frame-based application that displays an array of nine buttons on a Panel. Assign the Panel to the Center of your frame. Each button should display the name of a course in your department. Include a TextField in the South. When the user clicks a button, the course name should display in the TextField. There should be a label in the North telling how to use the program. Also please provide a screenshot of what the program looks like too please.
Subject:
Computer Science
Topic:
Software Tools and Systems Programming.
Posting ID:
111121
OTA ID:
105303
Payroll Swing Applet - CalcPay
Create a payroll Swing applet named CalcPay that allows the user to enter two double values—hours worked, and an hourly rate. When the user clicks a JButton, gross pay is calculated. There is another JButton for clicking so that federal withholding tax is subtracted from gross pay based on the following table: Income $ Withholding % $0 to $99.99 10 $100.00 to $299.99 15 $300.00 to $599.99 21 $600.00 and up 28
Subject:
Computer Science
Topic:
Software Tools and Systems Programming.
Posting ID:
111892
OTA ID:
104967
Describe how class diagrams can be used to document the structure of a Java program.
Based on Guéhéneuc (2004) article (attached), describe how class diagrams can be used to document the structure of a Java program. What are some other models a programmer may need to fully understand the interaction between the various classes/objects in a Java program? What is the impact of not having diagrams that describe the program?
Subject:
Computer Science
Topic:
Software Tools and Systems Programming.
Posting ID:
111893
OTA ID:
102833
This applet program needs an html file to run. You should supply the file along with the program so that the reader can test it. import java.applet.*; import java.awt.*; public class DrawRectangles extends Applet { int width, height; public void init() { width = getSize().width; height = getSize().height; setBackground( Color.white ); } public void paint( Graphics g ) { //(back, blue, cyan, darkGray, gray, green, lightGray, magenta, orange, pink, red, white and yellow) drawRectangle(g,Color.black,10,10); drawRectangle(g,Color.blue,10,40); drawRectangle(g,Color.cyan,10,70); drawRectangle(g,Color.darkGra... click for more
Subject:
Computer Science
Topic:
Software Tools and Systems Programming.
Posting ID:
112024
OTA ID:
102833
I need the size of the frame to be set a little bit larger than its content, which is a label. Also, the location could be set so that it could be appeared not at the upper left corner of the screen. And we can set the foreground and background color of the label. import javax.swing.*; import java.util.*; public class helloWorldSwing { private static void createAndShowGUI() { //Make sure we have nice window decorations. JFrame.setDefaultLookAndFeelDecorated(true); //Create and set up the window. JFrame frame = new JFrame("HelloWorldSwing"); frame.setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE); //A... click for more
Subject:
Computer Science
Topic:
Software Tools and Systems Programming.
Posting ID:
112025
OTA ID:
102833
<< Prev Showing: 186-190 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.0944 seconds