Jump to content
  • Advertisement

PixolMaster

Member
  • Content Count

    777
  • Joined

  • Last visited

Community Reputation

302 Neutral

About PixolMaster

  • Rank
    Advanced Member
  1. Hi, I've been trying to find a way to get a class list from a package. Perhaps just an array containing strings such as: projectname.ui projectname.ui.LaunchPanel projectname.ui.LaunchPanel.AppManager projectname.ui.Login ... ... I can't seem to find a way to do so within Java. Is this possible without using IO to read all of the class files directly? Thanks very much for your time. Any help would be greatly appreciated. -- Alex Broadwin
  2. PixolMaster

    "Tookie" executed.

    Actually, it is cheaper to keep them in jail for life. Killing them isn't very expensive, really, but the litigation that leads up to it (appeals, red tape, etc) end up being far more expensive than the cost of life imprisonment. "Florida calculated that each execution there costs some $3.18 million. If incarceration is estimated to cost $17000/year, a comparable statistic for life in prison of 40 years would be $680,000." (The Geography of Execution... The Capital Punishment Quagmire in America, Keith Harries and Derral Cheatwood 1997 p.6) "A 1991 study of the Texas criminal justice system estimated the cost of appealing capital murder at $2,316,655. In contrast, the cost of housing a prisoner in a Texas maximum security prison single cell for 40 years is estimated at $750,000." (Punishment and the Death Penalty, edited by Robert M. Baird and Stuart E. Rosenbaum 1995 p.109 ) "I don't want my tax dollars paying to keep criminals alive... unfortunately, it costs dramatically more to kill those same criminals. The typical death penalty conviction must go through several levels of appeal. All these appeals must be heard by the courts in virtually every case. Attorneys are paid dramatically more than prison guards. One prison guard is responsible for several prisoners, where one prisoner on death row typically employs several attorneys and legal staff for many years, all while still using your tax dollars in prison. Life sentences are rarely appealed. The typical life span in prison is about two dozen years, many of the most violent prisoners get murdered in prison, often as a prowess maneuver within the convict population." -- Alex
  3. PixolMaster

    apple dashboard look for winXP.

    I believe this is what you seek: http://www.konfabulator.com/
  4. PixolMaster

    We were all newbies once, what did you do then?

    When I started programming in C++ my variables were all global, code that should have been broken up into 10 or more functions would be in just one, and I often wrote terrible things such as: int a; cin >> a; if(a == 0) cout << '0'; else if (a == 1) cout << '1'; else if (a == 2) cout << '2'; else if (a == 3) cout << '3'; ... ... Lots of bad code back then.
  5. PixolMaster

    Does anybody know of any free email forwarding?

    Does your webmail support filters? Can you say, for example, to send a copy of all email recieved to another address? A gmail address, perhaps, which offers free pop access?
  6. PixolMaster

    Beer with ice?

    Take an ice cube tray and fill it with water. Place it in the freezer. Take a bucket, fill it with the ensuing ice. Place beer in bucket. Wait. Drink beer. Be happy. EDIT: Note, beer must still be in original beer packaging when placed in bucket! DO NOT POUR IT IN OR SATAN SHALL CONSUME YOUR SOUL FOR ALL ETERNITY!
  7. PixolMaster

    If you could go back, what would you change?

    I really wouldn't change anything. Well, I might invent something like red bull the year before the "real" inventor did, or something to that effect... ~~ Alex
  8. PixolMaster

    Best smelling cologne for picking up women

    Quote:Original post by mittens Axe will get you sex. That is so true. You can believe their ads. Before I used Axe, though, all I did was shower every day and use damn good smelling fabric softener. Random girls would walk up to me on the way to class, smell me and tell me I smelled amazing. It rocked. ~~ Alex
  9. PixolMaster

    Today we will blame video games for...

    Personally I think that if everyone played more videogames there'd be a whole lot less teen pregnancy.
  10. Quote:Original post by widggman Check in the exception description to see the line with the Null Pointer. Maybe drawBuffer is not initialize. you have to do something like that: drawBuffer = new <DrawBufferClass> In Java, every class has to be created with "new". In C++, you can create an instance of a class without memory allocation. Check around that... Ahh you were right! Thank you so much! Ahh the joys of learning a new language.
  11. Hi! I'm pretty new to Java (I've always used C++), and I've run into a bit of a problem... Here's the code: Triangle[] triArray; // The array used for depth testing when adding triangles to the draw buffer ... ... triArray = new Triangle[drawBuffer.size()]; drawBuffer.toArray(triArray); This returns the following runtime error: (you guessed it...) java.lang.NullPointerException! I can't figure out what is causing the problem! I've tried initializing the variable triArray in as many ways as I can think of, and nothing eliminates the error! It's driving me mad! Any help would be greatly appreciated. Thanks for your time. ~~ Alex
  12. PixolMaster

    Milton's Paradise Lost

    I thought that this thread was going to be about Office Space. "I... I could put strychnine in the guacamole. NO salt..."
  13. PixolMaster

    Beware Thy Feline Friends

    It's possible, though. Learn more about toxoplasma gondii here: http://www.biosci.ohio-state.edu/~parasite/toxoplasma.html [link] Apparently it can cause neurological disorders, so it does affect the brain. Maybe the article is right. I think they might be stretching it with the rat thing, though.
  14. PixolMaster

    what is the opposite of init (initialize)

    Object.StrikeDownWithGreatVengance(); Actually, I use Initialize() and Shutdown(), with the occasional Kill().
  15. PixolMaster

    OMG SOMEONE RATED ME DOWN

    Yep, Arizona is definitely way hotter than here... It's not even 80 here and people complain. I used to go to Arizona fairly frequently around this time of year, and we've got nothing to complain about here in the Bay Area. Tucson, Arizona does have my favorite Indian & Mexican restaraunts, though.
  • Advertisement
×

Important Information

By using GameDev.net, you agree to our community Guidelines, Terms of Use, and Privacy Policy.

GameDev.net is your game development community. Create an account for your GameDev Portfolio and participate in the largest developer community in the games industry.

Sign me up!