Forum: Geeks' Lounge 1 Day Ago |
| Replies: 21 Views: 683 I hope your existence on this site is a joke. And obviously the U.S. government is hiding secrets, as is every other government in the world, just nothing like the crazy crap you are talking about. |
Forum: Computer Science 2 Days Ago |
| Replies: 20 Views: 21,197 Alex:
"That's so pathetic and sad that such a potential person went down on prostitution just for money/pleasure. I feel sorry/sad for her!
She has lost almost any sight of virtue. I hope... |
Forum: Geeks' Lounge 2 Days Ago |
| Replies: 19 Views: 339 Not to be repeating myself. . but call of duty came out recently. . |
Forum: Computer Science 2 Days Ago |
| Replies: 4 Views: 156 Definitely not Mandarin. It is considered one of the hardest languages in the world to learn, so if you want to study computer science and not foreign languages, take something easier. And I should... |
Forum: DaniWeb Community Feedback 2 Days Ago |
| Replies: 6 Views: 232 |
Forum: Java 3 Days Ago |
| Replies: 2 Views: 164 www.eclipse.org
www.netbeans.org (or is it com?)
google |
Forum: DaniWeb Community Feedback 3 Days Ago |
| Replies: 7 Views: 480 I actually PMed Dani with this same question a few weeks ago, but I received no response. I didn't want to post it on the forums though. If you guys want to get a one time donation system set up, let... |
Forum: DaniWeb Community Feedback 3 Days Ago |
| Replies: 22 Views: 931 Maybe I misunderstand. But if I was a new member and I didn't know who knew what they were talking about and who didn't, being able to check the user votes percentage might be a pretty useful metric.... |
Forum: Java 5 Days Ago |
| Replies: 5 Views: 157 The StringTokenizer class documentation says its use is discouraged in new code and to use String class's split method instead.
And you cannot cause a String to be evaluated as if it was a piece... |
Forum: DaniWeb Community Feedback 5 Days Ago |
| Replies: 22 Views: 931 I guess, but without some degree of feedback, nothing can ever improve. |
Forum: Java 5 Days Ago |
| Replies: 1 Views: 112 If you have a file full of ints then you would just use
while(scanner.hasNextInt())
You would not use scanner.hasNext() and then the if statement, that is an extra unnecessary step. You could... |
Forum: DaniWeb Community Feedback 5 Days Ago |
| Replies: 22 Views: 931 Yeah, I understand how it works. I was saying 50 different members.
Also, jbennet, do you not like sknake? I only ask because I have made more comments about the voting system than he has, but you... |
Forum: DaniWeb Community Feedback 5 Days Ago |
| Replies: 9 Views: 541 |
Forum: DaniWeb Community Feedback 5 Days Ago |
| Replies: 9 Views: 541 That was like when a comedian makes a funny joke. Except you're not a comedian. And that joke wasn't funny.
Anyway, why not just search my name and down vote every post? Don't be so uncommitted.... |
Forum: DaniWeb Community Feedback 5 Days Ago |
| Replies: 22 Views: 931 The system is idiotic. Lets see how low we can get this post guys. -50? |
Forum: Java 5 Days Ago |
| Replies: 7 Views: 179 Your LoadStudents method doesn't make sense to me. You said while(s.hasNextLine()) but you never read anything in, so I'd think that would be an infinite loop. Additionally, you kept adding a new... |
Forum: Java 5 Days Ago |
| Replies: 2 Views: 120 There is no reason you'd ever pass "this" as an argument. "this" just refers to the Object of the classtype that you are currently in. So if your class name is Car, and you say "this." anywhere... |
Forum: Computer Science 8 Days Ago |
| Replies: 5 Views: 311 Unless you enjoy proving things you're probably going to hate mathematical proofs, so take linear algebra. I'm just being a realist. You can learn a lot in either class, and Rashakil's argument for... |
Forum: Java 8 Days Ago |
| Replies: 7 Views: 328 If you use Java's built in Stack class and Queue class, you can simply call the appropriate methods to add the items on and take them off. For both of them, to add an item on, you probably just use... |
Forum: Java 9 Days Ago |
| Replies: 7 Views: 328 abccba
if you add each letter in order to the stack and the queue, here is the final stack and queue (in the order they would be popped off)
1. abccba
2. abccba
But looking at something... |
Forum: Geeks' Lounge 9 Days Ago |
| Replies: 20 Views: 1,108 oops, last post wasn't clear. When I said mods in the java forum, I didn't mean those listed, I meant the few who browse and post most often. (Which does include peter)
And haha @ almost all mods... |
Forum: Java 9 Days Ago |
| Replies: 1 Views: 149 I haven't worked with Applets, but I think they work the same way as Swing basically? (Edit: confirmed - one whole point of JApplet is that it works with Swing). Use a JPanel or whatever the standard... |
Forum: Java 11 Days Ago |
| Replies: 2 Views: 124 Post your relevant code and tell us what part you're having trouble with. If your problem is not knowing enough about Timer and Threads, then read google. We'll be happy to help you with specific... |
Forum: Java 11 Days Ago |
| Replies: 2 Views: 213 In your PM, you asked "where should I implement the check condition". Typically do not PM daniweb members, keep questions to the threads. But I will answer anyway.
After each turn, you will need... |
Forum: Java 11 Days Ago |
| Replies: 2 Views: 282 http://www.csee.umbc.edu/courses/undergraduate/341/fall08/projects/proj5/HuffmanExplanation.html
That article explains the entire process, in detail, and it is the only resource needed to... |
Forum: Geeks' Lounge 12 Days Ago |
| Replies: 20 Views: 1,108 Overall I'll just say thanks to the mods because they manage to keep a forum this large in order, while still [supposedly] managing to like the site as a member, and I know how difficult that is. My... |
Forum: Computer Science 12 Days Ago |
| Replies: 2 Views: 377 My question for him is why he couldn't at least thinly veil the obvious COTS "my professor wrote this and then I pasted it on daniweb"... question |
Forum: Java 12 Days Ago |
| Replies: 2 Views: 213 Check is extremely simple actually. If any piece can currently move to the king's position, then the king is in check. Since you already have to implement the ability to allow players to move any... |
Forum: Java 12 Days Ago |
| Replies: 7 Views: 165 Yes but what is the close method supposed to do? |
Forum: Java 12 Days Ago |
| Replies: 9 Views: 209 Sorry, I just edited my post. Confirm the last part for me? |
Forum: Java 12 Days Ago |
| Replies: 9 Views: 209 A binary search should eliminate half of the items each time a search is done. You can think of it similar to a dictionary. The way a binary search program would look up a word in the dictionary is... |
Forum: Java 12 Days Ago |
| Replies: 8 Views: 199 Cool. Mark the thread as solved please. |
Forum: Java 12 Days Ago |
| Replies: 9 Views: 209 I think bucket sort or radix sort is supposed to be the best for that, but I don't remember the argument there, so look into it those topics. |
Forum: Java 12 Days Ago |
| Replies: 1 Views: 140 The last part is definitely wrong. digit % 10, if digit = 245, will be 5. But digit never gets modified there, so your program will run forever. What you should be doing is using a combination of %... |
Forum: Java 12 Days Ago |
| Replies: 8 Views: 199 Did you add the helpMenu to your JPanel? You didn't provide enough code to see what's going on. The method you posted looks fine but I'm not sure if you ever added the helpMenu (that was returned) to... |
Forum: Java 12 Days Ago |
| Replies: 7 Views: 165 Again, that depends on what you mean by 'closing an account'. Typically you'd close an account by removing all the money from it, i.e. withdrawing all money from your bank account, then just deleting... |
Forum: Java 12 Days Ago |
| Replies: 8 Views: 199 if e.isSelected makes no sense because you already know which item is selected, and you already know that it's selected because otherwise the actionPerformed method wouldn't have been called. And if... |
Forum: Java 12 Days Ago |
| Replies: 7 Views: 165 What is a consolidated account? Just an account under both names? What do you have to do to 'make an account consolidated'? |
Forum: Java 12 Days Ago |
| Replies: 8 Views: 199 What is subpanel? Up till line 9 your code seems ok to me, after that I have no idea what you are trying to do. |
Forum: Java 12 Days Ago |
| Replies: 1 Views: 119 A text based table? Or a GUI table? For the first use System.out.println() in a for loop to print your items to the screen, for the second, you can use a JTable and there are tutorials for that on... |