458 Posted Topics

Member Avatar for al_buotan

You are going right here such a menu would require a nested switch implementation which you are on your way to do, so what are the errors you are getting and where do you need our help ? Also stop starting multiple threads for the same question, be patient if …

Member Avatar for verruckt24
0
96
Member Avatar for xShankZ

Please use code tags while posting code. Also mention the section that you are getting this particular error in. Incompatible type errors are generated when the compiler expects an identifier to be of a certain type and finds one having another. So just try and find out if you can …

Member Avatar for musthafa.aj
0
112
Member Avatar for m_sam6

What you could also do is read the file line by line, the same way as you are doing now and match a pattern in the read line using the [URL="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/String.html"]String[/URL] class' [URL="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/String.html#matches(java.lang.String)"]matches[/URL] method. Where the pattern could simply be the string to be found in the file. Note : …

Member Avatar for AbhikGhosh
0
3K
Member Avatar for verruckt24

Hi, Can anybody point me out to good resources on "automating form filing and submission through Java App". The various types of forms are as given below: 1. Standard form with Form_Name, text boxes and submit button 2. Standard form with Form_Name, text boxes and submit image or JS based …

0
70
Member Avatar for LTT

@almostbob : Rather than posting the exact queries as answer, why not just mention that MySQL contains something like 'LIKE' and then maybe point him towards the documentation page for the same and then let him do the further tasks, such as the syntax botheration for MySQL, PHP etc. Wouldn't …

Member Avatar for Molech
0
813
Member Avatar for kirti19tanwar

[QUOTE=abhishaki;805952]hey noone will gonna give u d project kkkkk........ dis community is for programmars not for cheaters . so u better take care of dis in future........[/QUOTE] I don't want to dilute the essence of your post, but it would be a good thing to drop the IM/Chat speak yourself. …

Member Avatar for shashi7616
0
153
Member Avatar for jeffreyjs

I would like you to detail on your question. What do you want to do exactly when you say that whether the items cadn be added up?

Member Avatar for Jaiam
0
182
Member Avatar for MArun25039

Hi MARUN, As I see there are some discrepancies in your queries here. First you say that you want to limit the entrants to 20 but then in the second one you say you want to limit the enquiries to 20 so that has me a bit confused over your …

Member Avatar for vincent2085
0
156
Member Avatar for Fibinacci85

[QUOTE=Fibinacci85;990820] I have no idea as to what to do. [/QUOTE] Well in that case a simple solution is to go back and ask the assignment giver for a more detailed explanation on what to do.

Member Avatar for verruckt24
0
115
Member Avatar for sawant_nitesh

Firstly languages such as Java do not offer such "consealing" feature cause they are not meant to be used that way. Secondly as masijade has rightly pointed out executables are not all safe. Though it requires good knowledge of such they can be broken too. Read about obfuscation and what …

Member Avatar for verruckt24
0
122
Member Avatar for andrei4002

Firstly is there any criteria as to on which you could separate the data ? Say for example if there is any auto_increment field you could certainly use this to tuncate only those rows with id <= last_id, if not is there any timestamp value which could be used in …

Member Avatar for verruckt24
0
142
Member Avatar for bonaviam

[QUOTE=bonaviam;980374]ask the user for a year and a month in numbers. Output the number of days in a month. Be careful of leap years[/QUOTE] Full marks for putting down the question correctly, now lets see what you do about the answer.

Member Avatar for verruckt24
0
123
Member Avatar for verruckt24
0
351
Member Avatar for Grn Xtrm

How about an expansion of your username itself - [B]Green Extreme[/B], it would do more than just cause a stir especially in these days of Global Warming concerns. What say ?

Member Avatar for Grn Xtrm
1
206
Member Avatar for verruckt24

The environment of my application is as mentioned below : The application is a Router/Accounter library used to identify an appropriate Route (and also the price for that) when a destination for a Mobile number is queried through the API. The Route to be used for sending an SMS message …

Member Avatar for xyzt
0
179
Member Avatar for farag

[URL="http://www.javacertificationexams.com/scjp-mock-exams.php"]Here[/URL] are many links to SCJP mock exam questions. Also if you need some more you can search "SCJP Mock Exam" in Google anytime ;)

Member Avatar for xuenv2005
0
126
Member Avatar for JugglerDrummer

I faced atleast two of the problems posted by niek_e at around the same time he posted them. (Submit button problem and no notification through mail). I never face the load problem since I am using FF and ABP since long. But it looks promising to know that somebody's working …

Member Avatar for MidiMagic
0
241
Member Avatar for jegham

It is unclear what you exactly want to achieve. Bot hof your queries are identical.

Member Avatar for Tulsa
0
118
Member Avatar for Vandithar

[QUOTE]Could you copy and paste your code? Have you used any css?[/QUOTE] [QUOTE]so use regexp for this issue.[/QUOTE] Whats code got to do with it ? And what the hell is the css doing there in a question related to MySQL ? And how are you going to use regex …

Member Avatar for verruckt24
0
167
Member Avatar for sanusiemmanuel

Where do you think you should look for them ? Not certainly on the portals of MS-SQL, Oracle or DB-2 systems. [url]http://dev.mysql.com/downloads/connector/[/url]

Member Avatar for Josh Connerty
0
63
Member Avatar for sarithak

[url]www.mysql.com[/url] should be where you should be looking for all materials. Reading about, working with and trying out different things is what would be the best possible approach for gathering knowledge. So download the MySQL Server, install it (following the guidelines mentioned in the reference manual) and start working out …

Member Avatar for sarithak
0
143
Member Avatar for architact
Member Avatar for bhanu1225
0
88
Member Avatar for sneharaveendran

[QUOTE=sneharaveendran;876383]Hi all I need to read an Excel sheet using java and I need to know how many columns are there in that excel sheet. Please drop a code snippet to this thread[/QUOTE] Don't ask lamely for ready-made code snippets no one's going to give you that. If you are …

Member Avatar for jaka.ramdani
0
167
Member Avatar for fusi0n423

[code=sql] create view john_doe_rentals as select b.bid from sailor s, boat b, rental r where s.sid = r.sid and ( = 'John Doe') and r.date > "5/5/09" and rbid = b.bid; [/code] Here I guess you have forgotten to mention what equals to 'John Doe'. [code=sql] create view john_doe_rentals as …

Member Avatar for fusi0n423
0
159
Member Avatar for sgsawant

While compiling you need to specify the .java file, you are right on that part, but while running the file through the [I]java[/I] command you cannot specify the .java file, such a file won't simply run, the JVM would need a .class file. So you would have to execute the …

Member Avatar for sgsawant
0
393
Member Avatar for fuzzyrose

@OP : This program isn't written by you isn't it ? Since you do not even know whether it's for C++ or Java. So before I give you an advice, unlike others who I guess haven't put a thought to this, I would like to know the source of this …

Member Avatar for kvprajapati
0
238
Member Avatar for tformed

Thats because you haven't have implemented the toString method for your objects Address and Name. You need to implement them to define the behaviour of the toString method for your object. For e.g: for the Name object it could be : [code=java] public String toString(){ return this.firstName + " " …

Member Avatar for tformed
0
240
Member Avatar for mrgregkid

[QUOTE=adatapost;873551]masijade has solved your problem. Every public class must be saved in separate file and the name of file must be same as public class. PS: You post dice class twice. - Isn't it?[/QUOTE] This was so very helpful, especially after the long, over-detailed post of masijade that still left …

Member Avatar for peace_of_mind
0
85
Member Avatar for farooq82

[QUOTE]So now the problem is not your code. So chill.[/QUOTE] Not necessarily. There might not be a problem as such in his program but that does not mean the o/p would be as he wants it. It depends on the how the threads are schedule and hence, as mentioned, the …

Member Avatar for verruckt24
0
159
Member Avatar for kvprajapati
Member Avatar for JamesCherrill
0
169
Member Avatar for PhoenixInsilico

[QUOTE=adatapost;873515]They are variables but used in different context.[/QUOTE] And what is that suppose to mean ? Not to mention JC had already given the answer.

Member Avatar for verruckt24
0
151
Member Avatar for grisha83

As hardik.rajani mentions there's is little programming "tradition" to this. The concept of the Top of Stack is that the Top should always point to the uppermost/topmost element in the Stack. Now to follow this concept, it would be a logical thing that you first need to increment the top …

Member Avatar for grisha83
0
104
Member Avatar for serkan sendur

@serkan : The reason you cannot argue with Narue over this, or more appropriately, [I]should not[/I], is that even if people are working for 10-12 hours, can't they learn on the job itself ? Thats what Narue wants to mention when she says that to not learn anything from the …

Member Avatar for verruckt24
1
256
Member Avatar for MrMackey

Yes some config file or such to enter in the base rates or better is like reading an excel sheet which could be likely downloaded from some other source so that the user doesn't always have to keep changing the values manually, or even better would be the approach of …

Member Avatar for verruckt24
0
86
Member Avatar for MrDiaz

If you are developing a logging tool, flat files are the best. Since an application using your tool might be logging hundreds of entries in a matter of a few seconds and needless to say you are certainly not going to achieve that kind of speed with logging into a …

Member Avatar for JamesCherrill
0
192
Member Avatar for serkan sendur

But Mr. Sendur, it's like you are in search of water and where are you looking for it ? In the dryest of the places of the World. Got the point ? What are you doing searching for a smart, deep thinking, intelligent young girl near a strip joint. Not …

Member Avatar for serkan sendur
1
157
Member Avatar for cool_aj

Every public class should be defined in a file named identically. So, it's obvious that a file cannot have two public classes. So you need to create two files for the two public classes and then make them to refer each other, being public, this is possible (as long as …

Member Avatar for verruckt24
0
95
Member Avatar for rudypooh786

Your program specification mentions arrays, I don't see any arrays defined in your program. Check the Java tutorials on how to define and use arrays [URL="http://java.sun.com/docs/books/tutorial/java/nutsandbolts/arrays.html"]here[/URL].

Member Avatar for verruckt24
0
145
Member Avatar for AirmanTheGreat

I guess you have a pretty clear idea of what is happening around here. So I just would like to give you the notion of why it happens. When you declare a variable inside a method or more appropriately a block, the variable falls out of scope at the '}' …

Member Avatar for AirmanTheGreat
0
175
Member Avatar for giri.pankaj

Firstly I guess you need not dump all generated permutations into an array. You should only dump those permutations which generate a word out of the unscrambling of the original word, which you can figure out by comparing each genarated word with the list of all dictionary words that you …

Member Avatar for iamthwee
0
1K
Member Avatar for serkan sendur

I ain't finding much time apart from my work place to code anything. At workplace I need to build a small router/accounter for text messages that determines from the prefix of the destination (mobile) which gateway to route this message to and to search what price the user has been …

Member Avatar for William Hemsworth
0
250
Member Avatar for serkan sendur

My goodness Serkan, living in the US hasn't had much of a positive effect on your English langauge skills, now have they ? ;)

Member Avatar for ~s.o.s~
0
535
Member Avatar for Krstevski

What's the "assembly" word over here ? Also the spec says the method should return an int, so this would most probably be the index of that element in the array. You have instead declared the return type as "String". The logic to solve this should be implemented in two …

Member Avatar for verruckt24
0
322
Member Avatar for serkan sendur

[QUOTE]As i stated above, my "i love you" thing is only valid for one individual, and everybody knows who she is.[/QUOTE] This isn't a nice thing to say, especially when that someone has announced her discomfort with such stuff. I don't believe much in casting people in religious moulds anyway …

Member Avatar for ~s.o.s~
0
318
Member Avatar for Ko Thu
Member Avatar for weblover

[QUOTE]what is this (File f=new File(file)[/QUOTE] Well, thats what happens when you put yourself into a habit of "finding out code" instead of writing it yourself - you are stumped by the most basic and rudimentary things. As something I am personally against, I won't help you understanding this code …

Member Avatar for verruckt24
0
1K
Member Avatar for gubju

Detailing out what you need exactly would help us help you here. Plus it might not be that it cannot be done through Java. And finally show us your effort here, as to what you have actually got done.

Member Avatar for kvprajapati
0
73
Member Avatar for serkan sendur

I should say I have to agree with Serkan Sendur here in this thread. I'm not saying that I have the same feelings for Narue as he does, but I mean I agree with him when he says "You have the liberty NOT to read this thread" I don't know …

Member Avatar for Narue
-3
264
Member Avatar for Ancient Dragon

Also what you are forgetting is the Food Chain and Man (Human Beings) appear high on the Food Pyramid. [QUOTE]may be yes ! But the only problem is is it right or not ? is that much of pain worth that taste ?[/QUOTE] Try making a hungry tiger understand that. …

Member Avatar for ddanbe
0
533
Member Avatar for swatiringe
Member Avatar for Freddy00daniweb
0
170

The End.