Search:

Type: Posts; User: frodooftheshire

Search: Search took 0.11 seconds.

  1. Replies
    2
    Views
    959

    Need GUI help

    Hey everyone I'm trying to make a brick wall and every second row has to be offset by half of the brick width. I don't know why my program isn't displaying anything all it shows is the grey...
  2. Replies
    10
    Views
    1,125

    Re: why is my while loop terminating?

    Ok your assumption was correct I want to do it in the method itself and what would be my return if it wasn't a formatted string that was my initial problem I didn't know exactly what to return in...
  3. Replies
    10
    Views
    1,125

    Re: why is my while loop terminating?

    Should it not print out all the lines when I call the simulateFlight method? Why does it require to be done over and over that's my problem.
  4. Replies
    10
    Views
    1,125

    Re: why is my while loop terminating?

    public class cannon
    {
    public static void main(String[]args)
    {
    cannonball one = new cannonball(100);

    System.out.println(one);
    one.simulateFlight();
    ...
  5. Replies
    10
    Views
    1,125

    why is my while loop terminating?

    Hey everyone so I am having the damndest time trying to find out why when I print out the string from the simulate flight method that it only prints out one line and doesn't go until height reaches...
  6. Replies
    6
    Views
    1,165

    Re: Need help with while loop

    I want to return three things from the one method is that possible?
  7. Replies
    6
    Views
    1,165

    Re: Need help with while loop

    2376
    this is a picture of the entire message
  8. Replies
    6
    Views
    1,172

    Re: Party Bits problem

    Original Message: 1111111
    With even Parity: 11111111
    With odd Parity: 111111110
    Original Message: 1111110
    With even Parity: 11111101
    With odd Parity: 111111010


    that is what happened the...
  9. Replies
    6
    Views
    1,165

    Re: Need help with while loop

    it is an error which reads "missing return statement"
  10. Replies
    6
    Views
    1,172

    Re: Party Bits problem

    Well I assumed my error occurred in the other class not the driver class. I would use an if-else statement if I wanted to do one thing or another
  11. Replies
    6
    Views
    1,165

    Need help with while loop

    Ok so I attatched the assignment the question I'm on is #2 and this is what I have down so far. It asks for a return type but I'm not sure what to return? Any advice would be greatly appreciated...
  12. Replies
    6
    Views
    1,172

    Re: Party Bits problem

    It has a driver class that out puts the info

    public class parityFun
    {
    public static void main(String[]args)
    {
    message parity = new message("1111111");
    message parity2 = new...
  13. Replies
    6
    Views
    1,172

    Party Bits problem

    Alright So I am working on the first problem of this assignment and I have hit a road block. When my answer prints out it puts both a 1 and a 0 on and I only want it to do wone or the other...
  14. Replies
    5
    Views
    873

    Re: question about indexes

    Thanks
  15. Replies
    5
    Views
    873

    Re: question about indexes

    import java.util.Scanner;

    public class Help
    {
    public static void main(String [] args)
    {
    Scanner in = new Scanner(System.in);
    String abc;
    int ind1, ind2;
  16. Replies
    5
    Views
    873

    question about indexes

    So I was wondering if it is possible to stores indexes as variables. I have a question where the user inputs a string such as the fox [who is red] must have left earlier.
    The problem is to return...
  17. Replies
    2
    Views
    1,031

    Re: Java assignment help!

    import java.util.Scanner;
    public class Problem3
    {
    public static void main(String[]args)
    {
    Scanner in = new Scanner(System.in);
    String DMS1, DMS2;
    int degrees1, degrees2, minutes1, minutes2,...
  18. Replies
    2
    Views
    1,031

    Java assignment help!

    2335 Ok so I attatched my assignment I completed question one very easily question two I completed except for the brackets part I was not sure how to single out the brackets as a substring. But...
Results 1 to 18 of 18