Search:

Type: Posts; User: mcpanthers22

Search: Search took 0.09 seconds.

  1. Need help with putting restraints on my text area.

    my code works its just that my textarea in my message box runs out of my set window.




    import java.io.*;
    import java.awt.*;
    import java.awt.event.*;
    import javax.swing.*;
  2. Replies
    12
    Views
    1,733

    Re: Please HELP! my code is wrong somewhere.

    thanks guys for the help! how do you change this to solved?
  3. Replies
    12
    Views
    1,733

    Re: Please HELP! my code is wrong somewhere.

    Okay i got it to work finally lol I had to call my flip method in my main right before the boolean. here is what i ended up with and it does it every time. The String toString method really doesnt...
  4. Replies
    12
    Views
    1,733

    Re: Please HELP! my code is wrong somewhere.

    Yea I have changed the code a little to be able to use the boolean more but im not sure on my main set up. I know its wrong, but im not 100% sure how to use methods that are outside the main in the...
  5. Replies
    12
    Views
    1,733

    Re: Please HELP! my code is wrong somewhere.

    I wasnt really sure where to put it to be honest, but the void flip() method is supposed to flip the coin using Math.random.....Do i need to input my if statements here and do a function call into my...
  6. Replies
    12
    Views
    1,733

    Please HELP! my code is wrong somewhere.

    I am attempting to create a program for class that flips a coin 1000 times and counts the number of heads and tails. I have to use the following methods in this class:

    public boolean isHeads();...
  7. Thread: HELLO!

    by mcpanthers22
    Replies
    1
    Views
    847

    HELLO!

    Hey guys! I'm new to Java and this forum. I hope you guys can assist me while in the process of learning and maybe I will be able to help some too!
Results 1 to 7 of 7