User Profile

Collapse

Profile Sidebar

Collapse
Codeseeker99
Codeseeker99
Last Activity: Jan 20 '08, 07:00 PM
Joined: Jan 14 '08
Location:
  •  
  • Time
  • Show
  • Source
Clear All
new posts

  • Codeseeker99
    replied to Re-Size Issue
    in Java
    Thanks I fixed that with the line but I still have the problem with changing the
    public static final int SIZE = 4; When I change it to public static final int SIZE = 3; or public static final int SIZE = 7; The image is messed up. can someone help me out?
    See more | Go to post

    Leave a comment:


  • Codeseeker99
    started a topic Re-Size Issue
    in Java

    Re-Size Issue

    my code works for SIZE 4, but I was trying to get my code to Re-Size in SIZE 3, SIZE 7. If you can look at my "for (int" and let me know what I need to change to get it to work in all three sizes.

    Code:
    // Figure out math loops for new sizes
    public class SpaceTest {
    		public static final int SIZE = 4;
    		public static void main(String[] args) {
    		rod();
    		top();
    		singleLine();
    ...
    See more | Go to post

  • Codeseeker99
    started a topic Help With loops, nested loops and constant
    in Java

    Help With loops, nested loops and constant

    I am working on trying to do a image but I am having a hard time figuring out the right steps. plus I wanted to check how to change the overall size do I just add public static final int SIZE = 4;

    [CODE=Java]
    public class SpaceTest {
    public static void main(String[] args) {
    rod();
    top();
    line();
    bottom();
    rod();
    middle();
    top();
    line();
    ...
    See more | Go to post
    Last edited by BigDaddyLH; Jan 17 '08, 03:06 PM. Reason: Added code tags

  • Thanks for moving it. I haven't learned array's yet but was told I could use call methods and get it down to 13 methods not including the main just not sure what to change....
    See more | Go to post

    Leave a comment:


  • Codeseeker99
    started a topic New to Java with a Static Method Question
    in Java

    New to Java with a Static Method Question

    I am new to java and I am trying to learn how to to reduce lines of code that are redundant in a simple file I made. I am trying to figure out how to reduce this code down to 13 methods not including the main and reduce any extra lines without using array's



    [CODE=java]public class Song {
    public static void main(String[] args) {
    One();
    Two();
    Three();
    Four();
    ...
    See more | Go to post
    Last edited by Ganon11; Jan 14 '08, 01:45 PM. Reason: Please use the [CODE] tags provided.
No activity results to display
Show More
Working...