32,199 Topics

Member Avatar for
Member Avatar for melissa2185

What I need to do is using classes, design an online address book to keep track of the names, address, phone numbers, and birthdays of family members. The program should be able to handle a maximum of 500 entries. a. Define the class Address that can store a street address, …

Member Avatar for Ezzaral
2
258
Member Avatar for BruceIrvin

EDIT: Nevermind, I already found what was wrong; But I can't draw a card properly when I run it still. [CODE]import java.util.Scanner; import java.util.InputMismatchException; public class CardDealer //Main Class { public static void main(String[] args) { Scanner keybd = new Scanner(System.in); Deck deck1 = new Deck(true); int count = 0; …

0
89
Member Avatar for funjoke88

The application will ask questions like: What comes after D? A child is expected to answer the question and the application will inform the child if the answer is correct or wrong. The application will ask a total of 20 questions. After all 20 questions have been answered, the application …

Member Avatar for javaAddict
0
120
Member Avatar for paradiseis

here i attached my question ... and i have done the first part and i stuck in the logic part ,can anybody help

Member Avatar for javaAddict
0
137
Member Avatar for jiten_raulo

Hi experts, I have confusion about the point I read in my book: I. In a source file you can define number of classes, but only one of them can be a public class. In this case, the name of source file must match the name of public class. II. …

Member Avatar for jiten_raulo
0
86
Member Avatar for tones1986

Hey Guys - i am really new to Java and am having some serious problems trying to figure out how to use the painting stuff. My problem i am trying to get to work is that i need to create a 'circle' by using lines from X number of points. …

Member Avatar for Ezzaral
0
448
Member Avatar for javarook

so this program takes an input file and computes the class average and lists the students who are below average and the students with the highest score. Heres what im having trouble with: Having trouble getting the proper for loop to calculate sum, I've tried many different ways but its …

Member Avatar for Katana24
0
89
Member Avatar for mrynit

This program is a GUI shopping menu with text fileds next to item descriptions. My question is about the add method in ShippingCart class. It is called every time an action occurse in a text field, from a GUI class not shown here, where quantity requests are entered. So when …

Member Avatar for Ezzaral
0
210
Member Avatar for mgern26

Hi im writing a code that is supposed to display this * ** *** **** ***** **** *** ** * i have this so far for (int i=0;i<6;i++){ for (int j=0;j<i;j++){ which displays this * ** *** **** ***** how do i get the reverse side

Member Avatar for mgern26
0
84
Member Avatar for cool_jatish

Hi Buds......... I have an JApplet in which i want to display Urdu word in the JTextArea The JApplet is connected to MSAccess Thorugh DSNless JDBC-ODBC Bridge....... the parameter passed to database is in Punjabi language which will match from the database and select the equivalent URDU word The Urdu …

0
55
Member Avatar for vivekmrajesh

I want to find the link between the applications shown in task manager to that of the process tab in task manager. For this first I have to get the applications running in task manager.

0
44
Member Avatar for sana.malik

Hi all, i am new to java, i am doing a grid computing project, anyone related to the fields please reply me. so that i can discuss my problems with u. regards

Member Avatar for rue64ja
0
77
Member Avatar for gunjannigam

Hi, I need a charting API which can plot static Line Graph for 300 million points. API should support zooming and panning of axes comfortably after plotting 300 million points. I tried with JFreechart but the result is not good for even 100 million points. Does anybody have any Idea …

Member Avatar for gunjannigam
0
106
Member Avatar for AngelPriya
Member Avatar for javaAddict
0
151
Member Avatar for merrycit

Hi, I dont understand why, but for some reason, the system does not recognize the buffered reader in the fileReverse method. Every time I try to invoke the readLine method on aBufferedReader, I get null as a result. Even my file reads: null null null null Can someone please help …

Member Avatar for tiny7415
0
133
Member Avatar for jdrake345

Hello, i need assistance with a mortgage calculator program. the requirements are : Program designed with GUI to Write the program in Java (with a graphical user interface) and have it calculate then display the mortgage payment amount from user input of the amount of the mortgage and the user's …

Member Avatar for jwenting
0
372
Member Avatar for barbn

[code]package inventory; // Product class import java.util.jar.Attributes.Name; // Creates Product Class, contains the inventory components public class Product { public static main(String[] args) {//begin main method Number number = new Number(001); Name name = new Name ("Highlighter"); Units units = new Units (6); Price price = new Price (2.50); //print …

Member Avatar for BestJewSinceJC
0
115
Member Avatar for Virux

Okay. I have been seriously struggling with this lately. I've searched and searched forever. The closest I found was this thread here: [url]http://72.5.124.102/thread.jspa?messageID=1662301[/url] What I am trying to acheive: I want to give my interface grayscale images for icons(png), and have a filter class that can color the grayscale images …

0
170
Member Avatar for pranav_jog

how to use system time in java & increment seconds then minutes and hour ?? can anybody will give me code??

Member Avatar for jwenting
0
58
Member Avatar for reynman

Hello all! I'm fairly new to programming (and have VERY little experience with JAVA) so please be gentle. :-) I'm looking at a piece of software created with Java and accessible via a https webpage, hosted locally. I login and there are several pictures on the site. I'm trying to …

Member Avatar for jwenting
0
100
Member Avatar for k2k

it is strange that my code was working before I modified some variable name/ type. i didn't make any major changes except for changing from double to int, and from double to String. the change was involved a bit sql code change as well though. i got (does anyone have …

Member Avatar for k2k
0
148
Member Avatar for David22

Hi guys. I have an observer/observable structure set up in my code that changes a bunch of TextField values with updated data, no big problem here. However, in my update(Observable obs, Object arg) method, I am trying to call another method to insert the new values into my database. I …

Member Avatar for ~s.o.s~
0
114
Member Avatar for cbtshare

hey guys , I would like to read info from a file e.g [inline] 10 999990 Gerry Boudens $1000.00 999991 Jimmy Chow $1500.00 [/inline] it is a credit card program, so the user would input their name and the program searches for it, if found it should show their credit …

Member Avatar for Ezzaral
0
152
Member Avatar for juliesyumyum

Hey! I need to program a simple arithmetic calculator. I've done the parser, infix to postfix, etc. Everything's working with no problems except that it only works with one-digit numbers. For example: 10+2 evaluates to 2 instead of 12. Here's the code of the parser: [CODE] package calculator; public class …

Member Avatar for javaAddict
0
202
Member Avatar for ubi_ct83

Hi all, i want to ask u guys what else i need to do to run this code? i have JDK. i have these file in my c:/program files/java/jdk1.6.0_16 c:/program files/java/jdk1.6.0_18 c:/program files/java/jre6. if i want to run this code,what do i need to do? [CODE] import java.awt.graphics; class HelloWorldApplet …

Member Avatar for jwenting
0
94
Member Avatar for mabrookes

Hi, Im very new to java (about a month) with a useless lecturer who has taught us nothing. Everything I have learnt so far as been on my own at home trying things. I did a question, but I wanted to try adding things to it to learn so started …

Member Avatar for mabrookes
0
104
Member Avatar for jayaj

hi all! pls solve my problem i am using jasperviewer with netbeans , everything is working fine, but when i exit the jasper report my entire project gets exited. Plz tell me the solution. Thanks.

0
39
Member Avatar for dirnthelord

I'm trying to display a report in my src/iReport/report1.jasper directory. but every time i try to display it i get java.lang.NullPointerException. I can't find where the problem is. Please someone just take a look and help me. I have imported all necessary libraries. im using Netbeans. [CODE] package Windows; import …

Member Avatar for dirnthelord
0
672
Member Avatar for spiritsad

Hello How are you? I want to help in a software project? The project that you will be working on in this course is an interactive shopping system. You will be creating the administration part of the system that allows the shop staff to add new categories and products to …

Member Avatar for javaAddict
0
90
Member Avatar for boyz

The End.