I have a few books
I enjoy the Head First books they are fun to read and easy to understand. Head First Java and Head First Object-Oriented Analysis and Design are my first choices. Of course I...
Type: Posts; User: william
I have a few books
I enjoy the Head First books they are fun to read and easy to understand. Head First Java and Head First Object-Oriented Analysis and Design are my first choices. Of course I...
With out the code, it appears to me you are using a "Message" dialog box. If your looking for input dialog as text check this demo out.
what ever help away I am going for my Martini. I am off work and I really don't need you.
relax Junky answer his question then don't badger me.
give me a few now I am going to install netbeans on this computer.
please post all the code for me thanks.
problem one PhoneBookEntry is not a array its a Class
PhoneBookEntry can be implemented as ArrayList<PhoneBookEntry> book = new ArrayList<PhonebookEntry>();
now fix the logic from this and then...
I am thinking you need a Dimension there for you need setMinuminSize(new Dimension(width, height)) ; //semi colon...
setMaximumSize(new Dimension(width,height);
setPreferedSize(new...
class path in environment variables. My best guess, missing libraries is another.
what is PhoneBookEntry[]
your trying to use primitives.... with out defining
look at what wiki says about primitives
I attempted to use maps for user interface a while back, It did not last long then our funding ran out. I use OpenGL to create a map viewer and totally user friendly. the code was crazy and we...
you didn't read the document otherwise you would find that ArrayList[23] really does not relate to anything, please read then come back with some useful questions.
removed to stay on topic..
Copeg how to delete a post?
Sometimes difficult is frustrating, however you never learn unless you ask the question.
Ok lets go over some of the Array info
double[] d = new double[5]; //<-- you have to declare a size
...
Im going home:: have a good night
Scanner reader = new Scanner(System.in);
boolean flag = true;
int end = -10 ;
do{
try {
well I finished you answer.....
my Outputs:
run:
in here
7
end is 7
in here
8
Its not documented cause i wrote the entire thing.
Why would you think I don't under stand this code?
Its junk code, I use test each component before adding it to the project. This tiny...
good idea to read this see what it says. Just think anything can be the Delimiter
Delimiter
hope this helps..
I do understand. You don't stop to read the input line when in the Reader. you never clear out the IO stream out so you always get get same input. Use a if statement in the try catch to stop this....
OK, first lets go through the words I broke up your par into thoughts.
1) great
2) to copy a list you need to Iterate through the list if its a primitive array then for each or for statement...
I think this is a good example for a do-while loop then, set the boolean within the if-else statements
static int smartInputInt (){
boolean flag=false;//<--- do one time unless turned to...
you can check for null by string == null or better yet string.equal(null);
but yes the problem is in bold
if you did the review on the api's then you will see that you get the int back for...
First review this ArrayList and array first
then comeback with your probabilities. You need to figure the probability math some links for it.
I am not sure I been in working out of Windows too long, currently if i remember that you are not allowed spaces for path names in Linux. Then again I should just fire up the VM ware for CentOS and...
remove line
flag=true;
in your catch() method
this way you only fall through it once. Your in a while loop while true...
After I just changed a line and Parsed to int
my output:
Are you an undergraduate student(y or n)? y
What is your income? 15001
income 15001
You qualify for $500 in financial aid.
BUILD...