Search Results

Showing results 1 to 40 of 75
Search took 0.01 seconds.
Search: Posts Made By: aniseed ; Forum: Java and child forums
Forum: Java Sep 16th, 2007
Replies: 2
Views: 837
Posted By aniseed
You will have to declare an instance method if you are overriding.

To use a non-static method in main(), you will need to create an instance/object of the class. Since this class is abstract, you...
Forum: Java Aug 13th, 2007
Replies: 3
Views: 5,816
Posted By aniseed
You can save it as a String (VARCHAR) or CLOB. That depends on what you want to store.



That's got nothing to do with saving the data or the file. You could make use of a HTML parser or a...
Forum: Java Jan 30th, 2007
Replies: 2
Views: 1,780
Posted By aniseed
Wow! How do you expect someone to read that message? Please make use of code tags and line breaks.
Forum: Java Jan 30th, 2007
Replies: 4
Views: 2,526
Posted By aniseed
From your code:
while (s = "n"){

This is wrong in two aspects:
1. You are trying to do an assignment operation instead of comparison.
2. Even if you want to compare Strings, you should be...
Forum: Java Jan 28th, 2007
Replies: 7
Views: 1,867
Posted By aniseed
I guess I'll try reading teh book again. It might be an interesting study and a good topic to discuss practices. :)
Forum: Java Jan 28th, 2007
Replies: 7
Views: 1,867
Posted By aniseed
I see that somebody considers this post of mine as a mockery. It may have been due to me not being a native English speaker or me posting the wrong smilie. But I would genuinely wish to know the...
Forum: Java Jan 26th, 2007
Replies: 7
Views: 1,867
Posted By aniseed
Refer a couple of them to me so that I could remember not to mention it while replying somewhere. :cheesy:
Forum: Java Jan 26th, 2007
Replies: 7
Views: 1,867
Posted By aniseed
Sun's Java tutorial (http://java.sun.com/docs/books/tutorial/)

Thinking in Java - 3rd edition (http://www.mindviewinc.com/downloads/TIJ-3rd-edition4.0.zip)
Forum: Java Jan 26th, 2007
Replies: 2
Views: 1,724
Posted By aniseed
People don't solve homework here. What effort have you made so far?
Forum: Java Jan 26th, 2007
Replies: 3
Views: 1,286
Posted By aniseed
It is possible and it is bad/redundant code design.

If an object has to do some operation on itself, it can make use of the this keyword. There is no need to pass a self-reference. That's simply a...
Forum: Java Jan 26th, 2007
Replies: 3
Views: 1,286
Posted By aniseed
Your method signature is, kind of, redundant. When you are calling a method on an object, you don't need to pass the same object to it. Whatever information you need about the object is already...
Forum: Java Jan 26th, 2007
Replies: 6
Views: 7,043
Posted By aniseed
build.xml could be in the current directory (the directory where you are executing the command). If your build script is named something else, you can specify that with ant too.
Forum: Java Jan 25th, 2007
Replies: 2
Views: 1,189
Posted By aniseed
Please do not duplicate posts.
http://www.daniweb.com/techtalkforums/thread67707.html

Post some relevant information about your problem.
Forum: Java Jan 25th, 2007
Replies: 5
Views: 1,516
Posted By aniseed
Forum: Java Jan 25th, 2007
Replies: 5
Views: 1,516
Posted By aniseed
private void generate(int low, int high) {
Random generator = new Random();

return String.valueOf( low + generator.nextInt( high -low ) );

}
Forum: Java Jan 25th, 2007
Replies: 5
Views: 1,516
Posted By aniseed
If you want the method to return a String, you should not be declaring the method to return 'void' and you should be taking the low and high values as method arguments.
Forum: Java Jan 24th, 2007
Replies: 3
Views: 993
Posted By aniseed
It only means that you don't have knowledge in jsp and servlet too. You can't know those before learning core java. You still have time to learn it but your post stinks of laziness. Get some books...
Forum: Java Jan 22nd, 2007
Replies: 2
Views: 1,154
Posted By aniseed
Forum: Java Jan 20th, 2007
Replies: 5
Views: 6,132
Posted By aniseed
You mean applet! NoClassDefFoundError indicates a runtime classpath problem. Since you haven't posted any details, that's as far as I could help.
Forum: Java Jan 19th, 2007
Replies: 32
Views: 6,181
Posted By aniseed
Yet if they start out without a tool in the first place, they would not land in that situation.
Forum: Java Jan 19th, 2007
Replies: 5
Views: 6,132
Posted By aniseed
Another aspect is the lack of code tags. You should make use of code tags to make your posted code readable and preserve formatting.
http://www.daniweb.com/techtalkforums/announcement9-3.html
Forum: Java Jan 19th, 2007
Replies: 5
Views: 6,132
Posted By aniseed
Your application is not even using Swing. For a start, make use of Swing classes.

Second, making an applet of a Swing application is not too difficult. You need to change the top-level container...
Forum: Java Jan 18th, 2007
Replies: 10
Views: 16,929
Posted By aniseed
How so? An ArrayList is a List, unless you mean to use ArrayList instead of an array of Strings.
Forum: Java Jan 18th, 2007
Replies: 14
Views: 4,638
Posted By aniseed
I allegedly rarely make useful comments. Drivel begets more drivel.
Forum: Java Jan 18th, 2007
Replies: 14
Views: 4,638
Posted By aniseed
We are not proving anything. The question is irrelevant now because it's been a long time since Sun used that Java 2 thing. They moved ahead so you'd better move along too.

No, you are not wrong...
Forum: Java Jan 18th, 2007
Replies: 14
Views: 4,638
Posted By aniseed
Your answer would be partly correct. Factually, Sun decided to call it Java 2 - second generation or whatever logic they had, because they made a major addition with the Swing package. It included...
Forum: Java Jan 17th, 2007
Replies: 2
Views: 1,041
Posted By aniseed
Your post does not indicate any reason for getting a NullPointerException. My guess is that the isbn String is null but that's just a guess. Could you print out the stack trace and see what line it...
Forum: Java Jan 17th, 2007
Replies: 14
Views: 4,638
Posted By aniseed
That post is over 2.5 years old when Java 5 wasn't even around.
Forum: Java Jan 16th, 2007
Replies: 1
Views: 2,317
Posted By aniseed
You need to elaborate on what you mean by "not working"
Forum: Java Oct 27th, 2006
Replies: 5
Views: 1,300
Posted By aniseed
Yup, found that.
Forum: Java Oct 27th, 2006
Replies: 2
Views: 1,346
Posted By aniseed
http://java.sun.com/docs/books/tutorial/
Forum: Java Oct 27th, 2006
Replies: 5
Views: 1,300
Posted By aniseed
You haven't posted the error message.
Forum: Java Oct 27th, 2006
Replies: 11
Views: 4,181
Posted By aniseed
What command are you using to execute it?

Try with java -cp . tree
Forum: Java Oct 27th, 2006
Replies: 1
Views: 976
Posted By aniseed
What help - where's the question?
Forum: Java Oct 27th, 2006
Replies: 1
Views: 1,074
Posted By aniseed
http://en.wikipedia.org/wiki/API
http://en.wikipedia.org/wiki/Software_library
Forum: Java Oct 27th, 2006
Replies: 1
Ejb
Views: 1,052
Posted By aniseed
j2ee.jar in the J2EE SDK or there is an application server specific JAR in each application server which has the JAR for J2EE implementation. Add it to your Eclipse project.
Forum: Java Oct 6th, 2006
Replies: 1
Views: 1,715
Posted By aniseed
Unicode should work. Well, why not?
Forum: Java Jun 30th, 2006
Replies: 2
Views: 10,725
Posted By aniseed
Look at the struts documentation. There is a tag in struts-config.xml which allows you to configure the datasource.
Forum: Java Jun 30th, 2006
Replies: 6
Views: 2,226
Posted By aniseed
I guess he means some kind of Notepad application with some features over and above what notepad provides.
Forum: Java Jun 30th, 2006
Replies: 2
Views: 1,331
Posted By aniseed
http://www.oreilly.com/catalog/headservletsjsp/

I feel you should get comfortable with this first and then look around for Struts.
Showing results 1 to 40 of 75

 


About Us | Contact Us | Advertise | DaniWeb | Acceptable Use Policy | RSS Feed

©2003 - 2009 DaniWeb® LLC