Forum: Java Aug 29th, 2009 |
| Replies: 9 Views: 627 Well I can see how this can be fixed, but I need to know your motive in writing lines 4 to 17, are they for testing your code like in a main as VernonDozier says??
Also why does your sum() method... |
Forum: JSP Aug 20th, 2009 |
| Replies: 6 Views: 641 Peter already hit you with the most popular suggestions for both sides:-
Free Stuff:-
Eclipse, NetBeans
Commercial:-
IntelliJ IDEA, MyEclipse, Dreamweaver*
*Dont know if I can call... |
Forum: Java Jul 25th, 2009 |
| Replies: 3 Views: 666 Now I haven't gone through your code, but if you are looking for a data structure which can hold a list and gives you the facility to delete any element at random I suggest you take a look at the... |
Forum: Java Jul 25th, 2009 |
| Replies: 6 Views: 370 @ryy705
Now when I run javac -help I get the following message:-
Although I use the Eclipse Java compiler, but then too the usage should be the same even with the Sun JDK.
Now if you notice... |
Forum: Java Jun 9th, 2009 |
| Replies: 9 Views: 337 Hi James, you have to use the noparse tags around the code tags like this:- |
Forum: Java Jun 9th, 2009 |
| Replies: 7 Views: 1,146 I agree with VernonDozier, your code compiled and ran OK,
You should not be getting this problem unless and until you are using a Java compiler prior to release 1.2 (i.e a pre Java2 compiler cause... |
Forum: Java Jun 9th, 2009 |
| Replies: 11 Views: 541 No problems, with the line numbers, I appreciate the fact that even though new you even care to use code tags.
The line numbers will come up if you wrap you code inside and tags.
Anyways the... |
Forum: Java Jun 9th, 2009 |
| Replies: 11 Views: 541 Can you point out which is the line specified here :-
at MyPackage.MouseOverExample$Glyph.<init>(MouseOverExample.java:109) |
Forum: Java Jun 9th, 2009 |
| Replies: 9 Views: 337 @lloydsbackyard
I dont know what you are talking about. When I ran your code, it worked perfectly:-
stephen@xxx:~/Development/java> javac bonus.java
stephen@xxx:~/Development/java> java... |
Forum: Java May 30th, 2009 |
| Replies: 4 Views: 354 Well just a quick Search of your code revealed that you have never created an Object of ExtendDVD so I guess its logical that nothing from it would be printed. |
Forum: JSP May 23rd, 2009 |
| Replies: 2 Views: 489 Rather than making your own why dont you just try some of the freely available Database Connection Pooling libraries.
Look here (http://java-source.net/open-source/connection-pools) for a list of... |
Forum: Geeks' Lounge May 11th, 2009 |
| Replies: 9 Views: 826 Dude, not again !!!!
Now although you say the above, you did say earlier :-
So even though you wish to escape judgment from us on your character based on your thoughts, you go on and do... |
Forum: Geeks' Lounge Apr 28th, 2009 |
| Replies: 89 Views: 4,690 Chill JB, I wrote "conspiracy theory" with just a light heart, no need for any justifications here :D . |
Forum: Geeks' Lounge Apr 28th, 2009 |
| Replies: 89 Views: 4,690 Well you can find the formal reason and the conspiracy theory both on this thread :- http://www.daniweb.com/forums/thread183273.html |
Forum: Geeks' Lounge Apr 28th, 2009 |
| Replies: 89 Views: 4,690 I am guessing he is still banned. |
Forum: Java Apr 21st, 2009 |
| Replies: 2 Views: 236 Its as simple as :-
String[] splitString = book[i].split("-");
Look here (http://java.sun.com/j2se/1.5.0/docs/api/java/lang/String.html#split(java.lang.String)) for more details.
But beware... |
Forum: JSP Apr 16th, 2009 |
| Replies: 4 Views: 1,349 Give us the complete URL on how you are calling it,
Is it like this : http://localhost:8080/<project-name>/myServlet
Also can you access "index.jsp" ? |
Forum: JSP Apr 16th, 2009 |
| Replies: 7 Views: 655 The problem is occurring where you are constructing your SQL query you need to show us that code, for us to trace the error.
Also Just for your Information, in case one of the values you wish to... |
Forum: JSP Mar 30th, 2009 |
| Replies: 13 Views: 1,907 AFAIK you cannot pass values assigned to variables in Javascript to your Server Side JSP pages without putting the actual values inside some form fields viz. the "input" element (eg hidden fields,... |
Forum: Java Mar 19th, 2009 |
| Replies: 6 Views: 562 I cannot see a main() method in the code that you have posted, also you have not made your JFrame ([URL="http://java.sun.com/j2se/1.5.0/docs/api/javax/swing/JFrame.html) visible using the... |
Forum: Java Mar 19th, 2009 |
| Replies: 4 Views: 320 Would you care to mention what does your Hashtable contain or do I have to find that out from my crystal ball. |
Forum: Geeks' Lounge Mar 17th, 2009 |
| Replies: 64 Views: 3,892 You mean preparing to stalk. ;) |
Forum: Java Mar 17th, 2009 |
| Replies: 11 Views: 1,258 Now referring to your import statements (Although jasimp has already given you the solution for finding the classes you made with "importing" them).
You import the classes and not the .java files,... |
Forum: Geeks' Lounge Mar 17th, 2009 |
| Replies: 64 Views: 3,892 If I am not wrong the cscgal profile does have her picture in it. |
Forum: Geeks' Lounge Mar 16th, 2009 |
| Replies: 64 Views: 3,892 Damn !!! of all the people in daniweb I pick the only SuperMod for my gloating.
** Puts tail between the legs and runs away ** |
Forum: Geeks' Lounge Mar 16th, 2009 |
| Replies: 64 Views: 3,892 Well we have to vent out our life's frustrations somewhere (or at someone) :P, might as well be the geek lounge where the rep points wouldn't affect me |
Forum: Geeks' Lounge Mar 16th, 2009 |
| Replies: 64 Views: 3,892 Now because of the ambiguity I just want to mention 'his' = "serkan sendur". |
Forum: Geeks' Lounge Mar 16th, 2009 |
| Replies: 64 Views: 3,892 Naah !!! For a guy who plays tit for tat with Bad Reps his IQ is too low to understand that. |
Forum: Java Mar 16th, 2009 |
| Replies: 2 Views: 516 This has gotten me confused, is the second part not contradicting the first ??? |
Forum: Java Feb 27th, 2009 |
| Replies: 30 Views: 3,352 I was assuming that is some mistake my the O.P. cause that "split()" method of python too does not operate in that manner but I could be wrong.
Thats the reason why instead of using his first post I... |
Forum: Java Feb 27th, 2009 |
| Replies: 30 Views: 3,352 In Java too its just the same thing :-
String alpha = "A B C 1 2 3";
String beta[] = alpha.split(" ");
The values is "beta" would be the following :-
beta[0]="A" |
Forum: C++ Feb 25th, 2009 |
| Replies: 3 Views: 297 Just observe the following code snippet:-
if(send = true)
cout <<"You have passed the exam!\n";
else if (send = false)
cout <<"You have failed the exam.\n";
Watch both the conditions... |
Forum: Java Feb 23rd, 2009 |
| Replies: 13 Views: 747 Ehh !!! Its your program you tell me what you wanted to be printed instead of "null" !!! |
Forum: Java Feb 23rd, 2009 |
| Replies: 13 Views: 747 If you carefully check the following piece of code :-
String output = null;
String menu = null;
Scanner keyboard = new Scanner (System.in);
System.out.print("\nEnter your taxable income... |
Forum: Java Feb 23rd, 2009 |
| Replies: 13 Views: 747 String myString = Integer.toString(enter);
return enter;
return output;
You completely missed the point I was trying to say. I had told you to package both those values into a String... |
Forum: Java Feb 22nd, 2009 |
| Replies: 13 Views: 747 |
Forum: Java Feb 22nd, 2009 |
| Replies: 13 Views: 747 You have many options here one is create a new class which has those two as its member properties and return a reference to this object from that method.
Second is put them both inside a "String"... |
Forum: JSP Feb 21st, 2009 |
| Replies: 3 Views: 1,949 @vishalsnc
Drop the IM speak this is not a chat room, and try to read the rules and search the forums before you post anything.
What do you think does the Sticky which Peter has linked to... |
Forum: Java Feb 19th, 2009 |
| Replies: 4 Views: 1,365 If you use the showInputDialog() (http://java.sun.com/j2se/1.4.2/docs/api/javax/swing/JOptionPane.html#showInputDialog(java.awt.Component,%20java.lang.Object)) method, it either returns the String... |
Forum: Java Feb 19th, 2009 |
| Replies: 4 Views: 1,365 In case you do not want your user to press "Cancel" in a JOptionPane dialog, you can actually get rid of that button altogether using the JOptionPane.showOptionDialog()... |