Search:

Type: Posts; User: wetwater

Search: Search took 0.07 seconds.

  1. Replies
    0
    Views
    1,006

    Jradiobutton problem

    I can't seem to get my radio buttons to work. My program basically is a menu. My problem is when i select a burger from my radio buttons and then click calcuate it says my subtotal is 200(which I set...
  2. Replies
    3
    Views
    1,810

    Re: random card display problem

    I revised the code.Now i have everything finished but I can't get my actionlistener to randomize my cards again when I click my jbutton.


    import javax.swing.*;
    import java.awt.*;
    import...
  3. Replies
    3
    Views
    1,810

    random card display problem

    hey guys im trying to get my code to display 3 random cards from my images folder ( the cards are labeled 1.png to 54.png). Im confused how i would get my program to read and display my cards.

    ...
  4. Replies
    7
    Views
    1,224

    Re: Confused with constructor

    well my instructor said i need to include the following things in my MyInteger class


    • An int data field named value that stores the int value represented by this object.
    • A constructor that...
  5. Replies
    7
    Views
    1,224

    Re: Confused with constructor

    ok sorry here is the error message.
    You can ignore the parseInt messages.

    Exception in thread "main" java.lang.Error: Unresolved compilation problems:
    The method isEven(int) in the type...
  6. Replies
    7
    Views
    1,224

    Confused with constructor

    basically it is giving me an error at the 2nd line new MyInterger(5)
    Im not sure how to make the constructor to get rid of the errors when im calling myInteger, isEven,isOdd, isPrime in the main...
Results 1 to 6 of 6