32,204 Topics

Member Avatar for
Member Avatar for PRob99

I'm working on a problem where I need to use a one-dimensional array to write an application that inputs five numbers, each between 10 and 100, inclusive. As each number is read, it displays it only if it is not a duplicate of a number already read. The program should …

Member Avatar for dickersonka
0
2K
Member Avatar for carlcarman

I wrote this program that reads data from a txt file named books,and then arranges the data by name and price. that part works fine ,my problem is that I want to sum up the total price of the books and display it. I've tried a couple of ways to …

Member Avatar for carlcarman
0
159
Member Avatar for NEEDJAVA
Member Avatar for Antenka

Hello everyone, beforehand, sorry for my english... I have to do client - server application. They must interact, using classes URL, URLConnection. I understand, how to send data to server. But I can not realize server work. The common algorithm of server is: 1. Start. 2. Wait for connection. 3. …

Member Avatar for Antenka
0
200
Member Avatar for cproud21

I have the following listing application that allows the user to make selections to build a skateboard. How can I add the values to the arrays which are declared? I do not understand how each value will be displayed when a particular option is selected. Also... I want to add …

0
93
Member Avatar for cproud21

I am getting the following error... init: deps-jar: compile-single: run-single: Exception in thread "main" java.lang.IllegalArgumentException: adding a window to a container at java.awt.Container.addImpl(Container.java:1010) at java.awt.Container.add(Container.java:928) at javax.swing.JFrame.addImpl(JFrame.java:480) at java.awt.Container.add(Container.java:899) at BoardCreator.<init>(BoardCreator.java:40) at Board.main(Board.java:14) Java Result: 1 BUILD SUCCESSFUL (total time: 3 seconds) Here is my code which is a box …

Member Avatar for quuba
0
114
Member Avatar for mrjoli021

I have a file that is tab separated. i read it in as an arraylist<string> how can i print out only the second section of the file?

Member Avatar for Ezzaral
0
168
Member Avatar for mbaierl

How can I set the classpath to a folder on my disk for a given JBoss application from within Eclipse? Thanks.

Member Avatar for ~s.o.s~
0
99
Member Avatar for cproud21

I am to create a menu application for a cell phone company. The user is to select their package, phone, and any additional add ons they would like, and it is to disply the prices. This is by far the most advanced programming I have done to this point and …

Member Avatar for Ezzaral
0
273
Member Avatar for 0sinner

Hello, This is my first post here. I appreciate any help you guys can give me. I'm having some issues with the technologies listed in the title. I've narrowed this down to a Apache/Tomcat configuration issue (I'm leaning towards tomcat issue). First of all, my setup: Apache 2.2.10 -- The …

Member Avatar for 0sinner
0
195
Member Avatar for babusek

HI Folks , Sorry if it is the Repeated Question.... --->[B][COLOR="Green"] I want to Create An Object for a Class With user specified name.?[/COLOR][/B] Example : Class Name : Simple User Specified Name for a Object : SunServer i want like this Simple [B]"userSpecified Name"[/B] = new Simple(); how to …

Member Avatar for babusek
0
139
Member Avatar for jessxe02

I am about to start my thesis this January 2008. I pick java as my PL but I don't know any database right now.. is there any database than i could learn easily and also fit to java? please help me..

Member Avatar for ithelp
0
82
Member Avatar for rockberto

I'm having problems with this. The thing is that when I send an MMS with J2ME to another devices with JSR 205 (two tested: SonyEriccson w610i and Nokia 5300), a receiving icon flashes, but the message is not in the inbox folder. I think this happens because of the application …

Member Avatar for peter_budo
0
104
Member Avatar for zyaday

I want to put the buttons on my screen wherever i want, i'm not using design view. Is there any layout method or any other method i can use to reposition my buttons.PLEASE HELP!

Member Avatar for zyaday
0
121
Member Avatar for l_03

actually,,this is not my whole code..i just post the important one,,i am having problem with my code....i dont know how to figure out,,, everytime i am trying to withdraw and deposit..,,the balance will always be zero,, and i dont know how to figure it out.... [code] import javax.swing.*; public class …

Member Avatar for BestJewSinceJC
0
156
Member Avatar for TaintedPurple

I have an application in which I want to find out that how many users checked the link or a page in the last 15 mins and then I want to compare the number with the next 15 mins. Can you give me some hints?

Member Avatar for BestJewSinceJC
0
59
Member Avatar for LevelSix

"Write a program to display a linked list graphically. Draw each element of the list as a box, and indicate the links with line segments. Draw an iterator as in Figure 15-3. Supply buttons to move the iterator and to add and remove elements." The elements of the node appear …

Member Avatar for quuba
1
2K
Member Avatar for nishi.nikhil

Need guidance in implementing mutually colliding group in java. I have a table COLLISION which will have info which all experiemnts collide . Each record will have the DB entries as <Collision ID, exp 1, exp 2>. there won't be another entry like <Collision ID, exp 2, exp 1> for …

Member Avatar for quuba
0
67
Member Avatar for localp

can some one help me write a program, that works when passing 3 values (r g b value), to a Color class and outputs its corresponding colour.. please help me by giving a sample code and the output ...

Member Avatar for Ezzaral
0
123
Member Avatar for optiplex

Hello I was reading this article [url]http://www.developer.com/java/data/article.php/3303561[/url], but im having some problems. I did exactly the same commands and such as they did in this article, but I dont get 'Security window' where it asks the client to trust the applet, or not. I tested the applet on apache, and …

0
44
Member Avatar for Chaster

Hi, I'v been trying to write a simple Java EE app, which deals with car renting. The entity beans and session beans are ready, so I've created a JSP for representation. It contains a single method, for init: [CODE] <%@page contentType="text/html" pageEncoding="UTF-8"%> <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"> …

Member Avatar for shurdsfield
0
156
Member Avatar for mjta18

hi.. anyone here knows some links on netbeans mobility tutorials... kindly post pls....

Member Avatar for peter_budo
0
93
Member Avatar for NEEDJAVA

there is no import javax.mail.*; in my java and net beans so how can i get those packages or what i have to do for importing that

Member Avatar for peter_budo
0
99
Member Avatar for c++ prog

hi, we have a simple program here that states like this: [CODE] input >= 10 ex: 12 1 Square Sqrt Cube Fouthroot 2 - - - - 3 - - - - 4 5 6 7 8 9 10 11 12 [/CODE] i made the code already but I still …

Member Avatar for dickersonka
0
82
Member Avatar for cardanadam

Hello all daniweb members.I want to develop a program.It will about anycast ftp.There are many ftp mirror on the web which you have to download same file from them.For example server A,B,C are mirrors and i want to download a file from them.And i wanna learn which one is fastest.First …

0
56
Member Avatar for Grub

Hi. I am attempting to update a Jtable with details of all the files on my computer. I am running Windows XP home edition version 2002 with service pack 3. Intel(R) pentium(R) 4 CPU 3.20 GHz [ICODE] for (int i = 0; i<r.size(); i++) { Vector v = new Vector(); …

Member Avatar for Grub
0
77
Member Avatar for babusek

[B][/B]HI Folks, Suppose say Class ("DaniWeb") Contains 3 Objects 1.SunSystems 2.Microsoft 3.Yahoo [B]Now user has entered an Object name suppose say (Yahoo) .. and we need to confirm if the User Specified object exists in that class are not , if not we have to create an object with the …

Member Avatar for stultuske
0
117
Member Avatar for l_03

guyzzz,,,help,,i dont know how to call a variable from other class,,could you help me,,huhuhuh,,,i really need your help... i have a class,, this is just a summary... public class BankAccount{ int accountNumber[] = {1234, 2345}; public class ATM{ BankAccount bank = BankAccount(); String accountNum; int accountNum2; accountNum = JOptionPane.showInputDialog("Please enter …

Member Avatar for l_03
0
110
Member Avatar for amaravanich

Hi, How can i pass an array from jsp to javascript function.i have to design a grid in jsp.For that i'm using javascript functions. [URL]http://www.code-magazine.com/article.aspx?quickid=0303111&page=3[/URL] this is the link where i got the script.here i have to pass an array of values to display in that grid.can any one pls …

Member Avatar for stultuske
0
202
Member Avatar for localp

i want to pass an integer value as an input, for that first i have to get the value as an string and then convert it into an Integer. i wrote the code and it looked like this .. [code] String age=""; int intage=0; System.out.print("Please Enter your age : "); …

Member Avatar for stultuske
0
162

The End.