Search:

Type: Posts; User: Norm

Search: Search took 0.38 seconds.

  1. Replies
    10
    Views
    1,410

    Re: Cookie Jar Program Issues

    This is a lot of code to add 1 to a variable:


    double newCookieAmount2 = 3.0;
    newCookieAmount2 = johnCookieCount + 1;
    johnCookieCount = newCookieAmount2;

    vs

    johnCookieCount++; ...
  2. Replies
    10
    Views
    1,410

    Re: Cookie Jar Program Issues

    That's very basic programming: Create a panel and add the buttons to the panel and add the panel to the frame.
    Same for a text area. Add it to a panel that is showing in the frame.

    One problem...
  3. Replies
    10
    Views
    1,410

    Re: Cookie Jar Program Issues

    Please format your posted code correctly with proper indentations. It should not all start in the first column.
  4. Replies
    10
    Views
    1,410

    Re: Cookie Jar Program Issues

    Can you explain the problems you are having?
    Have you seen this:
    How to Write an Action Listener (The Java™ Tutorials > Creating a GUI With JFC/Swing > Writing Event Listeners)
Results 1 to 4 of 4