Ezzaral 2,714 Posting Sage Team Colleague Featured Poster

Which was most likely found with a simple Google search:
http://www.google.com/search?sourceid=mozclient&ie=utf-8&oe=utf-8&q=java+ldap

Please take some initiative to search a little on your own before posting questions of this nature.

Ezzaral 2,714 Posting Sage Team Colleague Featured Poster

Atenka is saying that you are only collecting a single value from the user, but you are using an array in your method. If you need many values in an array, you need to prompt the user to enter each one. The "nextDouble" part is just fine - you just aren't collecting enough values to fill the array.

Ezzaral 2,714 Posting Sage Team Colleague Featured Poster

Sure, we saw what you wanted to say - broken into several fragments without context. If you want to respond to several points, quote them so people can follow.

Ezzaral 2,714 Posting Sage Team Colleague Featured Poster

Yes, the new search function does not work very well. It also finds posts that have been removed.

Ezzaral 2,714 Posting Sage Team Colleague Featured Poster

956

Ezzaral 2,714 Posting Sage Team Colleague Featured Poster

952

Ezzaral 2,714 Posting Sage Team Colleague Featured Poster

I certainly hope your professor finds this posting.

Ezzaral 2,714 Posting Sage Team Colleague Featured Poster

Look again at your variable declarations in main(). You'll see that you declared other variables for those values, but p, r, and t are not those variables.

zaraeleus commented: Thank you... you caught the obvious that I was missing all along! +1
Ezzaral 2,714 Posting Sage Team Colleague Featured Poster

HashMap.

Ezzaral 2,714 Posting Sage Team Colleague Featured Poster

Check the API on GregorianCalendar (or just Calendar if you wish).

Also keep in mind the forum rules regarding "chat speak" - if you wish to ask for help, take the time to type all of the letters in your words and use capital letters where appropriate.

Ezzaral 2,714 Posting Sage Team Colleague Featured Poster

As each number is generated, check the current numbers array to make sure it does not already contain that number, if it does, just generate another.

Ezzaral 2,714 Posting Sage Team Colleague Featured Poster

That class would probably be Library itself. A Library has a collection of Book objects. A Book is either "checked out" or "available". The Book collection could easily have more than one copy of a Book object, each with it's own state. When a Borrower checks out a Book object, the state would be changed to "checked out" and perhaps set properties such as "dateDue" and a reference to the current Borrower.

Ezzaral 2,714 Posting Sage Team Colleague Featured Poster

944

Ezzaral 2,714 Posting Sage Team Colleague Featured Poster

940

Ezzaral 2,714 Posting Sage Team Colleague Featured Poster

Just post your questions as Comatose suggested.

Ezzaral 2,714 Posting Sage Team Colleague Featured Poster

936

Ezzaral 2,714 Posting Sage Team Colleague Featured Poster

hey can u send me the soft copy of the seminar on teleimmersion??

Because you are genuinely interested in his views on the subject or because you are such a pathetic student that you cannot complete your own assignments?
Just curious. Hopefully it's the former. If it's the latter, please find another subject to study, as the industry does not need you.

Ezzaral 2,714 Posting Sage Team Colleague Featured Poster
Ezzaral 2,714 Posting Sage Team Colleague Featured Poster

Stephen is correct. The JDBC-ODBC bridge should be avoided unless there is absolutely no other driver available.

Ezzaral 2,714 Posting Sage Team Colleague Featured Poster

You could also look at Pentaho Reporting (formerly JFreeReport).

And for future reference, "plz" is not a word. I believe you meant "please".

Ezzaral 2,714 Posting Sage Team Colleague Featured Poster

Hi
Am a student of BCA. Can you help me to learn about Hacking.

Fail.

Ezzaral 2,714 Posting Sage Team Colleague Featured Poster

934

Ezzaral 2,714 Posting Sage Team Colleague Featured Poster

Well, the progression you outlined doesn't need a lookup really, it's just n(n-1) , but I suppose you could use an array or a HashMap to look up the score if it says that you must do so. Given an array of {2,6,12,20} a simple subtraction will transform "hits" to the array index of the score. I'll leave it to you to figure what that subtraction would be.

Ezzaral 2,714 Posting Sage Team Colleague Featured Poster

I'm just trying to figure out if Flyin Dagger is having a conversation with himself or if some posts were deleted ;)

Ezzaral 2,714 Posting Sage Team Colleague Featured Poster

Don't declare variables with the same names as methods and if you want to share those arrays between methods, you'll need to declare them at the class level. Currently they are local to your methods and are not visible to any code outside those methods.

Ezzaral 2,714 Posting Sage Team Colleague Featured Poster

You know, looking back at your post history, I'm going to recommend the most helpful tutorial I can think of for the balance of your time in computer science:
http://www.google.com/support/websearch/bin/static.py?page=searchguides.html&ctx=basics&hl=en

If you refuse to make any effort to find information and figure things out on your own, you may as well just pick a different subject to study altogether.

Ezzaral 2,714 Posting Sage Team Colleague Featured Poster

Do it in Fortran.

Ezzaral 2,714 Posting Sage Team Colleague Featured Poster

926

Ezzaral 2,714 Posting Sage Team Colleague Featured Poster

You have declared your "screenCapture()" method within your main() method, which is not allowed. You cannot declare functions within functions. Your main() declaration is missing the static modifier as well, which it needs.

Edit: Looking more closely, you actually have every method inside main() and no terminating brace for the class. Perhaps you deleted the closing brace on main() by mistake?

Ezzaral 2,714 Posting Sage Team Colleague Featured Poster

Is there a way to get paid well for that instead of actually doing productive work? :)

Ezzaral 2,714 Posting Sage Team Colleague Featured Poster

You could create a social networking site similar to Facebook called "WatShudIDo?", where all of the students who make posts like this could congregate and repeatedly ask each other "wat shud I do? wat did u do?". It should foster quite the spirit of community given how much they all have in common. Those who do manage to graduate and get jobs can later join a separate circle where they can have conversations like:"How do I do this?", "I dunno, how do I do this?", ad nauseum.
Sounds just grand.

Ezzaral 2,714 Posting Sage Team Colleague Featured Poster

I don't even understand what you mean by that question. Your code is only processing the top level of each root entry and only then if it's a directory.

Ezzaral 2,714 Posting Sage Team Colleague Featured Poster

914

Ezzaral 2,714 Posting Sage Team Colleague Featured Poster

A text editor and the JDK from Sun.

Ezzaral 2,714 Posting Sage Team Colleague Featured Poster

Somewhere you have a missing brace, paren, or semi-colon (or perhaps more than one). These should be rather simple structural syntax errors for you to locate. Just start looking backwards from the first line number the stack traces are reporting.

Formatting the code better would also help spot such structural problems, by the way.

Ezzaral 2,714 Posting Sage Team Colleague Featured Poster

If you really want to learn then don't be so hostile to suggestions that could help you improve.
His point was that you shouldn't write all of your code in main(). Learn to use classes and methods properly, as that is the entire foundation of Java.

Ezzaral 2,714 Posting Sage Team Colleague Featured Poster

Just add a call to super.paint(g) prior to your own paint code.

public void paint(Graphics g)
	{
                super.paint(g);
		g.drawString(output, 50, 50);
	}
Ezzaral 2,714 Posting Sage Team Colleague Featured Poster

910

Ezzaral 2,714 Posting Sage Team Colleague Featured Poster
Ezzaral 2,714 Posting Sage Team Colleague Featured Poster

i want to download some ebooks which are easily available on torrent

If you can only get them on your torrent then obviously the authors have released them as free ebooks, so you're basically asking for help obtaining illegal material.

Ezzaral 2,714 Posting Sage Team Colleague Featured Poster

Yeap I knw hw beautfl it looks bt thng is I dnt knw much abt progmng...ie y I askd help...

And the way your going now, you never will know much about it.
You only learn by doing it.
(And the "chat-speak" only reinforces the impression of lazy and ignorant.)

Ezzaral 2,714 Posting Sage Team Colleague Featured Poster

Nope.
904

Ezzaral 2,714 Posting Sage Team Colleague Featured Poster

Avast
Spybot S&D
Ad Aware
Firefox + AdBlock + NoScript

I've read good things about MalwareBytes, but haven't used it personally.

Ezzaral 2,714 Posting Sage Team Colleague Featured Poster

Also i would like to know how i can get the org.* library as well. Any help is appreciated.....

Um, I think you are going to have a hard time finding the "org.*" library - that could encompass thousands of projects.

Ezzaral 2,714 Posting Sage Team Colleague Featured Poster

848

Ezzaral 2,714 Posting Sage Team Colleague Featured Poster

840

Ezzaral 2,714 Posting Sage Team Colleague Featured Poster

830

Ezzaral 2,714 Posting Sage Team Colleague Featured Poster

826

Ezzaral 2,714 Posting Sage Team Colleague Featured Poster

822

Ezzaral 2,714 Posting Sage Team Colleague Featured Poster

Hi all,
i want a simple java code to convert currency to indian rupees...how to proceed?

With a keyboard and text editor.