Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations IamaSherpa on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Search results for query: *

  1. TheButcher

    Applet Caching - ClassLoader

    I have this applet and he works quite nicely. When I leave the page and "browse the net", I decide to come back to my applet. The applet is no longer nice and decides not to work. After experimenting, I found that if I "clear classloader cache" by choosing "x" on...
  2. TheButcher

    Applet works in netscape but not IE

    Thanks for the advice. Yes, both where using java 1.4. The problem turned out being a null pointer b/c it couldnt find my .gif image for my label. Netscape worked with a relative file address, but I had to put in the full IP URL to get IE to read the address of the gif. Unfortunately, my...
  3. TheButcher

    Applet works in netscape but not IE

    I created an applet that will run fine on netscape. I try to run the same applet on internet explorer and I get the following message in my java console: java.lang.NullPointerException at DApplet.start(DApplet.java:81) at sun.applet.AppletPanel.run(Unknown Source) at...
  4. TheButcher

    reading/storing a table file

    Ankan, Well I only really needed to search by the 1st word. So I read in all the lines of the file (the entire line) into an array of structures with a single entry. Then if I came across a variable in the code section I used strncmp() to find the word in the structure. Then when I found...
  5. TheButcher

    reading/storing a table file

    I have to read in this file. It consists of a name, size, type, value, and address. I want to read in this file and store the different values into a structure so i can search it later in the program. ex) MAX 2 bytes hex 10 0000 What I am doing is reading in a line and...
  6. TheButcher

    Action Listener Question

    need help! I'm having problems with ActionListener. I don't know how to have mulitiple action listeners in the same program. This is probably very easy to do but I'm fairly new to java (only new C before this program). here is my program so far: 1) click on the applet and will create a...
  7. TheButcher

    Write an int & a hex to a file?

    Russ, Thanks again for your help! Butch
  8. TheButcher

    Write an int & a hex to a file?

    Can someone pleez help me out here. For the int: I tried using fputs(), but this gave me a warning and then a core dump. Then I tried it using fputc() but it gave me '^F' character????????. These are the only 2 functions in my book for file writing. Can I cast it? If so, how. For the...
  9. TheButcher

    Help with Strtok() command.

    Russ, You have saved me from the dreaded 'F'. Thank you once again! Butch
  10. TheButcher

    Help with Strtok() command.

    Thank You Mr. Bobbiitts!!! Okay, have a new problem. i get file line, FileLine = "\t NAME\t BYTE\t $"Your Name"\t #comment I read in this line and tokenize it by whitespace as I did above. I put the "NAME" and "BYTE" into a table. This is no problem...
  11. TheButcher

    Help with Strtok() command.

    Be prepared......I'm a newbie. I have a problem. I have a file I have to read in and parse it depending upon white space. Ex) #comment I read this line in using fgets() into a string array. I then use an output pointer to do a string tokenizer. After the eliminating the frontal...

Part and Inventory Search

Back
Top