Posts
 
Reputation
Joined
Last Seen
Strength to Increase Rep
+0
Strength to Decrease Rep
-0
0% Quality Score
Upvotes Received
0
Posts with Upvotes
0
Upvoting Members
0
Downvotes Received
1
Posts with Downvotes
1
Downvoting Members
1
1 Commented Post
~8K People Reached
Favorite Forums
Favorite Tags

8 Posted Topics

Member Avatar for joe.crook.9

To solve this problem, simply set a variable equal to all of the return values in each of the if/else-if statements and then return that variable outside of the if/else-if blocks.

Member Avatar for stultuske
0
176
Member Avatar for zach&kody

After compiling this code, I am getting a "cannot find symbol constructor Timer(int,Morning)" on line 17. [CODE]import java.awt.*; import java.awt.event.*; import javax.swing.*; public class Morning extends JFrame { private EasySound rooster; private int time; /** * Constructor */ public Morning (int time) { time = 0; Timer clock = new …

Member Avatar for stevenwilson
0
407
Member Avatar for zach&kody

How do you override a superclass's methods with a subclass? These are my two programs, the first being the super class, and the second being the subclass of which I am attempting to override the superclass's methods. [CODE]// This class represents a walker with two feet. import java.awt.Image; import java.awt.Graphics; …

Member Avatar for rubberman
0
211
Member Avatar for zach&kody

My friend and I are in a computer science class, and we were wondering how to edit the contents of a jar file? What software would we use, lines of code we might need, or any other input would be greatly appreciated. -From our computer to yours'- zach&kody

Member Avatar for JamesCherrill
0
980
Member Avatar for Kawasaki8

Worst case scenario is you could lose everything, but when I was transfering my itunes data from my hp to my new Mac Air I encountered a similar problem. I actually have a question for you; the music in your itunes library is the same as on your phone correct? …

Member Avatar for royng
0
253
Member Avatar for zach&kody

Once again, my friend Kody and I have come to a dilema. We made a Hopper class which makes 2 feet hop forward by our int stepLength. We placed a stop method to stop the feet at the end of the screen, but our instructor wants the feet directly in …

Member Avatar for Taywin
0
195
Member Avatar for zach&kody

My friend and I are in a Computer Science I class, and we are momentarily working on a project which asks you to import a method from a previously edited source, into another java source file. Here is our code. [CODE]import java.awt.Graphics; import java.awt.Color; import java.awt.Image; import java.awt.Container; import javax.swing.JFrame; …

Member Avatar for zach&kody
0
6K
Member Avatar for bugista

The End.