Search:

Type: Posts; User: pdk

Search: Search took 0.09 seconds.

  1. Re: how to include and access a data file in a jar

    Hi Norm
    I do not understand your answer.
    I added getPathName to the class ran it in netbeans then
    ran clean and build and executed the jar file.
    The results show that get resources mehtod...
  2. how to include and access a data file in a jar

    I would like to add some data files to my class jar and access them.


    package urltest;

    import java.net.URL;
    public class UrlTest {
    public String getImage(String dirName) {
    URL...
  3. Replies
    4
    Views
    651

    Re: Problem reading text file

    Many Thanks Norm, it's great to find support when you are going crazy over a simple problem.
    I copied and pasted 3 classes I found and the all had the same problem.
    I was working on an old samsung...
  4. Replies
    4
    Views
    651

    Re: Problem reading text file

    Hi Norm,
    It's been a few years since I last wrote a java program and I'm just going back to how to program in Java in 21 days.
    The code is taken straight from examples on the web. I do not know...
  5. Replies
    4
    Views
    651

    Problem reading text file

    /*
    Simple program...
    Runs fine no errors.
    Problem, the file has 1440 records of text lines. The program will only read around 400 lines.
    The number of records read vary with each run.
    I have...
  6. Replies
    0
    Views
    882

    Greetings from Peter

    Starting with Java again, Forgotten a lot.
    Retired want to develop an app on android using java and its going to be a cut and past exercise relying all the examples out there. I am going to need...
Results 1 to 6 of 6