Posts
 
Reputation
Joined
Last Seen
0 Reputation Points
Unknown Quality Score

No one has voted on any posts yet. Votes from other community members are used to determine a member's reputation amongst their peers.

~15.8K People Reached
Favorite Forums
Favorite Tags
java x 70
Member Avatar for blknmld69

I am having a problem get my program to compile. [B]ERROR[/B] Stopwatch.java:35: cannot find symbol symbol : method start() location: class Timer timer.start(); ^ Stopwatch.java:44: cannot find symbol symbol : method stop() location: class Timer timer.stop(); ^ Stopwatch.java:52: cannot find symbol symbol : constructor Timer(int,Stopwatch) location: class Timer timer = …

Member Avatar for JamesCherrill
0
646
Member Avatar for blknmld69

How can I change the code below to applet? [CODE] import java.awt.*; import java.math.*; import javax.swing.*; import java.awt.event.*; public class Timer extends JFrame { JButton start = new JButton("Start/Reset"); JButton stop = new JButton("Stop"); JLabel time = new JLabel("Time"); javax.swing.Timer timer; int count = 0; public Timer() { super("Timer"); addWindowListener( …

Member Avatar for blknmld69
0
113
Member Avatar for blknmld69

I have a program, which is essentially done, but there is something I am not very pleased with. First of it is a program that acts like a very basic shopping cart. The user can add or remove items, clear the list of selections they chose, and check out. This …

Member Avatar for Gerbiler
0
2K
Member Avatar for blknmld69

[B]I have my program working but i need to replace the JOptionPane.showMessageDialog(null, "The cost is " + totalCost); and just have the totalCost output to the totalCharges textfield. [/B] [CODE] import java.awt.*; import java.awt.event.*; import javax.swing.*; public class DormAndMealPlanCalculator extends JFrame { private JPanel dormPanel, mealPanel, buttonPanel, totalChargesPanel; private JComboBox …

Member Avatar for Gerbiler
0
173
Member Avatar for blknmld69

I would like to know how to take a selected Item string ("Allen Hall: $1,500 per semester") from one combobox and another selected Item string ("7 meals per week: $650 per semester") from another combobox and have the output to be ($2,150) the total of the two strings added together?

Member Avatar for javaAddict
0
103
Member Avatar for blknmld69

[B]Any ideas on how I would could this to add the selection in each box and put it in the total charges label? [/B] [CODE] import java.awt.BorderLayout; import java.awt.event.ActionEvent; import java.awt.event.ActionListener; import javax.swing.JButton; import javax.swing.JComboBox; import javax.swing.JFrame; import javax.swing.JLabel; import javax.swing.JPanel; import javax.swing.JTextField; /** The Main class creates the GUI …

0
83
Member Avatar for blknmld69

I have started my code to create an application with two combo boxes. One that holds the names of the dormitories and the other holds the meal plans. The user should select a dormitory and a meal plan, and the application should show the total charges for the semester. I …

Member Avatar for jon.kiparsky
0
900
Member Avatar for blknmld69

I am having problems with the output of my program. The progam should Design a class named Employee. The class should keep the following information in fields: Employee name Employee number in the format XXX-L, where each X is a digit within the range 0-9 and [INDENT]the L is a …

Member Avatar for Overbooked
0
8K
Member Avatar for blknmld69

I am having problems with the output of my program The program is to design a classed named Employee. The class should keep the following information in fields: Employee Employee number in the format XXX-L, where each X is a digit within the range of 0-9 and the l is …

Member Avatar for peter_budo
0
58
Member Avatar for blknmld69

Good Morning, Having a problem with my program not calculating. I have wrote a program CashRegisterA Class that should be used with the RetailItem Class. The CashRegisterA Class should stimulate the sale of the retail item. It should have a constructor that accepts a RetailItem object as an argument. The …

Member Avatar for blknmld69
0
1K
Member Avatar for blknmld69

Good Morning, Having all kinds of problems with my programs. Seems as though is trying to read the StudentList file but cant. Im confused. I run the program and it goes to the StudentList.java and gives the errors below after the code. PLEASE HELP! project is past due and the …

Member Avatar for blknmld69
0
395
Member Avatar for blknmld69

[CODE] import javax.swing.*; // Needed for swing classes import java.awt.event.*; // Needed for the action listener import java.io.*; // Needed for the file and IOException import java.util.Scanner; // Needed for the scanner class import java.util.List; // Needed for the arraylist import java.util.Arrays; // Needed for the arraylict class /** This …

Member Avatar for peter_budo
0
228
Member Avatar for blknmld69

I have 22 errors for cannot find symbol.....Please help! [CODE] import javax.swing.*; //needed for swing classes import java.awt.event.*; // needed for the action listener import java.awt.*; //needed for the boader layout class import java.io.*; //need for the file and IOException import java.util.Scanner; // needed for the scanner class import java.util.List; …

Member Avatar for NormR1
0
170
Member Avatar for blknmld69

My program compiles and runs but its not outputting correctly. The program should check the file valid_accounts.txt and compare it to the users input. If the account is found int the valid_accounts.txt the output should display "That account number is valid.". I get "You did not enter a valid account …

Member Avatar for stultuske
0
209
Member Avatar for blknmld69

Can someone work with me on this program. I will put the instructions first, then my code, then the errors [B]INSTRUCTIONS: [/B] Create a program to enter grades and calculate averages and letter grades. 1. Need a class which will contain: a. Student Name b. Student Grades (an array of …

Member Avatar for Akill10
0
1K
Member Avatar for blknmld69

I have been working with my final project for about 3 weeks now and its due by 10am tuesday. Currently I am receiveing cannot find symbol errors. I know this is something simple. Please help. [B]INSTRUCTIONS[/B] Create a program to enter grades and calculate averages and letter grades. 1. Need …

Member Avatar for NormR1
0
256
Member Avatar for brandongood

Hello, I have a class that pulls account numbers from valid_accounts.txt and is supposed to take each number and put it into an array. In my driver program, I should be able to call the method of the class that pulls the information and populate it into my array created …

Member Avatar for Ezzaral
0
116
Member Avatar for blknmld69

Good day everyone! I have a program that I need to modify so that it reads a list of valid charge account numbers from a file. Currently the list is in an array in the program. I am also attaching the text file(valid_accounts.txt) that it needs to read from. [CODE] …

Member Avatar for coil
0
160