Ryano121's Profile User Rating: *****

Reputation: 1380 Grandmaster
Group:
Mentors
Active Posts:
3,041 (1.82 per day)
Joined:
30-January 11
Profile Views:
52,189
Last Active:
User is offline Aug 28 2015 01:00 PM
Currently:
Offline

Previous Fields

Country:
GB
OS Preference:
Windows
Favorite Browser:
Chrome
Favorite Processor:
Intel
Favorite Gaming Platform:
XBox
Your Car:
Who Cares
Dream Kudos:
625
Expert In:
Java

Latest Visitors

Icon   Ryano121 Finally new computer set up!

Posts I've Made

  1. In Topic: java netbeans login statement error (java.lang.NullPointerException)

    Posted 28 Aug 2015

    You already have a topic open for this.

    Closed.
  2. In Topic: java.lang.nullpointerexception error

    Posted 28 Aug 2015

    Learn some of the integrated debugging tools within Netbeans. Set a breakpoint at the start of the button handler and step through to see exactly what's happening. More than likely you aren't receiving anything from the database.

    For starters: Breakpoints

    In this case you are losing all of the information from your exception within the catch. Either include more information in the messagebox or print it out somewhere. Or even remove the catch entirely and you will see it all in the console.
  3. In Topic: Need help with a toString method

    Posted 28 Aug 2015

    PieceWorker() tries to call the constructor which doesn't make sense in this case (and won't without the new keyword).

    You don't want to create a new object in the toString method, you just want to return the properties of the current object - like you have done with calling earnings()

    It will depend on what format you are wanting to be returned but getting rid of PieceWorker() + will at least compile.

    Normally you would want to do something like
    return "PieceWorker- pieces=" + getPieces() + ", wage=" + getPieceWorkerWage();
    
  4. In Topic: Misplaced Braces

    Posted 28 Jul 2015

    Indenting your code properly will help you a lot with making sure your curly braces all match. Most IDE's have a formatting option which will do it all for you or you can do it yourself to learn the technique. Once you have that down it becomes easy to see if a level of indentation has all the correct braces.
  5. In Topic: Beginner in C#

    Posted 27 Jul 2015

    Also try and see if you can cut down on some of that duplicated code :)

My Information

Member Title:
D.I.C Lover
Age:
Age Unknown
Birthday:
Birthday Unknown
Gender:
Location:
United Kingdom
Years Programming:
8
Programming Languages:
C#, Java

Contact Information

E-mail:
Private

Friends

Showing 50 random friends of 19

Comments

Page 1 of 1
  1. Photo

    Ryano121 Icon

    21 Oct 2013 - 04:11
    Cheers :)
  2. Photo

    Michael26 Icon

    21 Oct 2013 - 03:03
    Told you it would happen, congrats on promotion :)
  3. Photo

    CODER IT Icon

    02 Oct 2013 - 04:54
    hi . may i ask ? is your profile picture is applicable , / can be use in facebook profile picture? does it still moving?
  4. Photo

    Ryano121 Icon

    16 Sep 2013 - 13:44
    Haha we may get there one day :)
  5. Photo

    Michael26 Icon

    16 Sep 2013 - 13:39
    It is amazing that you don't have expert badge, this injustice CAN'T go unpunished :)
  6. Photo

    Michael26 Icon

    01 Mar 2013 - 03:18
    Grandmaster :)
  7. Photo

    Ryano121 Icon

    28 Feb 2013 - 10:32
    Haha yeah :)
  8. Photo

    Michael26 Icon

    28 Feb 2013 - 10:27
    999 Rep, so close :)
  9. Photo

    Ryano121 Icon

    06 Feb 2013 - 08:00
    Thanks man! :)
  10. Photo

    raghav.naganathan Icon

    05 Feb 2013 - 20:35
    Hey buddy...nice rep...911 :)
  11. Photo

    _HAWK_ Icon

    29 Apr 2012 - 22:09
    Someone has some mad math skills!
Page 1 of 1