Results 1 to 6 of 6
  1. #1
    peter_thm is offline Member
    Join Date
    Jan 2009
    Posts
    5
    Rep Power
    0

    Default can someone look over my code?

    Hello, I am relatively new to java and I would appreciate it if someone would look over my program and give suggestions/advice on how I could code it better and make it faster.
    Here is the link for the file which is a rar archive of the netbeans project folder:
    www(dot)mediafire(dot)com/?qnzuayzy0zq
    What the program does, is it generates a 3d fractal using a collection of points and renders the points to the screen. You can move the camera using the wasd keys and change the direction the camera is facing using the arrow keys.
    Here is the link to the built jar file, if you want to see what it is about:
    www(dot)mediafire(dot)com/?fzmz3ddzznu

  2. #2
    Fubarable's Avatar
    Fubarable is offline Moderator
    Join Date
    Jun 2008
    Posts
    19,316
    Blog Entries
    1
    Rep Power
    26

    Default

    How much are you paying for the review services?

    But seriously, you may get some bites, but I doubt it as this is asking much of an all-volunteer site. Now if on the other hand, you had specific question over a small bit of code that you've posted here, now for that you'll likely have folks fighting each other to help you first.

    Best of luck.

  3. #3
    peter_thm is offline Member
    Join Date
    Jan 2009
    Posts
    5
    Rep Power
    0

    Default

    Thanks for the advice. I guess I'll try asking some questions:
    In my program, I've split everything into a bunch of different classes to do different tasks and the main class just links everything together. Is this a good way of structuring the program? opinions?
    And is there a way to speed up the Graphics.fillRect() method or is there a faster method?
    Also feel free to try out the program itself. Here is the link to the built jar file, (again):
    www(dot)mediafire(dot)com/?fzmz3ddzznu

  4. #4
    Eranga's Avatar
    Eranga is offline Moderator
    Join Date
    Jul 2007
    Location
    Colombo, Sri Lanka
    Posts
    11,372
    Blog Entries
    1
    Rep Power
    19

    Default

    Actually the best thing is follow object oriented programming concepts. Just having bunch of classes not solve that, implement all similar task in a class. Think about the encapsulation in grate way. And also you can use different packages as well.

  5. #5
    peter_thm is offline Member
    Join Date
    Jan 2009
    Posts
    5
    Rep Power
    0

    Default

    do you know any websites where I can learn more about oop?

  6. #6
    Eranga's Avatar
    Eranga is offline Moderator
    Join Date
    Jul 2007
    Location
    Colombo, Sri Lanka
    Posts
    11,372
    Blog Entries
    1
    Rep Power
    19

Similar Threads

  1. Help with this code
    By Doctor Cactus in forum New To Java
    Replies: 1
    Last Post: 11-07-2008, 05:46 PM
  2. Need help with web code
    By nemutah1 in forum New To Java
    Replies: 1
    Last Post: 07-10-2008, 08:33 PM
  3. I need help fixing my code.. or non code?
    By MrHuggykins in forum New To Java
    Replies: 1
    Last Post: 03-19-2008, 10:12 PM
  4. help with oop code
    By nhlfan in forum New To Java
    Replies: 1
    Last Post: 11-27-2007, 08:21 PM
  5. Replies: 1
    Last Post: 04-26-2007, 03:52 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •