32,199 Topics

Member Avatar for
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
722
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
145
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
108
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
469
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
Member Avatar for Usura

hey, i need both the import.sql.date; and import.util.date, at the moment im importing them like import.sql.*; import.util.*; How do i specify which library i want for any particular Date object?

Member Avatar for ~s.o.s~
0
119
Member Avatar for bettybarnes

im having a problem with making stack with array converted to linked list so far this is my code ... [CODE]import java.util.*; public class Nkakainis { public static void main(String[] args){ Stack <String> istak = new Stack<String>(); String[] names = {"john", "mark", "peter"}; List<String> list1 = Arrays.asList(names); System.out.println("pushed " + …

Member Avatar for bettybarnes
0
77
Member Avatar for Superstar288

Hi all ive been thinking of a writing a compiler in java for my final year project. I have started to browse the net for help but to be honest its confused rather than helping me to get a clear image of what I would like to do. E.g. I …

Member Avatar for quuba
0
220
Member Avatar for ceyesuma

Hello I am learning how to use setString() for "?" and using passwords in resultsets. my password ends up with the error [icode]java.sql.SQLException: Invalid cursor state - no current row.[/icode] Can this error be corrected? thanks. [code] run: driver tableName from xml: org.apache.derby.jdbc.EmbeddedDriver in StudentDAO.JAVA and in connect of the …

Member Avatar for ceyesuma
1
1K
Member Avatar for fabunmi adeniyi

this code was suppose to prevent any single line from appearing twice for each display, i thought it was ok but later found that it wasnt, i was directed to use the hashset method in combination with my code to prevent that from happening, but it is not consistent, i …

Member Avatar for jwenting
0
99

The End.