32,204 Topics
| |
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 … | |
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 … | |
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.. | |
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 … | |
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 { … | |
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 … | |
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? | |
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 … | |
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 … | |
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. … | |
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] … | |
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 … | |
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 | |
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!!!!!!!!!!!! | |
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 … | |
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! | |
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] | |
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 | |
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 … | |
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 … | |
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... … | |
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 … | |
is it important to close a file thats been opened with FileWriter? if yes how come?? | |
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 … | |
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 … | |
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 … | |
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 … | |
Please wrap code related toantivirus. Any information related to Antivirus. Code related to scanning etc. | |
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 … | |
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 … |
The End.