Here is the assignment:
Here is my code so far:
/*
* To change this template, choose Tools | Templates
* and open the template in the editor.
Type: Posts; User: blobman23
Here is the assignment:
Here is my code so far:
/*
* To change this template, choose Tools | Templates
* and open the template in the editor.
I am trying to do my term project for my Operating Systems class but I am just lost and do not know what direction to go. I am NOT asking for someone to do it for me, I just simply want someone to...
Yea I did. And when you run the program it takes a about 30 seconds or more to run through. It sorts 3000 files into multiple directories.
Someone told me that I need to make the progress bar update in a separate thread but I'm having a hard time figuring out how to do that.
I am working on making a GUI for a program that I had written a while back. I wanted to include a progress bar to show its progress. However, the progress bar does not refresh and show the current...
Okay, so I moved the text file to the folder that it said it was looking in and it gave me this error:
--- Update ---
I fixed that issue, it was saved as test.txt.txt
Thanks for the help.
This is what it printed: Where are we=C:\Users\Jared\Desktop\Linear Congruential Generator\LinearCongruentialGenerator\Here I Am
--- Update ---
This is the example that I am going by:
...
I am simply entering test.txt
The actual path to the text file is C:\Users\Jared\Desktop\Linear Congruential Generator\LinearCongruentialGenerator\src\linearcongruentialgenerator
--- Update ---...
Could someone please explain to me why my program keeps giving me the following error when I try to read in a text file (test.txt). I placed the text file into the same folder as the .java file....
Oh okay, that makes since. Thanks.
Okay, the program reads in a whole bunch of text file (or receipts) that contain the receipt information. The program then makes a new Receipt object for each one of them and then through invoking...
I am just having trouble figuring out how to go about reading from each individual sub folder, do you get what i'm saying?
I am not whining. I'm saying that I do not understand how to do what it is asking me to do and if any one could point me the right direction.
I am working on a receipt sorting program, and I am pretty much finished with it, however, there is one more thing that it has to be able to do and i'm not entirely sure how to go about implementing...
The Album class doesn't contain an iterator. Only the MusicCollection class contains an iterator. Since the ArrayList aready has a built in iterator, then do I even need to define an iterator for the...
I am just confused as how to implement it. I feel like that is doing what I am suppose to do, Im just not sure. Thanks.
Hey, I apologize that my understanding of what a iterator is or does is poor. We have not really covered it.
Is this what you are talking about?
/**
*
* @return
*/
...
Okay, here is what I have gotten so far. I only have one more thing that needs to be implemented.
Album Class:
import java.io.*;
import java.util.*;
/**
*
Ok, for starters, I am having trouble figuring out how to do this compareTo method. I have tried to logically work through it with if statements but I keep getting stuck. This is what I have so far:...
That is in the Album class, the only part of that class that I needed help with is the last one. Its the MusicCollection class that I need help with the last four methods. Sorry for the confusion.
I am working on an assignment and I am having trouble figuring out exactly how to do it. I have already done a good bit of it, but I keep getting stuck.
Here is the assignment:
Here is what...
Thank you! I really appreciate it!
All that I have is the JDK that my teacher installed onto my computer. How do I get the jar file?
Okay, I have fixed all of the errors in the TimeRange class. Now when I try and run the code that the teacher gave us to test our classes I get these errors:
okay, I have fixed all of the errors on the Time class, and now just have the following 6 errors for the TimeRange class: