32,204 Topics

Member Avatar for
Member Avatar for gunnarflax

Hi! I'm a java rookie and I'm trying to learn how to read and write to xml documents. I have a xml-file called tasklist which lies directly in the src directory, at the same level as the executing program but I get the following error: java.io.FileNotFoundException: tasklist.xml (Det går inte …

Member Avatar for gunnarflax
0
216
Member Avatar for Imani

Hi Guys, I really need your help. I'm looking for suggestions on what kind of applications I can make as my semester project. I don't care in which language you can tell me, I'll just reason with it and make sure it works in Java. This Project is one of …

Member Avatar for Stefano Mtangoo
0
84
Member Avatar for dhruv.mani

hey !! i am working on a project for development of dynamic crawler .. can anyone help me out ?? suggest me some code for implementing it and ebooks..

Member Avatar for jwenting
0
89
Member Avatar for becdudek

Hey, im getting the following error unreported exception Exceptions.IllegalValue; must be caught or declared to be thrown this is my method where im getting the error and i want to know why im getting this error because i declared that the exception was to be thrown. is it something to …

Member Avatar for becdudek
0
100
Member Avatar for ceyesuma

Hello both of these methods compile. Howerver, Are these two methods the same? or does one offer something more? [b]method 1[/b] [code] public AdminDAO getAdminDAO() { return new ConnectAdminDAO(); } [/code] [b]method 2 [i]note:getXMLResource() returns: <entry key="adminDAO">model.dao.ConnectAdminDAO</entry>[/i][/b] [code] public synchronized static AdminDAO getAdminUserDAO() throws ClassNotFoundException, InstantiationException, IllegalAccessException, FileNotFoundException, IOException { …

Member Avatar for Abdel_eid
0
77
Member Avatar for becdudek

Hey Guys, i am supposed to write an implementation of The PriorityQueue interface in this user defined package, this is the first time im using iterator and so im having trouble. at the moment im getting the following error message [CODE]PriorityQueueLinked.java:11: PriorityQueueLinked is not abstract and does not override abstract …

Member Avatar for becdudek
0
207
Member Avatar for boyz

Can anyone tell me the difference in JDK & SDK? I believed till now that both term are same. ...but SunMicrosystem tell both are different. (You can find it at Sun's website) So what is the difference in these two terms?

Member Avatar for kvprajapati
0
474
Member Avatar for evak77

I have my program with my amoritization list in it, but I need to remove it and replace it with an array, which I also made up. The problem is that i am not sure how to remove the list, and add the array. Can someone tell me what the …

Member Avatar for evak77
0
198
Member Avatar for termitis

hi!im a student and we have an exercise where we are asked to search for a client of our "bookstore" with interpolation search.The codes are saved in a Code[1000] matrix.The type of each code is like that: for example: AY568UTH or MLK1211 etc. Im new at programming and i dont …

Member Avatar for quuba
0
723
Member Avatar for Java John needs

Any Java Gurus out there, I am now down to the wire on two projects and need assistance. I posted one of them yesterday and here is my final one. :eek: I need to figure out why I can not get the number of digits to count in my program. …

Member Avatar for Abdel_eid
0
146
Member Avatar for gabster1991

is there any way some one could help me figure out why my compiled messages keep returning as ---- jGRASP wedge2 error: command "javac" not found. ---- This command must be in the current working directory ---- or on the current PATH to use this function. The code is... [code] …

0
81
Member Avatar for mickmos

hi i have to finish my assignment by tonight and am stuck when trying to make a regular expression that splits a big slab of text into sentences. I am using the .split() function and want it to split on '.' , '?' , '!' , and '\n' but also …

Member Avatar for ~s.o.s~
0
134
Member Avatar for danielagaba

hi i have a choice group in my midlet that i want to populate with an array of results that i get from a mysql database using php but i am having little luck. can anyone help? thanks

0
51
Member Avatar for sajithdil

hi guys, here's the deal i want to create a java program that will record a voice through a microphone and then save it in a reusable format.........only problem is i dont know how its very urgent that i get help for this much appreciated!!!!!!!!!!!!

Member Avatar for sajithdil
0
182
Member Avatar for Monzers

Implement a shape hierarchy. you must have your superclass shape and 2 subclasses two-dimensional shape and three-dimensional shape. Under two-dimensional shape, you have other subclasses, circle, square, and triangle. Under the three-dimensional shape you have the sphere, cube, and tetrahedron. Each two-dimensional shape should contain a method getArea to calculate …

Member Avatar for JamesCherrill
0
269
Member Avatar for ansar basha.k

I have an array a[]={0,1,2,3,4} and out put should be: 3,4,0,1,2. can any body write the code for this program? if u write appreciate. Thanks!

Member Avatar for Abdel_eid
0
85
Member Avatar for pankajagar2002

Hello friends could any one explain why my code is printing true[code]if(0.0 == -0.0) { System.out.println("true"); } else{ System.out.println("false"); } and if if i write this if(0.0 == -0.5) { System.out.println("true"); } then it is printing dead code. please explain[/code]

Member Avatar for pankajagar2002
0
92
Member Avatar for prem2

Hi DaniWeb team, Did any one knows the installion step about the open fire server.I want to configure it in to my Mysql database. Thank you. Premnath.M

Member Avatar for prem2
0
101
Member Avatar for vanpersie

Hi I have two classes the first inherits the second which should retrieve records of a table found in an oracle database as a jtable but it display table header only! can anyone help me to know the problem please ? [code] import java.sql.*; import java.util.*; import javax.swing.table.*; public class …

Member Avatar for vanpersie
0
118
Member Avatar for P00dle

I wrote a program that has to process any files that are put in a specified folder. I would like to keep track of those threads, though, preferably via some sort of process id or something. is there any way that I can get a list of the threads that …

Member Avatar for P00dle
0
185
Member Avatar for musthafa.aj

hi ! i have created listening sockets at two different machine... then these two sockets need to connect a central server socket to exchange the information...the scenario like below.. socket1 <---->central socket<------->socket2 socket1 sends data to 'central socket' and this 'central socket' sends socket1's data to socket2 and vice verse... …

0
53
Member Avatar for Hakoo

Hello friends, I am making Bug Tracking System project, which is intranet base project in JSP. I want to use e-mail facility using JAVAMAIL APIs. How can I use it? What i need? I am new in JSPs., and dont know about JavaBeans. How to install STMP server n configure …

Member Avatar for jwenting
0
109
Member Avatar for dorotalp91

is it important to close a file thats been opened with FileWriter? if yes how come??

Member Avatar for dorotalp91
0
114
Member Avatar for shaddy007

hi,i have been using a chat application called avacs live chat which is very awful ! its for mobiles and the is a option to add purse so we can vote for rooms etc etc and therefore i have to send a sms to the site to add that purse …

Member Avatar for Ezzaral
0
134
Member Avatar for Monzers

i have the SAME problem [I]<<mod edit: [URL="http://www.daniweb.com/forums/thread174062.html"]as this[/URL] >>[/I] and im habing a lot of trouble with area of circle and writing assigning it a radius value so that the output will only tell me its radius and area. i have this so far: package Project4; [CODE]public class Circle …

-1
23
Member Avatar for bettybarnes

hi everybody! i have this code for queues but it doesn't execute due to final Queue s = new Queue(); what should i do with this? pls help me :( [CODE]// Testing the Queue class of the java.util package import java.util.*; import java.awt.*; import java.awt.event.*; import javax.swing.*; public class QueueTest …

Member Avatar for sergb
0
214
Member Avatar for kvass

Hey guys~! I am working on a code and I am having some difficulties with it -- Basically I have a 3x3 grid of JButtons that represent the squares on a TicTacToe grid. The code seems to run fine but then after it determines a victor it crashes and says …

Member Avatar for BestJewSinceJC
0
471
Member Avatar for Pras008

Please wrap code related toantivirus. Any information related to Antivirus. Code related to scanning etc.

Member Avatar for shrex
0
90
Member Avatar for robben

Hi, I'm currently using Synth and I'm having some problems with sliders. The sliders appear and work fine, although I can't seem to change the color of the ticks and text. I would like the ticks and text to be orange, but it seems to default to black. I tried …

0
56
Member Avatar for bufospro

Hi all, I would like to make a method that replace from a string the character k with x if the number of characters k is bigger than the x number, and the opposite replace. My code is : [CODE] class Replacing_class { public static String changeString(String str) { char …

Member Avatar for bufospro
0
102

The End.