Search:

Type: Posts; User: zerocool18

Search: Search took 0.44 seconds.

  1. Replies
    0
    Views
    1,342

    MCV assignment , editing coursess problem

    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...
  2. Replies
    0
    Views
    1,259

    jsp , jstl help

    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...
  3. Thread: index help

    by zerocool18
    Replies
    6
    Views
    1,140

    Re: index help

    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.
  4. Thread: index help

    by zerocool18
    Replies
    6
    Views
    1,140

    Re: index help

    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...
  5. Thread: index help

    by zerocool18
    Replies
    6
    Views
    1,140

    index help

    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...
  6. Replies
    2
    Views
    1,037

    reading i n a text file

    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....
  7. Replies
    8
    Views
    979

    Re: checkbox not working right

    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...
  8. Replies
    8
    Views
    979

    Re: checkbox not working right

    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,...
  9. Replies
    8
    Views
    979

    Re: checkbox not working right

    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
  10. Replies
    8
    Views
    979

    checkbox not working right

    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...
  11. Replies
    1
    Views
    1,215

    java gui menu , saveing

    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...
  12. Replies
    11
    Views
    1,671

    Re: java GUI , reading in files

    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...
  13. Replies
    11
    Views
    1,671

    Re: java GUI , reading in files

    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...
  14. Replies
    11
    Views
    1,671

    Re: java GUI , reading in files

    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...
  15. Replies
    11
    Views
    1,671

    Re: java GUI , reading in files

    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?
  16. Replies
    11
    Views
    1,671

    Re: java GUI , reading in files

    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...
  17. Replies
    11
    Views
    1,671

    java GUI , reading in files

    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...
  18. Re: hello! can i please get some help with a simple loop problem?

    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) {
    ...
  19. Re: hello! can i please get some help with a simple loop problem?

    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!!
  20. Re: hello! can i please get some help with a simple loop problem?

    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...
  21. hello! can i please get some help with a simple loop problem?

    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...
Results 1 to 21 of 21