No one has voted on any posts yet. Votes from other community members are used to determine a member's reputation amongst their peers.
Re:
Does anyone know COBOL? I need help with a program I am doing. |
|
"LeftRightPanel.java:45: setText(java.lang.String) in javax.swing.JLabel cannot be applied to (int) label.setText(num1);" I'm guessing that this is because I'm trying to imput a int in a line where there's supposed to be text. Can I do something like .setNumber, .setNum, or .setInt? Or is this an issue that I need to adrress … |
|
question states for me to have the prog read #'s inputed from the user in the range of 0 to 50 inclusive, count how many times each # was inputed, then print all #'s imputed and how may times they were. this is what I have so far.... [code]import java.util.Scanner; … |