4,084 Posted Topics
Re: [QUOTE=abhishek.reddy;774360]I am positively freaking out in excitement.[/QUOTE] well ... I'll try not to get too enthousiastic. so, what's your problem here, or don't you have any questions? | |
Re: [QUOTE=JamieC90;773561] I have tried using if (x[0][0] == x[0][1]...etc.), but this throws errors back at me [/QUOTE] what kind of errors? and what type of data did you store in that array? String, int, char, ...? | |
Re: [QUOTE=javaAddict;772907]First of all don't put a 'throws' at the main. Second of all the error is very easy to figure out. Check your notes on how to write and run a simple program.[/QUOTE] agree with javaAddict: just another remark: either make the getWord() method static, or call it from an … | |
Re: [QUOTE=linggs;772341]I just need a very basic currency converter. Which allows me to set how much money i want to convert. From what currency to what currency. Finally, display the coversion rates. Yup, we did ask teacher questions, but the teacher couldn't answer us. She said that we have to find … | |
Re: [QUOTE=lonely girl;755654]hi friend i wanna show u my code but i dont know where i should put it[/QUOTE] in your post, surrounded by Code tags | |
Re: for starters: what are you testing for here: [Code=Java] if (objects[min].compareTo(objects[scan])) [/Code] also, you're shifting the value of 'min' quite some times. didn't really fully read the code, but are you sure that doesn't cause any problems? | |
Re: well... if you have the name of the file in a String, for instance [Code=Java] String fileName = "input.txt"; [/Code] take a look at the api's of the [URL="http://java.sun.com/javase/6/docs/api/java/io/File.html"]File[/URL]-class. especially take a good look at the constructors. for deleting that directory, you'll have to use recursivety to first delete all … | |
Re: we don't know how you store the data in that ArrayList, so how can we tell? let's say that you store your data in there as a object of a type 'Person' which has (among others) a String variable name and a String variable lastName. [Code=Java] int location = // … | |
Re: [QUOTE=quuba;764637]Use a suitable tool for creating software. Use free IDE NetBeans.[URL="http://www.netbeans.org/downloads/"]http://www.netbeans.org/downloads/[/URL][/QUOTE] ignore this post if you intend to actually learn something. start off with Notepad. it's not the most "flashy" tool, but it's as good as any idea (for a beginner that is, and it's even better) look up the … | |
Re: [QUOTE=confusedGirl;764006]Hi all I have a [COLOR="Red"]miniproject [/COLOR]I need to submit tomorrow ,but I didn't finish it.. Please if any member have a time to check it for me,,tell me so I can send my whole work... I really will appreciate your help Please help me ....Iam so sad its 50% … | |
Re: [QUOTE=jaqes;764281]Hiii Dear, That is not a tuff work just you join any computer institute for your practice. after you found great result.[/QUOTE] either your post makes no sense at all, or you should really learn English. both grammar and vocabulary | |
| |
Re: you must make sure to close your writer object and create a new reader object, after you save your new file | |
Re: haven't heard of a standard api that does that, but there's no-one to hold you back and write it. let your client retreive the ip-address, send it to the server. to let the client disconnect when "time expires", you could : a. let the client run a thread which continously … | |
Re: propably the wrong part is that you do not have a class A, so you're trying to instantiate and use an object type that doesn't exist. create the class and try it again | |
![]() | |
Re: sum up the steps you have to go through, write them down et voila | |
Re: by making sure the image is always in the same folder with your application and using relative paths | |
Re: wasn't it obvious in the other threads? we can, but we won't. not only do you refuse to do any work yourself, but you ignore answers given to you. stop copy-pasting your homework instructions here, try yourself and then (if necessary) show us what you tried and ask us where … | |
Re: [QUOTE=oobokensilence;757348] This is the error i am recieving: project12.java:53: non-static variable inFile cannot be referenced from a static context inFile.close(); ^ 1 error [/QUOTE] re-write your code so that you are not calling it from a static context if need be, create an object to do all that work for … | |
Re: [QUOTE=IMtheBESTatJAVA;749395] Update: Now I get an error of ".class expected" for: [CODE]if(int input = 0);[/CODE][/QUOTE] that's to be expected, remove the ; | |
Re: just read those errors. they provide you with more information than you need to solve them | |
Re: ooow... garantie-not-to-fail tests for sale ... *sigh* | |
Re: [QUOTE=tsr_tvsk;755603] i want to validate that hashtable with javascript in next jsp . how [/QUOTE] do you mean Java or do you actually mean JavaScript? if so, a JavaScript forum might give you more help | |
Re: you might want to post a bit more code than that if you want an answer | |
Re: [QUOTE=stephen84s;754803]Honestly I have no clue what you trying to say, can you please be divulge more details and especially the relevant code / SQL query you are dealing with.[/QUOTE] I kind of think he's trying to make us write those. | |
Re: [QUOTE=jagannath_patil;755162]heyya bench....thanks for the link...i was looking for the same....[COLOR="Red"][/COLOR][/QUOTE] and congratulations for reviving a thread that hasn't been open in about two years.. how do you feel about yourself now? | |
Re: why would you import Object? your class can use that no matter what, since it's the base-class of everything in Java. org.apache.commons.validator Class UrlValidator java.lang.Object extended by org.apache.commons.validator.UrlValidator All Implemented Interfaces: java.io.Serializable you need to import the package in which UrlValidator is found, so you can use it. it's the … | |
Re: [QUOTE=PhiberOptik;753924]Sorry this post made no sense I completely misunderstood the point of the post.[/QUOTE] you misunderstood the point of your own post?? the point of musham's post was: "I'm lazy, give me what I need so I can pass my course and become a lazy-over-paid software developer" | |
Re: well... since there are certain OS' that do not "remember" the creation date of a file, I doubht Java has a standard sollution for this. At least not one I've come accross to | |
Re: same remark here... and.. yet another (two) why don't you use the (already existing) Date class? (java.util.Date) if you do want to write your own, wouldn't it be better to give it another name, to avoid confusion? something like 'MyDate.java' | |
Re: [QUOTE=verruckt24;750828]@leox99 : (In reference to my above post) I hope that you are able to make a design and the related coding for that from the write-up you have given above, and if you have any specific coding related queries I and the entire army of the forum members won't … | |
Re: [QUOTE=Ezzaral;753050]First thing: try taking "public void moveTriangle" method out of the toString() method.[/QUOTE] it's not really formatted well, but it isn't inside the toString() method | |
Re: [URL="http://java.sun.com/javase/6/docs/api/"]This[/URL] might prove to be a good place to start your search. Another good idea would be to stop copy-pasting your assignments or your vision of them on this forum. put some effort in it, show us what you've done so far and I do hope that's more than just … | |
Re: I would call him 'Roger'. or 'Danny' sounds nice too. I take it you have something in a GUI presented that displays time and date. unless you believe us to be clairvoyants, you might want to explain a bit more of what it is you're talking about. if this is … | |
Re: nice job-description. like Nike said it before: "Just Do It!" | |
Re: maybe you should read the answers before disregarding them ... we're not a project-idea shop, firstly, because we don't have the time to be, secondly, because we would be doing your work, which means you would be cheating. if you want to earn your degree, put some effort in it … | |
| |
Re: [QUOTE=stephen84s;744979]What is it that you want exactly, your question is just too generic, I do not know what to make of it.[/QUOTE] he wants to have all the words in the array to be set as the text, but instead of adding all the words, he just sets the last … | |
Re: use the setSize() methods, but guessing as to what you've done so far is not the best way for us to help you out, so you might want to post your code as well. | |
Re: [Code=Java] if(num=='8') pluralName="Eighty"; if(num=='9') pluralName="Ninety"; else pluralName="Error /w Plural Method"; [/Code] this will always return "Error /w Plural Method", unless the value for num == '9' what you want to do (and not only for the '8' check) is using nested if's [Code=Java] if(num=='8'){ pluralName="Eighty"; } else{ if(num=='9'){ pluralName="Ninety"; } … | |
Re: write a validation method, which checks all your input as soon as you want to input the data in the array. what you also can do is use regex to check whether numbers occur in your String [code=java] while(input != validName(input)){ input = readString(); } [/code] | |
Re: [QUOTE=Zelores;752600] ClockShop.java:9: unreported exception java.io.FileNotFoundException; must be [B]caught[/B] or declared to be thrown private String[] clocks = new String[index()];[/QUOTE] have you tried to catch it yet? as in: [Code=Java] private String[] clocks; try{ clocks = new String[index()]; } catch(FileNotFoundException e){ // handleTheException } [/Code] | |
Re: by making sure that method does not return null. or, by catching the exception using a try-catch statement | |
Re: set the package in the classpath of the project and import it. | |
Re: [QUOTE=umairsario;750679] these Programs are TESTED and 100% Working Without Errors [/QUOTE] I think his problem is by putting them all together in one class, and determining the value to add each time. | |
Re: [QUOTE=umairsario;750757]can you please explain in your words[/QUOTE] your assignment is to explain them in YOUR words, not ours | |
Re: [QUOTE=verruckt24;749982]There's no better way to explore and understand the Java language then to go through the [URL="http://java.sun.com/j2se/1.5.0/docs/api/"]javadocs[/URL],[/QUOTE] there is off course the coding-the-damn-thing and the trying-the-crap-out approach, which, in combination with reading the api's, does a lot more than just reading it :) | |
Re: [QUOTE=anez247;748354]yea right ez...i will do that[/QUOTE] so... why don't you? still looks a lot like IM-speech to me | |
Re: if he says he can't find Symbol class hand, mostly that means he can't find it. my guess would be you forgot to code it, forgot to compile it, or are using a constructor you haven't defined in your Hand class |
The End.