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.
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.
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.
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.
Yes, the new search function does not work very well. It also finds posts that have been removed.
956
952
I certainly hope your professor finds this posting.
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.
HashMap.
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.
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.
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.
944
940
Just post your questions as Comatose suggested.
936
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.
Complete tutorial on laying out components:
http://java.sun.com/docs/books/tutorial/uiswing/layout/index.html
Stephen is correct. The JDBC-ODBC bridge should be avoided unless there is absolutely no other driver available.
You could also look at Pentaho Reporting (formerly JFreeReport).
And for future reference, "plz" is not a word. I believe you meant "please".
Hi
Am a student of BCA. Can you help me to learn about Hacking.
Fail.
934
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.
I'm just trying to figure out if Flyin Dagger is having a conversation with himself or if some posts were deleted ;)
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.
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.
Do it in Fortran.
926
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?
Is there a way to get paid well for that instead of actually doing productive work? :)
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.
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.
914
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.
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.
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);
}
910
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.
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.)
Nope.
904
Avast
Spybot S&D
Ad Aware
Firefox + AdBlock + NoScript
I've read good things about MalwareBytes, but haven't used it personally.
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.
848
840
830
826
822
Hi all,
i want a simple java code to convert currency to indian rupees...how to proceed?
With a keyboard and text editor.