32,204 Topics
| |
hi i m plannin to build a gaming web site using java. so basicaly i want to know where to start from and the things i need to consider and are concerned for the same. | |
Hello.. I am new here and hope that u can help me to solve my problem in java programming. Actually I am doing my final project titled as Presentation Tools (PT). This project is similar to the Microsoft Power Point and also OpenOffice. The problem now my PT didn't have … | |
can any help me with this while loop it should follow a maximum of 40 regular hours, a maximum of 20 overtime hours, and a maximum of $10.00 for the hourly pay rate. evertime i put my while loop in the code and run it , it doesnt do anything … | |
I have a .jar file; in this .jar file I have many .class files but no .java files for these class files. Is it possible to add functionality to the program? If so how? | |
Tabula is a Java Web Framework, comprised of several subprojects, such as a server and GUI tools. Right now there is an early alpha version of the server and REST editor available. The framework is based on SOFEA, removing the UI responsibilities from the server to other applications. The server … | |
I understand arrays pretty well but I am so stuck on where to put it. Everything I enter into the inventory program seems to be in the wrong place or written the wrong way. I am so confused can someone help me? This is the program I have so far, … | |
I have written the following class, and demo, in which I used a default exception (InvalidInputException)... I ran it, and it worked. So I tried my own exception, which I cannot get to work. How do I change the exception that is taken to my own (the Invalid TestScore class)? … | |
[code] public int getMathInformation(int a, char op, int b) throws RemoteException { int result = 0; if(op == '+') result = a + b; else if(op == '-') result = a - b; else if(op == 'x') result = a * b; else if(op == '/') result = a / … | |
I'm confused how GridBagLayout can be used as if it was GridLayout(0,2). For example, I would like to lay out components like this: Label TextFieldForLabel Label TextFieldForLabel Label TextFieldForLabel Label TextFieldForLabel I thought by making a GridBagConstraints() Object, then setting the gridx and gridy variables, this could be accomplished (Java … | |
I am working on modifying a BankAccount class for a project I'm doing. I am almost finished, but I am stuck on my second constructor. If a user has an existing account (i.e if there is an initial balance), then the BankAccount constructor should call a deposit method to allow … | |
I am trying to write an exception to throw, for an invalid testScore array. If the scores are greater than 100 or less than one. I attached the three classes I have created. I also have to return the average.... If anyone can help I would appreciate it. I am … | |
Hi, I have a Cinema class as shown in the code below. However I'm required to create my own exceptions and pass them to the controlling module (here method with scenarios). After an exception occurs the code should stop execution of current scenario and go to another one. The code … | |
Hello, I'm building a telephony application and I hava a Javabean with a prperty named callerID, which is updated each time a new phone-call is arriving to my PC. My headache is how to show callerID value in a JSP page. I suppose that I need to use Javascript, but … | |
Hi, I have a small question regarding arrays. I have the class Family below: [CODE] import java.util.ArrayList; import java.util.Collection; import java.io.*; public class Family { private Adult father; private Adult mother; private Child[] children; private Dog ourDog; private Cats ourCat; private Rabbit ourRabbit; int Age; public Family() { } public … | |
I was asked for my AP Comp Sci online course to construct a program that would calculate fahrenheit to celsius and vice versa, the volume of a sphere given the radius, and the hypotenuse of a right triangle given the two other sides. I was given a program to work … | |
Hey all. I would like to find out how i can access/ get the value of a variable in a different class. this is part of the code which shows what I was trying to do. [code] public class A{ protected int x; //missing code C obj = new C … | |
[B]HELLO There, I am in need of some help for my homework. I am doing the AP Computer Science Lab A10.1 StringUtil an In need of some help. How do I do Number 2? Create a method that receives a string and returns a string that is the exact reversal … | |
generating triples for branching statements related to compilers lo intermediate code generation in that we have3 address code triple is one of the type of 3 address code little bit urgent can any one solve this i need to complete my assignment plz | |
Hi and I must know if this script is valid to determine if the Java console and my Java compiler need reinstalling. I have tried so many samples and my browser shows an invalid message. My file is named 'filename.class' and below is the script I have used to test … | |
Dear All, I have a problem with Java Programming. I am writing a TatTicToe Program but I found a Error. It is a [B]unexpected type[/B] for [B]mark.equals("X")? currentPlayer=1: currentPlayer=0;[/B] I don't know what happen. If you don't mind , I hope that All people will give some advises to this … | |
Hello everybody, I have various components that I want regroup in the same category. I found numerous screenshots on the internet using some sort of frame surrounding items. For instance : [url]http://www.vieartificielle.com/images_robot/e70d6615e7b9c9ecfacdc7e977425d6d/cache_500_wifi_robot_photo_gui.jpg[/url] (the frame surrounding "Joystick information" section) and [url]http://bp3.blogger.com/_45gEBj4xUTA/RwefQvOgIjI/AAAAAAAAACQ/pKezYz2qQCQ/s320/RobotUI.jpg[/url] (the frame surrounding "Current data" section). I dont know how … | |
I have a code to add a node...what would be a code to remove it if i provide the coeff [code]public void addNode(int coeff, int power) { if (head == null) // start the list { head = new Node(coeff, power, null); degree = power; } else { Node n … | |
I was reading a tutorial about 2D arrays and I decided to construct something. I managed to construct something but when I compile I get "null" as my output. I cant seem to figure out the problem. Here is the sample code. I have also higlighted in red a line … | |
Ok, so I need to enhance the functionality of my existing Loan class to be able to calculate any of the 4 missing elements in a Loan, whether it is the Principal, APR, Term, or Payment. I already have the necessary calculations to get the monthly Payment, but I need … | |
Hey, I am trying to complete a learning exercise for a rocket program. I already have a Rocket Class but I also need to have a new class to run the rocket program. So far I have wrote [CODE]class RocketTest{ public static void main(String[] args){ Rocket varName = new Rocket(); … | |
hi, This is chandan singh from India , studying and working part time to create and helps to create computer software. | |
I have developed web application I m using java beans file to set the values when user login to the system. It set the values of the user. I uses that value in application Whenever the login code calls the beans values are set with new user. The existing login … | |
I have a query I am currently working on a program with a lottery theme I will post the parameters as well as my code thus far. A lottery requires that you select six different numbers from the integers 1 to 49. Write a Java program that will do this … | |
I'm doing a homework assignment... I have two files. Payroll (the class) and myPayroll. I run myPayroll and it does everything except return the employee's name and ID number. I'm supposed to pass those values to the constructor... but i'm at a loss as to how to do that. First … | |
Hello, I have what is probably an obvious question. I have a basic GUI, one is bsaically no more than a menu in its own class along with a bunch of support classes to do what i want. Another GUI which is for editing the information whcih the main GUI … |
The End.