Forum: Java Aug 8th, 2007 |
| Replies: 7 Views: 6,104 Then don't replace it with 99? Think, you're going from 2 states: nothing or number, to three states: nothing, number, or protected.
Easy way to do that is to make a nested loop to set all values... |
Forum: Geeks' Lounge Aug 8th, 2007 |
| Replies: 15 Views: 1,681 http://www.youtube.com/watch?v=3ff_AXVlo9U
This is pretty cool I guess.
I have a video I like better but it's on liveleak. |
Forum: Geeks' Lounge Aug 7th, 2007 |
| Replies: 5 Views: 1,435 Here's an interesting article and strong theory into the problems with the "Red Sea" interpretation of the actual "Sea of Reeds" referenced in the Hebrew of the Bible:
Cliffs:
1.) The... |
Forum: C++ Aug 6th, 2007 |
| Replies: 6 Views: 1,186 Is the way that these headers are built not commonly used or something? I thought it would be a simple issue of a little (unknown to me) declaration practice.... |
Forum: C++ Aug 4th, 2007 |
| Replies: 6 Views: 1,186 I've already read through them and didn't find anything useful kthnx. |
Forum: Java Aug 3rd, 2007 |
| Replies: 13 Views: 5,064 public void createFile(String in)
{
toWork = new File(in);
try
{
if(toWork.exists() == false)
{
System.out.println("DNE");
... |
Forum: C++ Aug 3rd, 2007 |
| Replies: 6 Views: 1,186 I want to just create a GuiHolder object, but all of it's params are already filled (something I've never seen before). That's what is confusing me the most I think. |
Forum: C++ Aug 3rd, 2007 |
| Replies: 6 Views: 1,186 I'm using wxDev-C++ to write an auto-clicker program that I'm hoping to release as FOSS one day. I wrote some really neat algorithms that I tested in Java to be implemented my project so it can be... |
Forum: Geeks' Lounge Aug 3rd, 2007 |
| Replies: 16 Views: 1,520 I love this new system. All my rep came from the dev forums so I didn't lose anything with the shift. |
Forum: Java Aug 3rd, 2007 |
| Replies: 13 Views: 5,064 Just for future reference, you can't give Java a relative reference to a file and expect it to create a file with an absolute reference.
"inventory.dat" will be created in the folder that you... |
Forum: Geeks' Lounge Aug 3rd, 2007 |
| Replies: 34 Views: 3,150 According to NPR, it was a pair of Italian ex-spies that forged the documents on the presence of WMDs. It is very possible that he had no knowledge of their forgery. |
Forum: Geeks' Lounge Aug 3rd, 2007 |
| Replies: 34 Views: 3,150 Didn't you know? It's illegal in his house to invade any nation. |
Forum: Geeks' Lounge Aug 3rd, 2007 |
| Replies: 15 Views: 1,306 He claims that his single murder was because he was a hotheaded teenager, but the Death Penalty in the 'States is usually reserved for only premeditated murders. Premeditation isn't an action simply... |
Forum: Java Aug 2nd, 2007 |
| Replies: 5 Views: 1,882 Fantastic idea!
I will actually build one of those. ^_^ |
Forum: Geeks' Lounge Aug 2nd, 2007 |
| Replies: 123 Views: 8,223 |
Forum: Geeks' Lounge Aug 2nd, 2007 |
| Replies: 1,549 Views: 200,210 See, I would have just saved myself 3 hours and bought a chainsaw >.>
Either that or invented one. |
Forum: Java Aug 2nd, 2007 |
| Replies: 34 Views: 5,163 To be more specific, change:
if(cdNameField.getText().equalsIgnoreCase(s))
{
Inventorylist.setSelectedIndex(i);
Inventorylist.scrollRectToVisible(... |
Forum: Java Aug 2nd, 2007 |
| Replies: 34 Views: 5,163 You have your nesting wrong. Your brackets look like this:
(pseudocode)
if
{
else
}
but need to look like: |
Forum: Geeks' Lounge Aug 2nd, 2007 |
| Replies: 191 Views: 14,213 You are a
Social Conservative
(35% permissive)
and an...
Economic Conservative
(75% permissive) |
Forum: Geeks' Lounge Aug 2nd, 2007 |
| Replies: 52 Views: 5,204 |
Forum: Geeks' Lounge Aug 2nd, 2007 |
| Replies: 52 Views: 5,204 I have a black micro and 2 of my friends have micros also (in white and silver). My ex-gf has one of the Nomads.
I know 2x as many people with Zens than IPoods, probably because the group I hang... |
Forum: Java Aug 2nd, 2007 |
| Replies: 4 Views: 1,028 http://www.daniweb.com/forums/search4706195.html |
Forum: Java Aug 1st, 2007 |
| Replies: 34 Views: 5,163 I can't even run that code and see. The code you pasted has all kinds of weird errors.
Exception in thread "main" java.lang.UnsatisfiedLinkError: java.awt.Toolkit.init
IDs()V
at... |
Forum: Geeks' Lounge Aug 1st, 2007 |
| Replies: 34 Views: 3,150 Impeachment is a power used to indict an official on criminal charges, not to remove an official from office that society dislikes. I think that after the Clinton impeachment attempt, people began... |
Forum: Game Development Jul 31st, 2007 |
| Replies: 4 Views: 4,221 In our first year of Computer Science (High School) we wrote a few games as end of year projects using XMLs to store information and save info.
We loved the flexibility and structure XMLs gave... |
Forum: Game Development Jul 30th, 2007 |
| Replies: 15 Views: 2,966 I would've thought Python would be painfully slow for any real games...
I mean, here's an earlier speed test I ran in Java, C, and Python using equivalent calculations for each language:
Python... |
Forum: Java Jul 30th, 2007 |
| Replies: 7 Views: 1,902 You're in your final year of CE and you can't write a Sudoku solver program on your own? I've seen Sudoku brute forcers fit easily in less than a hundred lines.
Sudoku programs are often given to... |
Forum: Java Jul 30th, 2007 |
| Replies: 6 Views: 947 |
Forum: IT Professionals' Lounge Jul 27th, 2007 |
| Replies: 11 Views: 1,874 Fortran isn't dead, at least not in the scientific/supercomputing community where it was intended to be used from the beginning.
Pascal lost members because it became obsolete with the intro of... |
Forum: Geeks' Lounge Jul 27th, 2007 |
| Replies: 23 Views: 2,093 I was too, but considering that she could live off the interest of the bank accounts and never have to work a day in her life while still providing for the future of the family, I think I'd choose... |
Forum: Geeks' Lounge Jul 27th, 2007 |
| Replies: 14 Views: 2,017 Steve, I'm afraid your ideas are only reasonable to you because your mind doesn't allow you to entertain multiple ideas at once (quite clear from your writing, as well as from your proposals).
I... |
Forum: Geeks' Lounge Jul 27th, 2007 |
| Replies: 213 Views: 18,090 I disagree. Between forums and friends there is plenty of personality and intelligence to interact with. I'd at least consider having fun with the hotter one and enjoying other pursuits (intellectual... |
Forum: Java Jul 27th, 2007 |
| Replies: 59 Views: 5,785 I just tested the code you posted up above, commented in the restocking line (which was commented out in your Inventory2), replaced your methods with the methods that I modified above, and your... |
Forum: Java Jul 27th, 2007 |
| Replies: 59 Views: 5,785 Do your methods look something like this in terms of functionality such that the value/total is being updated each time either the price, number in stock, and restock number changes?:
public void... |
Forum: Geeks' Lounge Jul 26th, 2007 |
| Replies: 41 Views: 3,345 I saw a Ford Mustang this morning: 40th anniversary red with beige racing stripes and painted wheels, all leather, Mach 1000 stereo with sub woofers in the trunk. It was pretty cool.
... |
Forum: Geeks' Lounge Jul 26th, 2007 |
| Replies: 6 Views: 2,078 What is this?:
http://www.fileplanet.com/163654/160000/fileinfo/Star-Wars:-Empire-at-War-Map-Editor |
Forum: Geeks' Lounge Jul 26th, 2007 |
| Replies: 53 Views: 3,496 You should say, Microsoft has designed the manual update process and other utilities (useful or not) to restrict you to using ONLY IE.
:p |
Forum: Java Jul 26th, 2007 |
| Replies: 59 Views: 5,785 Other than you fixing the display for the CDs using toStrings instead of the object addres , implementing the delete button (remove the element from the array and repopulate the list display to... |
Forum: Java Jul 26th, 2007 |
| Replies: 59 Views: 5,785 I don't see where you are populating your list model. I think you're trying to call the value from list model without having values in it.
I commented out that line such that:
//Instantiate... |
Forum: Java Jul 26th, 2007 |
| Replies: 5 Views: 6,573 Google returned:
http://java.sun.com/j2se/1.5.0/docs/guide/language/annotations.html |