Java | JSP | JSF Answers

Questions: 4 418

Answers by our Experts: 3 943

Need a fast expert's response?

Submit order

and get a quick answer at the best price

for any assignment or question with DETAILED EXPLANATIONS!

Search & Filtering

I just put in a new order. Task # 25096. When will I hear back from you? It says the price is N/a, and the status is "checking". How soon before you can get back to me and let me know if you can do the assignment, along with the price.
Create a class called, ThreeObjectAnimation, that creates a graphic animation with three animation object. The ThreeObjectAnimation class should move three objects around the frame, either randomly, or following a fixed pattern. The movements should occur every 250 milliseconds. The ThreeObjectAnimation class should use three classes, ObjectA, ObjectB, and ObjectC for these three movable objects. The object are allowed to intersect. Each of these classes is responsible for drawing a distinct graphics object with at least four shapes and two colours.

The size and colour of the shapes drawn by ObjectA, ObjectB, and ObjectC should be modified every 500 milliseconds. For example, if ObjectA draw a rectangle, then the size of the rectangle could change, a circle in ObjectB could changle colour..
please i am trying to make GPA calculator in java GUI but i the code isnt working so please anyone tell em what is the wrong with it and thanks in advance

import java.awt.EventQueue;
import java.awt.Font;
import java.awt.event.ActionEvent;
import java.awt.event.ActionListener;
import java.util.InputMismatchException;
import javax.swing.JButton;
import javax.swing.JFrame;
import javax.swing.JLabel;
import javax.swing.JOptionPane;
import javax.swing.JPanel;
import javax.swing.JTextField;
import javax.swing.SwingConstants;
import javax.swing.border.EmptyBorder;
public class GPA extends JFrame {
private JPanel contentPane;
private JTextField grades1;
private JTextField credits1;
private JTextField grades2;
private JTextField credits2;
private JTextField grades3;
private JTextField credits3;
private JTextField grades4;
private JTextField credits4;
private JTextField grades5;
private JTextField credits5;
private JLabel class6;
private JTextField grades6;
private JTextFiel
I have to write a program that prompts the user for N the number of dice rolled and M the times the dice is rolled , then i must repeat M times the rolling of N six sided die and compute and record and sum of rolls , then i must report how many times along with a percentage , each possible total from 6 to 6N using an array to keep track of totals. I am having major trouble getting the dice incorporated with the array, can someone please assist me?
what is the standard location in my project folder for text file to be store so that it will be read after making the program's executable jar file. pls help that will be appreciable.
Thanks
Can AssignmentExpert deal with Java projects that are to be made for an Android platform using Eclipse? . i.e. some activities that a programmer is struggling to implement in the application.
http://pastebin.com/BH4hwmPE
My code can't compile.It gives a "recompile with -xlint:unchecked for details" error message when i try to compile it in bluej.
Write a Servlet that lets a user vote for his favorite food from a combo box or radio buttons (the user must be able to make multiple food selections per request).
• Store the favorite foods and the number of votes for each food.
• Display all foods and their number of votes in alphabetical order back to the user.
• Use database to store the data.
hello sir i am using hashset of type integer in my code
HashSet<Integer> set = new HashSet<Integer>();
for(int j=0;j<2;j++){
if(set.contains(l[i][j])==false){
set.add(l[i][j]);
//System.out.print(set);
//System.out.print(" "+l[i][j]);
}
}
Iterator iterator =set.iterator();
while(iterator.hasNext())
{
System.out.println(iterator.next());

}
and want to eliminate duplicate from that but its not working output is
[0][0, 4]
[1][1, 7]
[2][2, 8]
[3][3, 9]
[4][0, 4]
[5][5, 9]
[0]
[7][1, 7]
[8][2, 8]
[9][5, 9]
i don't want similar items like [0, 4] repeating
so please help me
Every time I try to open my javascript file i get this error on Line: 1 Char: 1 Error: 'window' is undefined Code: 800A1391 Source: Microsoft JScript runtime error

My code is a simple html file, a javascript js file, and a json file. The html and json file opens up but the javascript does not. also the javascript is supposed to make the info in the json file appear on the html page but it does not

this is the javascript

window.onload = function() {
var url = "file:///C:/wamp/www/gumball/sales.json";
var request = new XMLHttpRequest();
request.open("GET", url);
request.onload = function() {
if (request.status == 200) {
updateSales(request.responseText);
}
};
request.send(null);
}
function updateSales(responseText) {
var salesDiv = document.getElementById("sales");
salesDiv.innerHTML = responseText;
}
LATEST TUTORIALS
APPROVED BY CLIENTS