Explore BrainMass


Java applet using JFrame SWING

See attached ----------------- Activities Listing YES NO Get information about cruises. Make reservations for dinning. Make reservations for golfing. Reserve the Club House. I am trying a SWING GUI program (probably using border layout North, South, East, West) to make this applet. Each button u

Design a Swing GUI

Design and code a Swing GUI for a two-player tic-tac-toe game on a 3 by 3 game board. The JFrame should use a BorderLayout with a JLabel in the NORTH region to display messages (e.g. who won the game), and a JPanel in the CENTER region to display the game board. For the game board in the JPanel, use a GridLayout manager with a

Programming languages type less

1. Some programming languages are typeless. What are a few of the obvious advantages and disadvantages of having no types in a language. Keep your answer to 1 paragraph or less. 2. Dynamic type binding is closely related to implicit heap-dynamic variables. Explain this relationship. Keep your answer to 1 paragraph or less

Westfield Carpet Company: Programs Calculating Price

The Westfield Carpet Company has asked you to write an application that calculates the price of carpeting for rectangular rooms. To calculate the price, you multiply the area of the floor(width times length) by the price per square foot of carpet. For example, the area of floor that is 12 feet long and 10 feet wide is 120 squar

Java Reader Program: int Values

Write a program that will search a text file of strings representing numbers of type int and will write the largest and the smallest numbers to the screen. The file contains nothing but strings representing numbers of type int one per line. Your solution can use either the BufferedReader class or the Scanner class. To read a

Writing Java Codes

1. Write a Java code that will change the value of myary[4] to 100: 2. Write the code for a char array that will hold the letter grade for the entire online grading scheme. 3. What is the value of x after x = myary.length? 4. Write a code to declare a 2D integer array myary1 which has 3 columns and 4 rows. 5. Write

Write a java syntax

1. Write Java syntax which declares a 1D integer array myary that holds 5 values. 2. Instantiate and initialize the array from Q#1 with values: 5, 3, 5, 7,

Interactive Java GUI Program Requesting Two Numbers

Write a complete interactive Java GUI program that requests two numbers from the user. The first number is the row dimension and the second number is the column dimension. Print to the user a rectangle of stars based on the input. The program must do the following: a. Print the rectangle of stars. b. Error check for bad inpu

Combining Loop Problems

Combine the four loop problems into one program with four distinct methods (the data is in the attached document). For this problem you will write methods, two value returning methods and two void methods. You may chose of the 4 distinct loop problems. The methods must include: - One value-returning method with a parameter

Writing a Program in Java for Outputing Lyrics

-------------------------------------------------------------------------- Instructions are as follows. Write a program that outputs the lyrics for "Ninety Nine Bottles of Beer on the Wall". Your program should print the number of bottles in English, not as a number. For example: Ninety nine bottles of beer on the wa

Linux versus Windows Server 2003

What are some differences and/or similarities between operating systems for computers that are networked and computers that stand alone? Compare and contrast two network operating systems (Linux and Windows Server 2003). Why these would be appropriate for a client - in helping them make the best decision for their organiza

Writing a Program in Java

(The following is exactly how the problem is presented) import java.util.Scanner; import java.text.DecimalFormat; /** Iteratively computes e^x for a given value x, outputing values at iteration 1 to 10, 50, and 100 */ public class Ex { public static void main(String[] args) { // Make a Scanner to

Java: How to Program

Choose a product that lends itself to an inventory (for example, products at your workplace, office supplies, music CDs, DVD movies, or software). Create a product class that holds the item number, the name of the product, the number of units in stock, and the price of each unit. Create a Java application that displays the

Question about A java program to read values and calculate payroll

Modify the Payroll Program application so it continues to request employee information until the user enters stop as the employee name. In addition, program the application to check that the hourly rate and number of hours worked are positive numbers. If either the hourly rate or the number of hours worked is not a positive valu

Excel Intermediate Skills

A compound document within Microsoft Office usually consists of a Word document with another office-type document (i.e. Excel, PowerPoint slideshow, etc.) within the Word document. Find the definition of a compound document doing some Internet research (not Wikipedia). Also, find information about object linking and embedding.

Hashing in Cryptography

Bob believes that he has come up with a nifty hash function. He assigns a numeric value VChar to each letter in the alphabet equal to the letter's position in the alphabet, i.e., VA = 1, VB = 2, ..., VZ = 26. For a message, he calculates the hash value H = (VChar 1 x VChar 2 x VChar 3 ...x VChar N) mod(26). Bob uses this functio

Java Inventory Program

Use existing Java Program... Modify the Inventory Program so the application can handle multiple items. Use an array to store the items. The output should display the information one product at a time, including the item number, the name of the product, the number of units in stock, the price of each unit, and the value of

Mortgage Calculator in Java

Please help with the following problem involving programming languages. Change Request #2 Requestor: Dwain Hammer - Billings, MT Write the program in Java (without a graphical user interface) and have it calculate the payment amount for 3 mortgage loans: - 7 year at 5.35% - 15 year at 5.5% - 30 year at 5.75% Use a


Dear OTA, Please help me in solving the follwing JAVA program. Homework -- Week3Project2 ? Write a program that uses loops to output some information. ? The program should have two classes. ? The class with the main method should be named CountXXXStart. ? The other class should be named CountXXX. ? The CountXX

Java and UNIX

Does anyone know the answer why would Java advocates support UNIX?

Java server pages (JSP)

Need assistance with the attached problem. Two to three page discussion on developing web applications with Java server pages (JSP) Show source code for creating the following: Using JSP codes, create a form that validates the data before passing along to the server in order to make sure that the information it needs to p

Server-side Scripting Language and Database

You've been hired by Company X to build a web site which will include a data-driven component. Describe how you would go about choosing which server-side scripting language and database you would recommend to the management of Company X for this project.

Constructing Shapes Through Inheritance and Aggregation

****This is to be written in Java**** Using the attached files modify the code to use inheritance, an interface, and aggregation by completing the following steps: 1. In the Shape class, eliminate the concrete methods, area() and perimeter(); create an instance variable of type String called name; and make a constructor th

Debugging Java Codes

****This needs to be written in Java***** The TestCircle class is a Java application that creates a Circle object using the class, Circle, which incorporates the class, Shape. The TestCircle class displays the name of the shape; the radius as an X, Y coordinate location; and the area. It also changes the radius to a new valu

Using Abstract Classes and Methods

****This needs to be written in Java***** Create the Java source code files for the classes listed in the inheritance hierarchy displayed in Figure 10-60a (attached to post). Create a new Java source code file and enter code for the test program, as shown in Figure 10-60b (attached to post). Compile all sou

Simulating User Logon Tracking with an ArrayList

****This needs to be written in Java***** Computer systems typically track the number of users logged on to the system at any point in time. Some systems do not allow more than one simultaneous logon by a given user. Write an application to simulate user logon tracking as shown in Figure 9-52 (attached to post). The app