Search:

Type: Posts; User: Kakashi

Page 1 of 2 1 2

Search: Search took 0.08 seconds.

  1. Replies
    2
    Views
    2,475

    [SOLVED] Re: NetBeans GUI Builder image paintint

    Thanks for that I will try it out
  2. Replies
    2
    Views
    2,475

    [SOLVED] NetBeans GUI Builder image paintint

    Well I am using the NetBean 6.9 Desktop appliction builder and am stuck with getting to paint an image into a jPanel. I have it code right I think but for some reason it does not show up in the...
  3. Replies
    3
    Views
    4,241

    [SOLVED] Re: Java app with Netbeans and Derby database

    I thought I had the drivers but I think not. Also, I am running the database in netbeans should I run that from the command line?
    Second, place the downloaded jar file on the classpath of the...
  4. Replies
    3
    Views
    4,241

    [SOLVED] Java app with Netbeans and Derby database

    Ok so I have a database in netbeans following this tutorial
    Working with the Java DB (Derby) Database - NetBeans IDE 6.8 Tutorial
    and this worked great I got the dtabase up and running and its...
  5. Replies
    0
    Views
    1,566

    [SOLVED] Server Client does not send file

    I have a client and server that are communicating quite nicely and the connection is good, but I does not send the file using the methods that I wrote. I really dont know what I did wrong here at...
  6. Replies
    2
    Views
    12,274

    [SOLVED] Re: Sending xml file over a socket

    I got it now, I used a BufferedReader and read the file into that then send that to printwriter to the server and that worked. Yeah
    I really dont know why the file was being deleated it was...
  7. Replies
    2
    Views
    12,274

    [SOLVED] Sending xml file over a socket

    I have a server and client programs written up and working, but when I try to send a file though a bufferedinput and output streams the file is not sent. The file is created on the serve side but not...
  8. Replies
    4
    Views
    2,310

    [SOLVED] Re: Simple server client echo issues

    I looked for how to switch it to solved but I can find that option nay where, where is it?
  9. Replies
    4
    Views
    2,310

    [SOLVED] Re: Simple server client echo issues

    Im using Core Java Vl 2 8th ed I though it was the newest one.
    Thnak you for testing it for me, I must be running it wrong. What I do is set the main project in netbeans as the server then run it,...
  10. Replies
    2
    Views
    1,814

    [SOLVED] Re: Write an xml dom to a xml file

    Ah perfect thank you for that it worked fine all I had to do was this
    XMLStreamWriter xmlw = xmlof.createXMLStreamWriter(new FileOutputStream("file.xml"));
    and all better ^:)^
  11. Replies
    2
    Views
    1,814

    [SOLVED] Write an xml dom to a xml file

    I have got the xml to print in the system, but I want to have that printed into a .xml file, how do I do that? Here is what I got so far
    import javax.xml.stream.*;

    import...
  12. Replies
    4
    Views
    2,310

    [SOLVED] Simple server client echo issues

    What I want to do is have the server send back what the client send it, but it does not do anything, what did I do wrong with the code here?
    Here is the client code

    import java.io.*;
    import...
  13. [SOLVED] Re: String Matcher finding only char not a whole string

    Thanks for all the help here I got it working now. The file had spaces in it which I did not realize so I use an object stream instead of the randomaccess file to write it and then started to look...
  14. [SOLVED] Re: String Matcher finding only char not a whole string

    The thing is if I take out the break it just print "no match found" 3 times when I type in Gus which I made sure is in the file.
  15. [SOLVED] Re: String Matcher finding only char not a whole string

    Actually the break; works fine and does what I want it to and break when there are no matches.
    I finally got what you ment by the SSCCE and here it is: and with the attached Book-Text.txt file it...
  16. [SOLVED] Re: String Matcher finding only char not a whole string

    This is the output of the code
    Found Match Book TITLE: How to Read: Author Gus: Number of PAges 12: Price 12.00;
    The input from the user is any string say "Gus"
    What should happen is any line...
  17. [SOLVED] String Matcher finding only char not a whole string

    I have this working right and it does everything to a degree but when I search a file for a string that is gathered from user input it does not do it correctly. If you just type in one letter or...
  18. Replies
    2
    Views
    4,290

    [SOLVED] Re: Factorial of 1-20

    Im just think about this and could be wrong but try putting the int x out of the for loop and use and int i in the for loop instead: like this


    int x;
    for(int i; i<20;i++)
    {
    ...
  19. Replies
    2
    Views
    1,581

    [SOLVED] Re: Pattern Matching to string problme

    I used the sub string and that worked fine thanks for that.
  20. Replies
    2
    Views
    1,581

    [SOLVED] Pattern Matching to string problme

    Ok well the code here works fine for accutally finding the patterns from the file that I am using, the problme is I want to print out the entire string that the pattern is in. it is a text file with...
  21. Replies
    0
    Views
    1,355

    Not entering while loop

    Well most of the code is working fine, but when it starts to enther the while loop it just over shoots it completly. I had tested it outside of the if statement and it works fine there, but when I...
  22. Replies
    3
    Views
    1,944

    Re: Object and text file stream code problmes

    I put the file close after all the creation of objets and that worked just right thanks for that tip.
  23. Replies
    3
    Views
    1,944

    Object and text file stream code problmes

    My code works fine with one object created by the book constructor and writes to both the object.dat files and the text.dat file, the problem is when I add more than one object, it overwrites (i...
  24. Replies
    0
    Views
    1,868

    Problems with input data

    Ok so I am trying to calculate the gas milage of a car who drive x miles (x is ending miles - beging miles) then divide this by gas used. This is all user input as well. I have the basic program...
  25. Replies
    3
    Views
    4,746

    Re: Code for parsing .c file in java

    Ok so I got the for loop to work and now I started to while loop but when I run the code it produces an output that is too big for notepad to open here is the for loop code

    // forStatement...
Results 1 to 25 of 29
Page 1 of 2 1 2