mon_e_mons's Profile User Rating: -----

Reputation: 0 Apprentice
Active Posts:
26 (0.05 per day)
05-October 12
Profile Views:
Last Active:
User is offline Apr 15 2014 04:26 PM

Previous Fields

Dream Kudos:
Icon   mon_e_mons has not set their status

Posts I've Made

  1. In Topic: How do I center the text in this div vertically?

    Posted 15 Apr 2014

    Thank you very much, my good sir!
  2. In Topic: How do I replace each element in this array?

    Posted 15 Apr 2014

    Yeah that's what I was thinking. At first I was over complicating it in my head. But the outside loop would keep track of it's place in the entire deck and then the inner loop would deal with suits. I made an array called $royalty that will deal with a,j,q,k. Not sure yet if I'll use this but I have it. I haven't actually gotten around to doing this yet but I'm glad my thought process was on track with you guys'.
  3. In Topic: Trying to validate a textField to only accept numeric characters

    Posted 19 Nov 2012

    View PostDoinWork, on 19 November 2012 - 10:21 AM, said:

    If you want to validate a TextField on the fly(as they type), you can set up a document listener on it.

    Thanks. I know that's an option but I'd still like to try to use .matches()
  4. In Topic: How do I read one record at a time from a file with no delimiters?

    Posted 14 Nov 2012

    View Postg00se, on 14 November 2012 - 05:37 PM, said:


    There are no delimiters between words that you enter into this text file
    Then it can't be parsed. Use linefeeds

    See that's what I thought but it's something a couple people have already figured out. Maybe it IS allowed to be capitalized but it just wasn't demoed like that for us. In which case you would just use a for loop and if to charAt everything until you get to a character with the unicode value of a capital letter.

    Well thanks for confirming for me that under those circumstances it is impossible. Must be that the first letter can be uppercase.
  5. In Topic: I can't figure out why my loop isn't acting the way I want

    Posted 29 Oct 2012

    NVM guys I got it. It was a silly mistake. The for loops reset the value of k to 0 every time so it would just draw all of the stripes overlapping each other. I fixed it by adding +j*StripeHeight to the Y value of each line like this:

    if(j < 7)
    					if(j % 2 == 0)                                   //Short red stripes
    						Draw.setColor(new Color(155,28,44));
    						for(k = 0; k < StripeHeight; k++)
    					else                                             //Short white stripes
    						Draw.setColor(new Color(227,237,228));
    						for(k = 0; k < StripeHeight; k++)

My Information

Member Title:
New D.I.C Head
Age Unknown
Birthday Unknown

Contact Information



mon_e_mons hasn't added any friends yet.


mon_e_mons has no profile comments yet. Why not say hello?