4,084 Posted Topics
Re: Exception: java.lang.ClassNotFoundException: ArrowKeys2menuprob2.class starting to look for that class and all references to it would be a good start | |
Re: [QUOTE]The program must simply ask the user to type in a text since a text is a list of words separated by spaces.[/QUOTE] .. since a text is a list of words separated by spaces. well ... duh so, if there weren't any spaces in there, the program wouldn't have … | |
Re: [QUOTE=rahini;747842]How to simulate protocols in Computer Networks[/QUOTE] sounds like a good title for your first book... go for it | |
Re: [QUOTE=GuruMS;1423454]ya NetBean Is Good Tool For Java If your A Beginner You Just Practice It In notepad In At Lest 6-Month And After That You Can Go For IDEs ok there is Number Of Tool In World Webspeher,Eclipse,J unit,Web logic This Are The Good Tool i Use ok[/QUOTE] No, NetBeans … | |
Re: [QUOTE=Tecomapu;1426103]cheers, but i didnt ask for java for dumies, i said, i done quite a bit of c# and i dont have a problem with java at all. already tried it and its pretty much the same like c#. it seems like nobody even red my question, and i thought … | |
Re: because you are missing a return statement. if, in such case, that (for instance) len = 0 where is your return statement? you'll need to place a return outside of the for-loop, just to make sure that one will be reached if some unexpected input is given. | |
Re: even as a junior programmer, you should know that software comes in different versions. just take a look at [URL="http://java.sun.com"]http://java.sun.com[/URL], which should be your first source on getting to know Java, all the things you are asking about are very well explained there. should you go ahead and learn servlets? … | |
Re: I wouldn't know why not ... you just need to implement it the right way, and fill your table with the information you want it to show, but that's all up to you. also, you may want to drop the 'sms-vocabulary' when posting questions here. it makes you look like … | |
Re: look at the api's of the listbox you're using. that should get you on your way. | |
Re: an application needs a new project a new file means just one single xml, java, css, jsp, php, html, properties, ... file, and as such, is just a small part of your entire project. so, if you haven't begun working on the application yet, you choose 'new project' and for … | |
Re: by calling a method from Window A, from within Window B, passing the new value as a parameter and passing it to a set-method | |
Re: [QUOTE=cocorocha;775694]please help me to design a gui for my chat server?[/QUOTE] Step 1: realise it is of no use to revive a thread that has been dead for years Step 2: visualise YOUR problem Step 3: make a proper analysis of your problem Step 4: realise that we're not going … | |
Re: [QUOTE=Chaster;715723]Well, if you know for sure that the license plate has the format "LLL NNN" (I mean letter by L and number by N), then you can get the integer value like this: [CODE] int anIntegerValue = Integer.parseInt(inputString.substring(4, 7)); [/CODE] provided that inputString is a variable of type String, which … | |
Re: and what is the problem you're having? since you're nowhere actually calculating the average (not as far as I've seen) I don't doubt you don't get the output you 're hoping for | |
Re: not sure, but check your first line. did you copy paste the code wrong? otherwise you're missing an 'i' over there. | |
Re: what have you seen so far, and, most important, how do you think you can pass data through different classes? | |
Re: nope .. the problem is that reading input can cause an IOException. adding a try and catch would most definitely deal with the error you're getting, that's why it says: "IOException; must be caught or decla red to be thrown" | |
Re: there is not a single "Java for Dummies" or beginners tutorial that does not answer that question. have you tried ask our old buddy [URL="http://www.google.com"]Google[/URL] yet? | |
Re: also, notice that the question was asked over four years ago.. I'm pretty sure the original poster hasn't been checking for a new answer the last couple of days ![]() | |
Re: [QUOTE=vaibhav1983;1373135]SQLExeption is mis-spelled. Please correct it...[/QUOTE] mis-spelled here as well: SQLE[B]xc[/B]eption | |
Re: sure we can, we just won't let me give you a few pointers: MS Access has a very nice, very easy Create-DB wizzard, use it. go to that friendly dude, Mr. Google, and ask him what he can find you about jdbc connectivity. now thát should help you allong just … | |
Re: [QUOTE=vaibhav1983;1373134]your function is incorrect buddy...why do u need a third variable being passed to the function max?[/QUOTE] because if he wouldn't,it would not work. the method does require three integers to be passed, so he'll need to pass a third one. I agree that it's useless, since it's not really … | |
Re: the 'very basic concept' of OO is, you use Objects. there are thousands of tutorials, courses and e-books freely distributed online, that explain this, both for the more experienced developer as for a starter. my personal advice, don't start with stuff like event handling if you do not understand the … | |
Re: [QUOTE=jdiddy;1372370] [code] data = l1 + l2 + l3 + l4 + l5 + l6; [/code] [/QUOTE] if data is a String object, try: [Code=Java] data = l1 + "\n" + l2 + "\n" + l3 + "\n" + l4 + "\n" + l5 + "\n" + l6; [/Code] as … | |
Re: [QUOTE=callsreenu;558622]any one plz give source code in java for encrypted and decrypted password[/QUOTE] first of all, if you have a question, create a new thread instead of reviving a year old one. secondly, the answer is no. maybe we can, but we won't. you wouldn't be learning anything. just read … | |
Re: <%=Reporttitle%> <%=year%> Sl. No <%if(request.getParameter("check1") != null) {%> Name of The Unit <%} if(request.getParameter("check2") != null) {%> Type <%} if(request.getParameter("check3") != null) {%> LoP No LoP Date <%} if(request.getParameter("check4") != null) {%> LuT Date <%} if(request.getParameter("check5") != null) {%> PBWHL No <%} if(request.getParameter("check6") != null) {%> PBWHL Date PBWHL Date … | |
Re: what exactly is the code supposed to count? what exactly is it counting (according to you)? | |
Re: what exactly is your question? if it is for custom made code, the answer is: no for doing something similar as to what you ask with an if-statement [Code=Java] // this is, assuming you have enable/disable Green/Orange/Red Light functions public void setLight(int light){ if ( light == 1 ){ enableGreenLight(); … | |
Re: you're using the wrong variables as output after the loop, the value for month will always be the same. you should replace that 'month' by 'average' your other problem is a similar one | |
Re: what do you mean, the position of the array? do you mean the position of a certain element in the array? | |
Re: [QUOTE=girlinwayside;794362] [B]I dont understand what it means by "passing"[/B] [/QUOTE] 'passing' here is about the same as in sports: one guy has the ball, he 'passes' it to another guy, now that other guy has controle over it. [Code=Java] // class that uses an object or class Sports.showPass("this ball"); // … | |
Re: you could store the results you get into an array of instances of your bean | |
Re: [QUOTE=ME9u6;871536]hi i am busy developing a java ap for mobile phones how do i get it to send a sms to a setan number to get registerd[/QUOTE] hijacking a thread without even showing a bit of own code is not the best way to start, I'm afraid.. | |
Re: or i = array.length (for another alternative) but, masijade 's solutions are better | |
Re: what is your question? if we can tell whether you can write such a program? well, if you have some knowledge of Java, yes, you can, but we won't do it for you. if you 're new to Java, forget the UI for now, just start off with the 'checking … | |
Re: this forum is not ment to be an online project generator. why don't you just look around: if you like music, write a media player that uses all (or most) of the mentioned techniques you like role playing games? write something like that ... part of the task you are … | |
Re: and ... what exactly do you mean, "isn't a servlet"? first, look up the basics on webapps. what you want to do, is pass the values stored in name, email, ... to your java class (which sounds pretty much like a servlet to me). ever used HttpSession before? if not, … | |
Re: I'm a bit confused here. don't really see a question in your post, what is it you're having trouble with? | |
Re: username and password: add a table with users allowed to use the program, or use the administrator password from the db itself, and have your code ask you for yours if it doesn't matches the administrators, or a password that can be found in the db itself, refuse entry the … | |
Re: but if you had one, and you're JDBC-ODBC bridge works (and your code as well), yes, you can enter data in the db, you can update or delete it, the entire works. but, just as Masjiade, I would recommend against using MS Access | |
Re: actually, what you want to do, is to read an array of Strings (of which you'll transform the first one to an int) it's not different to using command line parameters, if I understand your question correctly | |
Re: StringTokenizer could come in handy, as well | |
Re: [QUOTE=alleybye;1338770]i can trap Number only but i cant trap letter inputs. how to do that? please? example. Enter a letter: 5 "INVALID INPUT! PLEASE ENTER A NUMBER!" please guys?![/QUOTE] if you want us to see where you're going wrong in your code, you'll have to show us your code, not … | |
Re: [QUOTE=vasunttfshimoga;800393]If you dont know answer means, don't answer.For this simple questions itself you cannot able to answer, very shame to youuuuuuuuuuuu........[/QUOTE] since it is a 'simple' matter to you, why don't you educate us, those who are to ignorant to be of any assistance, and explain to us what it … | |
Re: and your point is??? | |
Re: first, use code tags next time, it's easier to read second, paste the entire error, it includes the line where the error occurs. also, if you want us to test anything, provide everything needed, like the product class. I'll paste the improved code here, so you can check for yourself, … | |
Re: you think re-posting the question will help? | |
Re: firstly, what have you tried so far? next: writing a class to perform the caesar shift is not that difficult, took me about 5 minutes couple of weeks ago. my advice: write a class with the methods to perform the caesar shift, and use google (or your handbook, for that … | |
Re: in line 13, I think you'll be running into some problems: you're declaring a regular String object, and you're trying to instantiate it as an array of String objects |
The End.