4,084 Posted Topics

Member Avatar for sirlink99

Exception: java.lang.ClassNotFoundException: ArrowKeys2menuprob2.class starting to look for that class and all references to it would be a good start

Member Avatar for sirlink99
0
148
Member Avatar for lashbandi

[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 …

Member Avatar for jon.kiparsky
-2
132
Member Avatar for rahini

[QUOTE=rahini;747842]How to simulate protocols in Computer Networks[/QUOTE] sounds like a good title for your first book... go for it

Member Avatar for mni
0
156
Member Avatar for jaycastr

[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 …

Member Avatar for Akill10
1
460
Member Avatar for Tecomapu

[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 …

Member Avatar for aligajani
0
169
Member Avatar for mag12203

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.

Member Avatar for mag12203
1
160
Member Avatar for gunbuster363

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? …

Member Avatar for stultuske
0
113
Member Avatar for IBANGS

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 …

Member Avatar for stultuske
-1
58
Member Avatar for someone5

look at the api's of the listbox you're using. that should get you on your way.

Member Avatar for stultuske
0
99
Member Avatar for deniseblue

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 …

Member Avatar for stultuske
0
81
Member Avatar for sharkbate24

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

Member Avatar for sharkbate24
0
222
Member Avatar for sam1

[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 …

Member Avatar for Arul412
0
213
Member Avatar for IMtheBESTatJAVA

[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 …

Member Avatar for camcamcam
0
313
Member Avatar for javaSux

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

Member Avatar for stultuske
0
211
Member Avatar for natha_peepli

not sure, but check your first line. did you copy paste the code wrong? otherwise you're missing an 'i' over there.

Member Avatar for natha_peepli
0
176
Member Avatar for Mengha

what have you seen so far, and, most important, how do you think you can pass data through different classes?

Member Avatar for kramerd
0
6K
Member Avatar for natha_peepli

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"

Member Avatar for apines
0
196
Member Avatar for dave1970

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?

Member Avatar for stultuske
0
235
Member Avatar for mangopearapples
Member Avatar for mangopearapples
0
172
Member Avatar for ZEEPLE

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

Member Avatar for ants280
0
4K
Member Avatar for qbmike

[QUOTE=vaibhav1983;1373135]SQLExeption is mis-spelled. Please correct it...[/QUOTE] mis-spelled here as well: SQLE[B]xc[/B]eption

Member Avatar for qbmike
0
180
Member Avatar for famida11

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 …

Member Avatar for stultuske
-1
80
Member Avatar for richies

[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 …

Member Avatar for stultuske
0
120
Member Avatar for shelexelex

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 …

Member Avatar for shelexelex
0
104
Member Avatar for jdiddy

[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 …

Member Avatar for jdiddy
0
88
Member Avatar for ttamilvanan81

[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 …

Member Avatar for reshmajohney
0
2K
Member Avatar for sreekarjcl

<%=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 …

Member Avatar for peter_budo
0
122
Member Avatar for noneta

what exactly is the code supposed to count? what exactly is it counting (according to you)?

Member Avatar for Ezzaral
0
130
Member Avatar for Simes

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(); …

Member Avatar for Simes
0
181
Member Avatar for lilsmurf

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

Member Avatar for stultuske
0
84
Member Avatar for churva_churva

what do you mean, the position of the array? do you mean the position of a certain element in the array?

Member Avatar for javaAddict
0
424
Member Avatar for girlinwayside

[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"); // …

Member Avatar for stultuske
0
2K
Member Avatar for kkjava
Member Avatar for kkjava
0
159
Member Avatar for mahaboob Basha

[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..

Member Avatar for sandeepsrikanth
0
359
Member Avatar for kekekerush

or i = array.length (for another alternative) but, masijade 's solutions are better

Member Avatar for stultuske
0
83
Member Avatar for cooolpunit

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 …

Member Avatar for stultuske
0
83
Member Avatar for JoonShen

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 …

Member Avatar for stultuske
0
82
Member Avatar for manjukdvg

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, …

Member Avatar for stultuske
0
388
Member Avatar for Jawahar prabhu

I'm a bit confused here. don't really see a question in your post, what is it you're having trouble with?

Member Avatar for stultuske
0
140
Member Avatar for caierhui

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 …

Member Avatar for stultuske
0
2K
Member Avatar for 47pirates

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

Member Avatar for stultuske
0
132
Member Avatar for hooky75

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

Member Avatar for stultuske
0
2K
Member Avatar for chichi44
Member Avatar for alleybye

[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 …

Member Avatar for stultuske
0
95
Member Avatar for vasunttfshimoga

[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 …

Member Avatar for stultuske
0
281
Member Avatar for jorgeflorencio
Member Avatar for sandawg

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, …

Member Avatar for Ashok Agarwal
0
129
Member Avatar for kandyhyatt
Member Avatar for jalpesh_007

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 …

Member Avatar for brandonrunyon
-3
466
Member Avatar for vinay1424

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

Member Avatar for stultuske
0
116

The End.