736 Posted Topics

Member Avatar for sufi89

According to me the return type of insert should be Node<T> and not only <T>, cause thats what is the type of your "next" member of the Node class. And next you you post code please make it a point to wrap it inside [noparse][code=java] and [/code][/noparse] tags.

Member Avatar for sufi89
0
110
Member Avatar for nikk

Maybe [URL="http://www.onjava.com/pub/a/onjava/2003/05/14/qtj_reintro.html"]this[/URL] article on [URL="http://developer.apple.com/quicktime/qtjava/"]QuickTime for Java API[/URL] might help.

Member Avatar for quuba
0
275
Member Avatar for ckd327

Also just a suggestion you can drop the extra parenthesis ( the "(" and ")") around "+dollar+".

Member Avatar for stephen84s
0
100
Member Avatar for robertmacedonia

If you are learning the concept of Binary Search Trees, Heap etc, it would be better option that you implement them by hand rather than using Collections. That way you would understand the concept better and also improve your logical thinking ability and the ability of transferring logic to code. …

Member Avatar for robertmacedonia
0
99
Member Avatar for ylenaj
Re: Java

Actually this is an SQL Question rather than a Java question, If you want to delete a row from a table, you use the "DELETE" statement. The following is an illustration, Consider we have a table "User" with columns "UserName" and "Age", Now if I want to delete all records …

Member Avatar for stephen84s
0
120
Member Avatar for GrimJack

"You are a Spiritual Self-Improving Money Manager" Now I know why I hate to spend anything :P

Member Avatar for Nick Evan
0
123
Member Avatar for kin89

First thing is you will need to install JDK from Sun, you can get that [URL="http://java.sun.com/javase/downloads/index.jsp"]here[/URL]. But most probably I assume you already have installed it. Next to compile from your command line on windows, using the "javac" command you will need to update the PATH variable of your Windows …

Member Avatar for stephen84s
0
615
Member Avatar for riya_s505

As masijade mentioned set your PATH variable and you can check [URL="http://www.daniweb.com/forums/thread168656.html"]this thread[/URL] for more details on that. BTW excellent description of your problem, you must really have read all the forum rules and the sticky to make such an excellent post. :P :D

Member Avatar for stephen84s
0
75
Member Avatar for jls7168

You will need to use a nested for loop if you want to print fixed number of characters horizontally also. Following is how you loop would look like (note it is just for an illustration, you may have to modify it further to get what you exactly want) :- [code=java] …

Member Avatar for jls7168
0
76
Member Avatar for shimbardy

@hosam I agree with verruckt24, the first two links definitely do not touch the case being considered.

Member Avatar for stephen84s
0
291
Member Avatar for jsand2

I would suggest putting the rest of your code in the [icode]while(end==false)[/icode] in the else part of this if condition :- [code=java] if(empName.toLower().equals("stop")) { end = true; [/code] That would make it skip the rest of the loop Or you could also just put a "break" statement inside the same …

Member Avatar for stephen84s
0
394
Member Avatar for !Nerd

Specifying what your game is written in or what kind of classes you are using would at least give us a clue on what to suggest. Here are some useful links I got when I googled for Double buffering :- [url]http://java.sun.com/docs/books/tutorial/extra/fullscreen/doublebuf.html[/url] [url]http://gpwiki.org/index.php/Java:Tutorials:Double_Buffering[/url] [url]http://www.ecst.csuchico.edu/~amk/classes/csciOOP/double-buffering.html[/url] Also if are interested is making games …

Member Avatar for stephen84s
0
101
Member Avatar for hell_tej

Did you create your JFrame using the NetBeans designer ??If not then the design view would be useless to your current project. On the other hand if you did do your designing in NetBeans, check if a corresponding ".form" file exists for your JFrame,.etc. Chances are that could have been …

Member Avatar for quuba
0
139
Member Avatar for MxDev

This question is the first of its type I have encountered, a little bit of googling revealed this work around:- [url]http://www.swingwiki.org/howto:irregular_frame_shape[/url] [url]http://www.onjava.com/pub/a/onjava/excerpt/swinghks_hack41/index.html[/url] [url]http://today.java.net/pub/a/today/2008/03/18/translucent-and-shaped-swing-windows.html[/url]

Member Avatar for stephen84s
0
33
Member Avatar for Swapna Gouri

I do not have any sample but code, but do have some suggestions for mixing Java + AJAX:- [URL="http://code.google.com/webtoolkit/"]GWT[/URL] is a great framework for developing Ajax based applications in Pure Java. [URL="http://jmaki.com/"]jMaki[/URL] is another AJAX framework which can be used with Java on the Server side. And I would suggest …

Member Avatar for ~s.o.s~
0
101
Member Avatar for Alishaikh

[QUOTE=Alishaikh;508261]I solved it my self and no one here helped(or even replied) so I'm NEVER coming here back EVER again.[/QUOTE] So finally you've come back.

Member Avatar for stephen84s
0
90
Member Avatar for faisaly

Heres another one a bit more oriented towards the technical side. [url]http://java.sun.com/docs/books/tutorial/javabeans/index.html[/url]

Member Avatar for stephen84s
0
111
Member Avatar for ciarz3r

Any pointers as to what is exactly happening in your application and what it is supposed to do or what errors you are getting would be nice. Now if you are referring to this :- [code=java] while (input != "x") { [/code] Then I wish to inform you that in …

Member Avatar for stephen84s
0
111
Member Avatar for nellyznell

[B]java.lang.ArrayIndexOutOfBoundsException: -1[/B] Although I haven't gone through your entire code and neither followed up on the post, The above error strongly suggests that you are performing a Pop operation on an empty stack "stackArray2" (with Head as "evaltop")

Member Avatar for nellyznell
0
642
Member Avatar for denniskhor

May be [URL="http://java.sun.com/j2se/1.5.0/docs/api/java/util/Scanner.html"]this link[/URL] would help.

Member Avatar for ~s.o.s~
0
770
Member Avatar for l_03

Insert all the Strings that the user enters in to the args[] string array, since this array is being passed to each successive call of main, So you will have a list of all entered keywords in this array. In order to check for repetitions just check if the entered …

Member Avatar for ahihihi...
0
176
Member Avatar for ezkonekgal

Well it depends she could be using a Priority Queue, in which members are organized in the ascending or descending order. Also priority queue implementations may vary, some may do the selection of element to be removed at deletion time while others may do the sorting at insertion time so …

Member Avatar for ezkonekgal
0
156
Member Avatar for deola_lanre

[QUOTE=peter_budo;783946]You two do not really know where to stop teasing. Why do you constantly mock all new comers? Don't you think that one person saying "No, we will not do it for.." is clear message that if other side does not show some effort will get nothing out here? verruckt24 …

Member Avatar for PhiberOptik
0
221
Member Avatar for xlx16

May be this javdocs link will clear up all the possible ways to get Strings :- [url]http://java.sun.com/j2se/1.4.2/docs/api/java/lang/String.html[/url]

Member Avatar for stultuske
0
101
Member Avatar for Coyboss

The reason they are not working is because you are putting your "if" checks before you have even read them from the console.

Member Avatar for Coyboss
0
274
Member Avatar for lllllIllIlllI

[URL="http://java.sun.com/j2se/1.4.2/docs/api/javax/swing/JEditorPane.html"]JEditorPane[/URL] can be used to view HTML Content in Swing, you can also check out the example [URL="http://www.java2s.com/Code/Java/Swing-JFC/ShowHTMLDocument.htm"]here[/URL].

Member Avatar for stephen84s
0
90
Member Avatar for lllllIllIlllI

Well honestly speaking I found Swing to be quite powerful, but if you still want to look at some third party toolkit, you could take a look at [URL="http://www.eclipse.org/swt/"]SWT[/URL] (The Standard Widget Toolkit.)

Member Avatar for stephen84s
0
139
Member Avatar for Ancient Dragon

[QUOTE=niek_e;780504]Why was that banned? I think you Americans like banning just for the fun of it :) In the Netherlands, this doesn't come even close to banning. You can say/show all the stuff you want on the T.V. (the f-word won't get beeped and Janet Jackson wouls still have a …

Member Avatar for sneekula
0
125
Member Avatar for Modo
Member Avatar for srs_grp

First we need what is in your "qry" variable. Also if you want is use features like [icode]rs.last()[/icode] etc, then I recommend you use a scroll insensitive resultset.

Member Avatar for stephen84s
0
184
Member Avatar for localp

Try:- [url]www.java2s.com[/url] It has sample code for most of java API classes. You would have stumbled across it if you would have gone through the sticky at the top.

Member Avatar for stephen84s
0
35
Member Avatar for java2000

My suggestion would be you keep an Integer (say "counter") array with the exact size as the total number of names you read from the file. And when you select any name at random from that String array (in which you have your names stored originally), just increment the integer …

Member Avatar for java2000
0
175
Member Avatar for Dani

Well I do not know if anyone else mentioned this but the [URL="http://www.daniweb.com/forums/profile.php?do=editprofile"]Edit Profile[/URL] page looks pretty awful at 1024x768 resolution. I got some snapshots attached.

Member Avatar for William Hemsworth
0
866
Member Avatar for JoeK

What is the format of your text file ??? And by format mean how will the interest rates or whatever be arranged in the text file.

Member Avatar for JoeK
0
148
Member Avatar for radhasb

If you are using Eclipse then thats I guess the most easy way to make a JAR. Also while making a JAR file in Eclipse you get an option to select the Main Class in the final step. Have you done that ??? Also try running your JAR from the …

Member Avatar for stephen84s
0
107
Member Avatar for enim213

[QUOTE=enim213]f is there any possibility to separate column data in different columns using php code..[/QUOTE] Would you care to elaborate on that with an example which illustrates what you exactly want ???

Member Avatar for vijukumar
0
102
Member Avatar for srs_grp

Do not use the jdbc:odbc bridge for real world systems where performance and features matter, use a type 4 driver like[URL="http://jtds.sourceforge.net/"] jTDS[/URL] instead.

Member Avatar for Ezzaral
0
131
Member Avatar for dinkarkolhe

Take a look at the [URL="http://jasperforge.org/plugins/project/project_home.php?group_id=102"]Jasper Reports API[/URL].

Member Avatar for Ezzaral
0
84
Member Avatar for dmanw100

This is a Java Forum, but I guess you are too ignorant to notice that. There is also a VB forum on this site, but since you are too lazy to even see where it is, [URL="http://www.daniweb.com/forums/forum4.html"]here[/URL] is its link.

Member Avatar for stephen84s
0
377
Member Avatar for priya_gurnani

Would you mind helping us help you by helping yourself to [URL="http://www.daniweb.com/forums/announcement9-3.html"]this announcement[/URL] at the top of the forum regarding the use of code tags and Oh Yes !!! in the mean time also describe what is actually going wrong.

Member Avatar for javaAddict
0
100
Member Avatar for sgbender

As sillyboy mentioned, this is not a JSP issue, the "&heart;" symbol is not supported by the Latin1 character set (ISO-8859-1) which most probably by default is the character encoding for your page. So set change your page encoding to Unicode if you want it to be displayed. [URL="http://www.alanwood.net/demos/symbol.html"] Here[/URL] …

Member Avatar for dreamer14
0
2K
Member Avatar for localp

The above code requires that your system have an Echo-Server installed on your system. Echo-Servers normally listen on port "7" and give back whatever you write on their socket. If you are on any Microsoft OS chances are that no such server exists on your system. You can also test …

Member Avatar for localp
0
228
Member Avatar for neeraj_jaggimca

Do not perform database manipulation directly from within scriplets, [URL="http://www.daniweb.com/forums/thread141776.html"]here[/URL] is a tutorial how you should actually be going about performing database operations in web applications.

Member Avatar for verruckt24
-1
98
Member Avatar for proloyganguly

[QUOTE=peter_budo;778028]Neither we can detect any problem as you failed to provide your code...[/QUOTE] What kind of moderator are you ??? You can easily use your crystal ball to pin point the problem :P

Member Avatar for stephen84s
0
126
Member Avatar for khalidmehmood
Member Avatar for jellyfish888

Here is [URL="http://java.sun.com/docs/books/tutorial/java/concepts/"]a tutorial[/URL] on Object Oriented Programming with Java, Should help you get started with how to model your classes.

Member Avatar for stephen84s
0
98
Member Avatar for rpjanaka

[QUOTE=BestJewSinceJC;777617]Look at the Java Sun tutorial on ActionEvents and ActionListener. They have all the examples you need as well. I was able to learn all about them by myself, and so will you, if you read. If you have any specific questions, ask those...[/QUOTE] I am pretty sure the thread …

Member Avatar for stephen84s
0
94
Member Avatar for shirish_kal

You need to know at least something about the [URL="http://www.jmarshall.com/easy/http/"]HTTP[/URL] protocol before understanding that piece of code. But what comes to my mind is why do you want to know what that piece of code does, are you involved in plagiarism .... trying to use someone else's code and showing …

Member Avatar for shirish_kal
0
100
Member Avatar for comsec

Use HTTP POST to get your file to the Web Server and the receiving servlet can then forward it to the next modules for the necessary processing.

Member Avatar for stephen84s
0
90
Member Avatar for tomsta

Well I have a slightly different opinion about this, according to be its not the language but the methodology you use to program which makes more of an impact. Adjusting to the syntax of a language and the features provided / not provided by it will of course cause problems, …

Member Avatar for jbennet
0
204

The End.