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...
Type: Posts; User: wetwater
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...
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...
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.
...
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...
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...
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...