Search Results

Showing results 1 to 40 of 1000
Search took 0.08 seconds.
Search: Posts Made By: BestJewSinceJC
Forum: Java 6 Minutes Ago
Replies: 9
Views: 107
Posted By BestJewSinceJC
Actually you are correct, I did not test my modifications thoroughly enough. The problem seems to reside in the server class though, not the client class. I'll take a look again.
Forum: IT Professionals' Lounge 9 Hours Ago
Replies: 42
Views: 81,427
Posted By BestJewSinceJC
I have two family members that bought Acer computers at around the same time. This was less than two years ago; neither computer is being used anymore - they both had to buy new laptops because of...
Forum: Geeks' Lounge 9 Hours Ago
Replies: 1
Views: 51
Posted By BestJewSinceJC
Haha. That's pretty funny and extremely nerdy of them.
Forum: Java 9 Hours Ago
Replies: 3
Views: 69
Posted By BestJewSinceJC
System.out.println("love symbol is various color combination .");

Done.
Forum: Java 9 Hours Ago
Replies: 5
Views: 117
Posted By BestJewSinceJC
^ Your program won't work without any String operations, unless your String is guaranteed to not have any spaces and the case is guaranteed to be the same throughout. You could potentially ignore...
Forum: Java 11 Hours Ago
Replies: 3
Views: 69
Posted By BestJewSinceJC
Haha. No details? If you want to impress someone you'll have to program something that is either extremely cool (which would involve coming up with your own idea) or program something that is above...
Forum: Geeks' Lounge 13 Hours Ago
Replies: 67
Views: 8,357
Posted By BestJewSinceJC
A golfer hooked his tee shot over a hill and onto the next fairway. Walking toward his ball, he saw a man lying on the ground, groaning with pain.
"I'm an attorney," the wincing man said, "and this...
Forum: Geeks' Lounge 13 Hours Ago
Replies: 67
Views: 8,357
Posted By BestJewSinceJC
I read most but not all of this thread, apologize if any of these are repeats but I don't think they are:

"A doctor and a lawyer were attending a cocktail party when the doctor was approached by a...
Forum: Java 14 Hours Ago
Replies: 9
Views: 107
Posted By BestJewSinceJC
I found the problem. Your code is way more complex than it needs to be. Essentially all you *need* in the client is the "clientTurnFlag", the send method, and the receive method. Initially in your...
Forum: Java 15 Hours Ago
Replies: 17
Views: 408
Posted By BestJewSinceJC
I'm sure I can help you fix your binarySearch method (it looks like everything else in your program is correct). However, your instructions specifically state: "The method should use sequential...
Forum: Java 15 Hours Ago
Replies: 5
Views: 117
Posted By BestJewSinceJC
If you change your JOptionPanes from using "frame" as their first argument to using "null" as their first argument, your program will work. Alternatively, you could continue to use "frame" as the...
Forum: Java 15 Hours Ago
Replies: 2
Views: 83
Posted By BestJewSinceJC
It'd be extremely helpful if you mentioned how you want to split the Strings into substrings (e.g., do you want them to be split around spaces? Around a particular letter? Or what?)

If you read...
Forum: Java 16 Hours Ago
Replies: 2
Views: 68
Posted By BestJewSinceJC
I think you mean this:

http://www.j2ee.me/developer/technicalArticles/Programming/serialization/

(And related articles about Java Object Serialization)
Forum: Java 16 Hours Ago
Replies: 2
Views: 58
Posted By BestJewSinceJC
You could use a Timer to help you draw your lines at specific intervals. You could also use Thread.sleep(), as you mentioned - if that isn't working there must be something wrong in your...
Forum: Java 16 Hours Ago
Replies: 9
Views: 107
Posted By BestJewSinceJC
With the modification I made earlier, your program seems like it works. . so if you take the code I posted earlier and update the code on your machine with it, your program should run correctly.
Forum: C 16 Hours Ago
Replies: 7
Views: 127
Posted By BestJewSinceJC
If an alternate approach helps at all: strstr in this case, since it returns "a pointer to the located string (or null ptr if it isn't found)" you can (hypothetically) read your entire file into an...
Forum: Java 16 Hours Ago
Replies: 5
Views: 82
Posted By BestJewSinceJC
By bit operation I think he literally means an operation that directly operates on/manipulates bits. Although the only way I see to do this is to set aside an array of that many bits (via creating an...
Forum: Java 16 Hours Ago
Replies: 9
Views: 107
Posted By BestJewSinceJC
I looked through your code, and I don't see a reason why you should be continuously adding and removing the mouse listener. If there is no reason to do so, don't do it. (I.e. it adds nothing to your...
Forum: Java 17 Hours Ago
Replies: 9
Views: 107
Posted By BestJewSinceJC
I would say that this is a logical error. It might work if done properly, but in my opinion, the proper way to do this would be to keep both client and server aware of whose turn it is at all times....
Forum: Java 17 Hours Ago
Replies: 1
Views: 69
Posted By BestJewSinceJC
Let me make sure I get what you said: I'm assuming that according to what you said, for the two files above, a third file would be produced:

data3: 1 3 5 7 11 25 32 36 45 56 78 78 90 99

So your...
Forum: Java 1 Day Ago
Replies: 3
Views: 111
Posted By BestJewSinceJC
Again, refer to javaaddict's post for more information on why nobody is helping you.
Forum: Geeks' Lounge 1 Day Ago
Replies: 3
Views: 101
Posted By BestJewSinceJC
I don't know how people get that ugly. Nevermind the bad dressing.
Forum: Computer Science 1 Day Ago
Replies: 2
Views: 90
Posted By BestJewSinceJC
I would make a guess and then try the substitution method. I'm not very good with recurrences though so use this advice at your own risk (of failure). But the guess I'd make first would take into...
Forum: Java 1 Day Ago
Replies: 17
Views: 408
Posted By BestJewSinceJC
If you ask a more specific question, or tell me exactly what isn't working, I'll help you out. After 12 straight hours of coding an iphone project that uses the google maps API, kinda tired though.
...
Forum: Java 1 Day Ago
Replies: 5
Views: 117
Posted By BestJewSinceJC
First you need to define what you consider a palindrome. Typically a palindrome is considered any String with the same characters (in both directions) regardless of case and regardless of spacing. So...
Forum: Computer Science 2 Days Ago
Replies: 3
Views: 97
Posted By BestJewSinceJC
http://www.coders2020.com/can-we-do-a-binary-search-on-a-linked-list
Forum: Java 2 Days Ago
Replies: 2
Views: 100
Posted By BestJewSinceJC
I'd agree that using netbeans would be helpful, but which editor he uses is ultimately up to him. Seems strange to me to respond that you found errors but not to bother mentioning any though.
...
Forum: DaniWeb Community Feedback 2 Days Ago
Replies: 5
Views: 177
Posted By BestJewSinceJC
Is it true that code tags now "know" what forum they're in? Because I was only posting one line of code so I didn't use the =Java tag in the Java forum, yet it got posted with the Java code tags...
Forum: Java 2 Days Ago
Replies: 2
Solved: Need Initials
Views: 90
Posted By BestJewSinceJC
It seems like you have three Strings, firstName, middleName, and lastName. If that is the case, use

String initials = firstName.charAt(0) + middleName.charAt(0) + lastName.charAt(0);

instead of...
Forum: Java 2 Days Ago
Replies: 7
Views: 10,950
Posted By BestJewSinceJC
Oh man! Can I buy all of them???
Forum: Geeks' Lounge 2 Days Ago
Replies: 136
Views: 14,489
Posted By BestJewSinceJC
Spanking is fine. If you want to be really technical and define a spank that is fine, anything that does not leave a bruise is ok by me.
Forum: Geeks' Lounge 2 Days Ago
Replies: 13
Views: 1,055
Posted By BestJewSinceJC
Rugby is definitely a simpler game than American football. It has fewer rules and fewer plays (in terms of coaching) and fewer formations. How could such a game not be simpler?
Forum: Java 2 Days Ago
Replies: 17
Views: 408
Posted By BestJewSinceJC
You're using filename as if it was a method, but it is not a method. It is a variable of type String. And also, since filename was declared in the main method, you cannot use it in any other method....
Forum: Java 2 Days Ago
Replies: 1
Views: 89
Posted By BestJewSinceJC
Post in a regular thread. This is a code snippet which is not used for posting questions. And next time post with code=Java tags
Forum: Java 2 Days Ago
Replies: 2
Views: 102
Posted By BestJewSinceJC
You should probably actually write a helper method to do this. The helper method would figure out all of the numbers that divide perfectly into a given integer. It would return an ArrayList/array of...
Forum: C 2 Days Ago
Replies: 1
Views: 80
Posted By BestJewSinceJC
Considering that you just said you will be receiving a struct, as long as you know the format of the struct, you can use an array of structs to handle your message queue. This link describes how to...
Forum: Java 3 Days Ago
Replies: 2
Views: 125
Posted By BestJewSinceJC
System.out.println("ERROR! FLAGRANT WINDOWS ERROR!! Dunno what you did, mate, but you sure screwed things up over here! You're lucky I don't throw the Blue Screen of DEATH at you!! Now enter a...
Forum: DaniWeb Community Feedback 3 Days Ago
Replies: 89
Views: 4,199
Posted By BestJewSinceJC
Again: I'm reiterating because I feel very strongly about this.

The 'new' buttons are distracting and unnecessary. They don't add any features to the site - let me explain. If I have already been...
Forum: Java 3 Days Ago
Replies: 2
Views: 124
Posted By BestJewSinceJC
Post in code=java tags. And post what error you're getting, we can't really do mind reading.
Forum: Java 3 Days Ago
Replies: 2
Views: 119
Posted By BestJewSinceJC
Your question makes no sense. Please re-explain & give code also.
Showing results 1 to 40 of 1000

 


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

©2003 - 2009 DaniWeb® LLC