Search:

Type: Posts; User: Mac

Search: Search took 0.09 seconds.

  1. Thread: Project

    by Mac
    Replies
    15
    Views
    2,064

    Re: Project

    Just realized creating the class was stupid cause it interrupts the action listener. took it out so the code starts at the
    int redscore~~~~~
  2. Thread: Project

    by Mac
    Replies
    15
    Views
    2,064

    Re: Project

    Thanks for all your help thus far, Faz. I fixed up my button names to buttonRed like you suggested, changed it to objButton and jazz.

    Looking back through old work I found a code I'd written (and...
  3. Thread: Project

    by Mac
    Replies
    15
    Views
    2,064

    Re: Project

    Here's what I'm looking at. I think I've definitely made progress.



    import java.awt.*;
    import java.awt.event.ActionEvent;
    import java.awt.event.ActionListener;
    import javax.swing.JButton;...
  4. Thread: Project

    by Mac
    Replies
    15
    Views
    2,064

    Re: Project

    If you have AIM/Live, hit me up?
    Would make it easier than hitting refresh and jazz.

    Macabrepoet92 for AIM or @hotmail for live
  5. Thread: Project

    by Mac
    Replies
    15
    Views
    2,064

    Re: Project

    Imagine one of those online quizzes you take with the circle-shaped check boxes.
    Now imagine each question is Red or Blue. First circle is red, second is blue.

    It would look like:

    who won? ...
  6. Thread: Project

    by Mac
    Replies
    15
    Views
    2,064

    Re: Project

    //In initialization code:
    chinButton = new JCheckBox("Chin");
    chinButton.setMnemonic(KeyEvent.VK_C);
    chinButton.setSelected(true);

    glassesButton = new JCheckBox("Glasses");
    ...
  7. Thread: Project

    by Mac
    Replies
    15
    Views
    2,064

    Re: Project

    What I meant by if/else loop was that instead of writing code for every button click- if blue, tally 1 else red tally 1
    just have it loop the method?
    If that makes sense. I'm not too hot on...
  8. Thread: Project

    by Mac
    Replies
    15
    Views
    2,064

    Re: Project

    Thank you for the welcome. I will read the thread you recommended.

    True enough, I was given the assignment by my instructor~ but not in the way that you think.

    I was told to make a practical...
  9. Thread: Project

    by Mac
    Replies
    15
    Views
    2,064

    Project

    I'm trying to write a simple, click event based program and I need some help. I lack the experience to handle this on my own.

    Here's what I have so far~ (I'm not worried about perfection~ the...
Results 1 to 9 of 9