m-e-g-a-z's Profile User Rating: -----

Reputation: 496 Architect
Active Posts:
1,454 (0.81 per day)
19-October 09
Profile Views:
Last Active:
User is offline May 24 2014 06:20 AM

Previous Fields

OS Preference:
Favorite Browser:
Favorite Processor:
Favorite Gaming Platform:
Your Car:
Dream Kudos:
Expert In:

Latest Visitors

Icon   m-e-g-a-z is back in London.

Posts I've Made

  1. In Topic: The setVisible() function not working properly

    Posted 25 Jul 2013

    Not related to the problem described but may be knowledgeable to others seeing this thread. Best to use constants within your bounds instead of magic numbers scattered across your code base.

    so within this

      sp.setBounds(0, 0, 800, 600);
      cp.setBounds(0, 0, 800, 600);

    you can create constants and define them

    private static final int WIDTH = 800; 
    private static final int HEIGHT = 600;

    then use them within your code base instead of magic numbers

      sp.setBounds(0, 0, HEIGHT, WIDTH);
      cp.setBounds(0, 0, HEIGHT, WIDTH);
  2. In Topic: how to split word from a string with regex?

    Posted 25 Jul 2013

    You can do this - either using Regex or build in methods from the String class.

    For simple tasks like this above - regex may be the first thought that comes to your head but i try and not over use them, sometimes it can be heavy.

    Hint - have a look at indexOf() and lastIndexOf() in the String class :)
  3. In Topic: Cant understand the programme.

    Posted 5 Jan 2013

    Just to note, classes should start with uppercase, so week should be Week :).
  4. In Topic: Java Code Assessor

    Posted 23 Oct 2012

    At my workplace, we use Sonar and it really helps us manage the quality of code we write and the build pipeline process. It identifies code violations and provides alternative ways of writing a specific line or section of code. An example could be generic exception handling when reading a file which would generally need IOException and/or NullPointerException handling. It would inform us of this violation which is very helpful in keeping the quality of the code consistent across the codebase.

My Information

Member Title:
Age Unknown
Birthday Unknown
London, England
Years Programming:
Programming Languages:
Java but play around with other languages.

Contact Information

Website URL:
Website URL  http://


  • (2 Pages)
  • +
  • 1
  • 2
  1. Photo

    m-e-g-a-z Icon

    23 Feb 2011 - 10:46
    15,000 profile views!
  2. Photo

    CodingSup3rnatur@l-360 Icon

    23 Feb 2011 - 02:49
    Yeah, I can't wait to start! I start the Java courses in October, so it should be good. Thanks for the comments :)
  3. Photo

    CodingSup3rnatur@l-360 Icon

    22 Feb 2011 - 08:33
    I work for a laundry company ;). Good thing is that it's the most highly automated laundry in Europe (apparently), so there's always plenty of development work to do. I think it's good to get real world experience alongside the uni stuff. Plus, they pay my uni fees, so it's a win win :)
  4. Photo

    CodingSup3rnatur@l-360 Icon

    21 Feb 2011 - 13:31
    I am studying with the Open University. I work 4 days a week (with Progress 4GL and VB.NET), and have 1 day off per week to study :)
  5. Photo

    EnvXOwner Icon

    18 Jan 2011 - 12:38
  6. Photo

    EnvXOwner Icon

    18 Jan 2011 - 11:18
    Yeah, I meant you should use it for layout. That it's okay to use for tabular data.
  7. Photo

    macosxnerd101 Icon

    01 Oct 2010 - 08:39
    Long time, no see. How are things going for you?
  8. Photo

    m-e-g-a-z Icon

    03 Jul 2010 - 02:42
    Thanks macosxnerd101 :)
  9. Photo

    macosxnerd101 Icon

    02 Jul 2010 - 18:18
    Looking good in purple!
  10. Photo

    m-e-g-a-z Icon

    02 Jul 2010 - 16:03
    Thanks eZACKe :)
  11. Photo

    eZACKe Icon

    02 Jul 2010 - 15:39
    Congrats man! Well deserved.
  12. Photo

    m-e-g-a-z Icon

    02 Jul 2010 - 13:38
    Thanks Dogstopper and skyhawk133! :)
  13. Photo

    Dogstopper Icon

    02 Jul 2010 - 12:42
    Congratulations on Expert!
  14. Photo

    skyhawk133 Icon

    02 Jul 2010 - 11:12
    Congrats on your promotion to Expert!
  15. Photo

    no2pencil Icon

    26 Jun 2010 - 01:34
  • (2 Pages)
  • +
  • 1
  • 2