Forum: Java 4 Days Ago |
| Replies: 1 Views: 135 The code you posted won't compile - improper structure - which will certainly affect the visibility of those buttons.
You also haven't set howMany to any value. |
Forum: Java 4 Days Ago |
| Replies: 6 Views: 225 It looks like you can download the Java SE tutorial from Sun here:... |
Forum: Perl 5 Days Ago |
| Replies: 25 Views: 641 Yes, I would imagine that your college would prefer that you at least did a little work on it yourself. They probably have some policies about that.
Edit: Hmm, yeah, they do:... |
Forum: Growing an Online Community 6 Days Ago |
| Replies: 10 Views: 3,380 "the instructor said that he knew for a fact that many schools admissions have access to a special type of Facebook admin rights where they can view profiles that are "locked" or "private"."
And I... |
Forum: DaniWeb Community Feedback 11 Days Ago |
| Replies: 27 Views: 2,259 Get riled up easily much?
This isn't me in "shook my cage" mode. You were suggesting that if the system has no value at all, it should be scrapped. I merely pointed out that only a few have voiced... |
Forum: DaniWeb Community Feedback 11 Days Ago |
| Replies: 27 Views: 2,259 ardav, it seems to me there are only a couple of people complaining about it. The majority haven't said one way or the other, so you really can't assume to know their feelings on it based upon one or... |
Forum: DaniWeb Community Feedback 11 Days Ago |
| Replies: 53 Views: 2,717 I think you got that backward. It was Jupiter2 who offered those as excuses. Bob only mentioned that he too was older and has injury to deal with, so he knew what that felt like. He was not claiming... |
Forum: Java 12 Days Ago |
| Replies: 10 Views: 8,466 Any other homework you need us to provide ASAP on your demand? Perhaps just post your instructor's email address so we can send it in directly? |
Forum: Java 15 Days Ago |
| Replies: 7 Views: 445 Well, according to the OP, yes... |
Forum: DaniWeb Community Feedback 17 Days Ago |
| Replies: 53 Views: 2,717 And I agree with Niek_e: airing this out in a public thread in Community Feedback is probably not the most productive way to address the situation. |
Forum: Java 22 Days Ago |
| Replies: 2 Views: 260 Why not stick with the ButtonGroup? You can put both radio buttons and check boxes in the button group just fine. CheckboxGroup is for use with AWT Checkbox.
(By the way, you forgot... |
Forum: Geeks' Lounge 23 Days Ago |
| Replies: 8 Views: 423 |
Forum: Java 23 Days Ago |
| Replies: 2 Views: 212 Maybe you want to reverse line 23? |
Forum: Java 23 Days Ago |
| Replies: 8 Views: 332 Using the pattern (\w+?[RK]) with the regex Matcher.find() (http://java.sun.com/javase/6/docs/api/java/util/regex/Matcher.html#find()) method will capture all of those groups except for the last one,... |
Forum: Java 23 Days Ago |
| Replies: 18 Views: 514 You can start with Reading Text From A URL (http://www.exampledepot.com/egs/java.net/ReadFromURL.html) and Regular Expressions (http://java.sun.com/docs/books/tutorial/essential/regex/). |
Forum: Computer Science 23 Days Ago |
| Replies: 9 Views: 398 My suggestion: learn how to type and communicate effectively. It will serve you well. |
Forum: Java 24 Days Ago |
| Replies: 18 Views: 439 I think you are correct that the behavior did stem from some blocking, but this can still be simplified a great deal to work without a separate listening thread.
Here's a re-wired version of the... |
Forum: Java 24 Days Ago |
| Replies: 5 Views: 216 The problem is that all of your code, including the thread.sleep() calls, are executing on the AWT event queue thread, which is the same thread that handles the repaint calls to update the display.... |
Forum: JavaScript / DHTML / AJAX 26 Days Ago |
| Replies: 1 Views: 213 Sounds like you probably need to fail then if you cannot show that you learned the material. Failing can be a great learning experience. |
Forum: DaniWeb Community Feedback 29 Days Ago |
| Replies: 91 Views: 6,789 I agree that the "New" buttons are too large. I prefer the previous version that wasn't so intrusive. |
Forum: Java 29 Days Ago |
| Replies: 7 Views: 317 Here is a "bare bones" mockup of how such an event model can be implemented. I've retained your names so it might be a little clearer
import java.util.ArrayList;
import java.util.List;
public... |
Forum: Java 29 Days Ago |
| Replies: 7 Views: 317 I'm struggling a bit to understand the exact behavior you are aiming for, but if you're just saying that the "main frame" needs to take some action when the selection array changes, you can make a... |
Forum: Java 30 Days Ago |
| Replies: 20 Views: 493 Keep the point2 assignment and a repaint() in mouseDragged(). Leave mouseReleased() as you have it, but also set point2 to null. Then alter your paintComponent() method to draw a line from point1 to... |
Forum: Java 31 Days Ago |
| Replies: 10 Views: 273 Well, evidently you it's something that you cannot do because you are here asking how to do it. I'd say you lost the bet. |
Forum: Java 32 Days Ago |
| Replies: 4 Views: 352 There are existing wrapper classes for all of the primitive types.
Use Integer. Auto-boxing will handle the casting for you. |
Forum: Java 32 Days Ago |
| Replies: 4 Views: 270 I think you're talking about a combo box: http://java.sun.com/docs/books/tutorial/uiswing/components/combobox.html |
Forum: Java Oct 22nd, 2009 |
| Replies: 5 Views: 244 If you mean task instead of target, yes there is.
Read the documentation (http://ant.apache.org/manual/index.html). |
Forum: Community Introductions Oct 20th, 2009 |
| Replies: 3 Views: 2,066 Well, dragging up a four-year-old thread in the wrong forum is not the way to go about it. |
Forum: Search Engine Optimization Oct 19th, 2009 |
| Replies: 7 Views: 788 Personally I'm surprised there aren't more sig link spamming "thanks for this informations!" posts in this thread yet. |
Forum: IT Professionals' Lounge Oct 15th, 2009 |
| Replies: 8 Views: 14,336 First you need help understanding the definitions of the words "complex" and "simple" and their relationship. |
Forum: Java Oct 13th, 2009 |
| Replies: 2 Views: 208 You may just be missing a call to setVisible(). |
Forum: Java Oct 12th, 2009 |
| Replies: 15 Views: 3,763 Asking of coherent question in new thread. |
Forum: Geeks' Lounge Oct 11th, 2009 |
| Replies: 68 Views: 102,361 Thanks for your enlightened insight, devin. I'm sure many will benefit from this advice. |
Forum: Geeks' Lounge Oct 6th, 2009 |
| Replies: 179 Views: 9,549 Perhaps because your entire post comes across as a long troll? I didn't find much of it very insightful - just another anti-Microsoft rant.
/yawn at your indignation. |
Forum: Java Oct 5th, 2009 |
| Replies: 3 Views: 337 The super.paintComponent() call just let's the component perform whatever normal painting the super class would if the method weren't overridden.
To the OP: you may want to glance over this bit... |
Forum: Java Oct 5th, 2009 |
| Replies: 9 Views: 442 You declare it as an array of CD objects, like soCD[] cdList = new CD[10]; and create them in the array like socdList[0]=new CD("Kaiser "," up the khazi ", 9.99); |
Forum: Java Oct 5th, 2009 |
| Replies: 1 Views: 203 Start with the information in the Read Me: Starting Java thread stickied at the top of the forum. That is exactly why it was put together. |
Forum: Computer Science Oct 3rd, 2009 |
| Replies: 4 Views: 393 I think it offers a lot of good material and things to think about to someone young in the industry. |
Forum: Java Oct 2nd, 2009 |
| Replies: 20 Views: 1,442 You could use something like this in your MapPanel to manage the "spots"import java.awt.*;
import java.awt.event.MouseEvent;
import java.awt.event.MouseListener;
import javax.swing.*;
public... |
Forum: Java Oct 2nd, 2009 |
| Replies: 20 Views: 1,442 Positioning with no layout manager:
http://java.sun.com/docs/books/tutorial/uiswing/layout/none.html |