hello , im trying to get my edit course to work in my program. my jsp is supposed to display the prerequisites with check boxs so the user can edit them. but i cant figure out how to make it work...
Type: Posts; User: zerocool18
hello , im trying to get my edit course to work in my program. my jsp is supposed to display the prerequisites with check boxs so the user can edit them. but i cant figure out how to make it work...
im trying to fix the part of my program that allows the user to edit some classes. but i keep getting this error error java.lang.NumberFormatException: For input string: "entry.id" for this part of...
i gotcha guys , thanks. ill try it as soon as i get off of work lol. thanks for the help! the first value should be 0.
hah im confused in that as well . but i guess it would be the contents of a variable . my program reads in a text file , and in that text file the first line is a question. so im supposed use this...
im trying to do a read/write int property called currentQuestionIndex. This property is the index of the question currently selected, and the value of the property is 0 when a DrivingTest object...
i need some help with trying to read in a text file. the directions are:
A line that starts with # is a comment line. Comment lines and empty lines should be ignored.
Each course occupies one line....
alright , so i was goin at this program all night and i ended sleeping after i couldnt get it to work. so far im at this point
now i know i need to use an array to get out all the values. so i did...
alright , it works but the only thing i that the output comes out as [Ljava.lang.String;@16fd116 for my prerequisites. how can i fix it so it displays CS120
entries.add(new Courses(1,...
alright , thhat means i have to change my contructor to accept arrays right?
entries.add(new Courses (code,title, prerequisites));
so i changed my contructor to
forgive me , but im not sure if this is the right forum for servlet help. im getting to that desperate state with my project , my teacher is no help at all and im hoping to get some help here.
im...
hello , im trying to get my save function on my menu bar to work right. when i hit save on the menu bar , it creates the file and everything. but the picture is blank. i cant seem to find what i did...
it wont compile , because i cant access model in the actionlistener. i cant call m.readFromFile. it says m cannot be resolved.
class eventRead implements ActionListener{
public void...
argg sorry , but im really spazzing out here lol. i dont quite get what im supposed to do. ok , so ur saying i should declare it outside of the method and use it in the method. so im in my GUI class...
im creating the model object inside the method because i was calling the method readFromFile thats in the model class, that already does the work for reading in files. i figured all i had to do was...
i see what you mean , about the teh variable m. but i cant figure out how to fix it. would i just create another reference to the model object outside the listener?
my problem is that my actionlistener isnt reading in the data right. everytime i hit the read button , it creates a model each time and the variable is only visible in that context making the model...
hello! im working ona program that reads in a file called pot4.asc. my button Read File , is supposed to read in a file when clicked. i already have all the work done in my model class , im just...
well i ended up with this lol. been trying all night , and i no its probably way off.
import java.util.Scanner;
public class MinMax {
public static void main(String [] args) {
...
thanks alot for the help , well see how it goes. it makes since in my head, but sometimes i lose it when i try to put it into code lol . ill let you know how it works out!!
alright , well i would take the list of numbers and sort them in order from the largest to smallest . the largest would be my max. then id take the numbers again and sort them from smallest to...
hello , im just begining my java programing. forgive me if im displaying my code wrong , but this the only way i could figure it out lol .been trying to do these loop problems in my book but ive...