4,084 Posted Topics

Member Avatar for saranyasb

Don't just look at social media. Even though it is an easy way to reach tons of people, it is usually 'unsollicited advertisement', and most people will just consider it being annoying, and you, maybe, a spammer. Look for pages that offer detailed information on hotels and such, and send …

Member Avatar for advent_geek
0
521
Member Avatar for laguardian

might be something wrong in your logic. the resp variable in your switch statement is not related to the resp variable in your displayUserMenu method. probably, you are not setting the value of the first variable right.

Member Avatar for stultuske
0
213
Member Avatar for Gabriel_7
Member Avatar for antonyjessie

"buying website traffic" ? what do you mean by that ? like buying "5000 likes for 50$" ?

Member Avatar for Hasanur_1
-2
317
Member Avatar for sasikrishnasamy
Member Avatar for samantha2015

you can pass the tablename, columnname id and new value as parameters: update <tablename> set columname = <new value> where id = <id>

Member Avatar for samantha2015
0
284
Member Avatar for Alok_5
Member Avatar for vegaseat

[QUOTE=dvdreplication;1715326]Interesting thread thanks for sharing and posting.[/QUOTE] some people consider threads where other people state that there poo looks like an elephant as interesting :)

Member Avatar for vegaseat
11
9K
Member Avatar for Ahmed_62

change the button name? you mean the text on it? a few remarks: stop using AWT classes, use the Swing classes instead. add an actionListener to your button, and in the perform method, call setText on the button.

Member Avatar for JamesCherrill
0
226
Member Avatar for sabeenasyed
Member Avatar for bogoreh_1

jsp's are compiled to servlets, so whether you manually code them or not, you'll be using servlets. Do realize, that a jsp is nothing but the UI. the chatting itself is not (or better: should not) be processed/executed in your jsp, the jsp is just to illustrate the chat. This …

Member Avatar for stultuske
0
124
Member Avatar for JamesCherrill

for that, you should have checked [this thread](http://www.daniweb.com/software-development/java/threads/99132/starting-java-java-tutorials-resources-faq)

Member Avatar for Alok_5
20
3K
Member Avatar for dtpp

how do you see eclipse crashes while creating a jar if you don't get an error in your console? is there any indication there's something wrong?

Member Avatar for stultuske
0
229
Member Avatar for Ankit_18

ehm... It is missing? You are the only one who knows what your code is supposed to do, and what it is doing, so you are the only one who can say what is wrong with it. As for your add method: there isn't any. Please be specific about what …

Member Avatar for stultuske
0
262
Member Avatar for rajashree g.s.

All I see here is your assignment. Please show us what you have done so far, and ask specific questions. In case you wondered: no, we're not a "homework on command" task-force.

Member Avatar for JamesCherrill
0
392
Member Avatar for Hsn_1

Hsn_1: one of the reasons that you might not get an appropriate answer, is because you are asking it in the wrong places. You seem to be confusing between Java and JavaScript. They're about as much alike as a Car and a Carpet. When it comes to JavaScript, you may …

Member Avatar for stultuske
0
1K
Member Avatar for Rachna_2

40% is a pass? well, if you go to a school like that, no wonder this seems 'hard'.

Member Avatar for JamesCherrill
0
176
Member Avatar for paul.deku.50_1

There are tons of examples online. Also several libraries just for this. Please look into something before just asking.

Member Avatar for jwenting
0
80
Member Avatar for vegaseat

tobyITguy: > But if your planning a bombing, they would stop you dead on your tracks. how exactly are they to know you are planning a bombing? "ooo... that guy goes to radio shaq waaay too often, must be buying equipment to build bombs" ? Well, I hope for you …

Member Avatar for Leigh3
0
591
Member Avatar for sam_7

There is one major mistake I see in your design (only had a quick glance) `public class Controller extends JFrame {` A Controller should contain nothing but business logic (that what you might call the 'back-end' (or what is directly contacting the back-end)) of the application. You're not supposed to …

Member Avatar for JamesCherrill
0
272
Member Avatar for Ahmed_62

any return statement will end the method. consider this method as "my code runs, until the requirement is met and the method is flagged as 'ended'. this is exactly what the return keyword does (even in a method with no returntype - void ) here, your signature reads: `public static …

Member Avatar for stultuske
0
158
Member Avatar for Michael_43

String[] input = file.split("\\\\") have you checked the result of this, the size of input? might be it "splits" to one element, being the original String.

Member Avatar for stultuske
0
203
Member Avatar for rohtashrathore

so... what is stopping you? why do you think there is any difference between this, and storing any other value in a database?

Member Avatar for rohtashrathore
0
79
Member Avatar for divinity02

you need to reset the value of age within this loop: do { //if(age < 5 && age > 10) System.out.println("p1 enter your name please"); p1name = userin.next(); System.out.println("p1 enter your age please"); p1age = userin.nextInt(); } while(age < 5 || age > 10); To shortly explain why this loops: …

Member Avatar for divinity02
0
227
Member Avatar for Start4me

Start4me: if that error message is to difficult to solve, you should stop working with JOptionPane, and start at the beginning. first learn about primitive types, then about Objects, then about the differences between the two.

Member Avatar for mKorbel
0
1K
Member Avatar for Saboor880

have you tried declaring the type of the elements of the ArrayList?

Member Avatar for JamesCherrill
0
163
Member Avatar for manalibhadula

"now it has started giving problem" ... this is a bit vague. Have you been able to reproduce the problem while debugging? is there logging? how do you know for sure where the code hangs? are you sure it's not your connection?

Member Avatar for manalibhadula
0
2K
Member Avatar for Reverend Jim

I'm more irritated by the 'modern' phrases: - Yolo ! and all that crap. Believe it or not, I actually know someone who actually says "lol" when she hears something funny. She doesn't smile, just says "lol" ... Not sure she ever noticed the irony, she certainly never said it …

Member Avatar for vegaseat
1
318
Member Avatar for theredhosting

Reverend Jim: > Availability is always limited. There is ever only a finite number of items. Are you sure of that ? It always seems there is an unlimited amount of morons out there (and they all seem to have internet access).

Member Avatar for Reverend Jim
0
250
Member Avatar for Kamal_8

Having an idea is one thing. Then come the next step(s): 1. find funding 2. find out HOW to do it 3. try and get it done in such a way, that you can set the price as something that can compete with current technologies. 4. be able to sell …

Member Avatar for ddanbe
0
183
Member Avatar for alex0220

This thread was started two times. Follow the answers already given at the [other thread](https://www.daniweb.com/software-development/java/threads/496443/payroll-tax).

Member Avatar for stultuske
0
197
Member Avatar for divinity02

can you please edit your post. make a separation between your code, your analysis and your actual question. it's pretty hard to make anything out. Your question itself should be short and to the point, so we'll quickly know what to look for, the rest, which are basically tools for …

Member Avatar for divinity02
0
360
Member Avatar for urmania

first of all: what you link to is not a 'website', rather a 'webshop', a huge difference. for a webshop, find out what people are actually interested in the products you sell. update your stock and items regulary, don't keep the same items for over a year, without ever thinking …

Member Avatar for jeorgehome
0
815
Member Avatar for sankubha

usually, you take a new version for the improved code, the new functionalities, ... considering the fact you've missed two major releases already, I would assume the differences between what you are using and what's new is substantial. 'Why we need to prefer the new version' You don't "need" to …

Member Avatar for Schol-R-LEA
0
351
Member Avatar for Litherz

don't double post [Your question on StackOverflow](http://stackoverflow.com/questions/30457197/java-else-if-statement)

Member Avatar for Schol-R-LEA
0
115
Member Avatar for nitish.mohiputlall
Member Avatar for vintunashrestha

.... no offence, but if you think that the above post contains enough information for us to be able to even consider helping, my guess is you don't use the tool how you're supposed to.

Member Avatar for vintunashrestha
0
120
Member Avatar for Miran_Leli

You are trying to parse a variable that hasn't been initialized yet (so has the default value, null) to a number. There is no value, so also not a numerical value which can be parsed. This causes the exception. If you want the user to enter the data by input …

Member Avatar for JamesCherrill
0
646
Member Avatar for hefaz

@Override is an annotation that makes it more clear that you are overriding the method of a superclass, and that adds validation on whether or not you are in fact (correctly) overriding a method. For instance, if you were to add: public boolean equals(MyObject o){ ... } Some think that …

Member Avatar for hefaz
0
132
Member Avatar for pars99

that is because you do this: `putTogether[i] += lastLetter + ". " + secondToLast + ". " + lastNames[i];` Saying: the new value is the existing value, concatenated with wath follows after the += The existing value at that point, is null. so, change that line to: `putTogether[i] = lastLetter …

Member Avatar for stultuske
0
138
Member Avatar for arup_1

Check whether or not it has the name/extension/... you expect it to have. Then, check your Windows configuration. show 'hidden files'.

Member Avatar for stultuske
0
252
Member Avatar for no123
Re: game

And you expect us to explain where your code should/could be imrpoved, without seeing your code?

Member Avatar for no123
0
147
Member Avatar for divinity02

You are working with local variables which you don't update. from within your main method, I copied this and kept only the lines handling those variables. int stuidnum, courses= 0; int grde = 0; System.out.println("courses pursued"); System.out.println("the courses pursued are " + courses); System.out.println("the grde is " + grde); so, …

Member Avatar for stultuske
0
239
Member Avatar for mmmmmmmm

you have an array of Strings, and you would return an integer? what you could do: instantiate a list: List<String> alreadyChecked = new ArrayList<String>(); for ( i = 0; i < array.size(); i++){ // step 1 ->check if the String is already in the list: // if so: break; // …

Member Avatar for JamesCherrill
0
189
Member Avatar for london-G

> a fault tolerant program is a program that is not vulnerable to errors. if this is so, there isn't a single fault tolerant program in existence. every program is vulnerable to errors. What you can do, however, is anticipate them. Anticipate every single error that might occur, and implement …

Member Avatar for Schol-R-LEA
0
188
Member Avatar for shockwave_05

Wiggles: you do understand that this is a 6 year old thread, right? When showing off code, make it good code. public double getSide(){ return side; } public double getArea(){ return getSide() * getSide(); } Can you come up with any reason that the above, as you have it, is …

Member Avatar for wiggles29
0
5K
Member Avatar for Joseph_13

if you can't get the solution, you haven't "tried all". there's at least one thing (the correct approach) you have not tried. you don't even bother to show us what you've tried, so why should we help you? unlike what some people believe, this is not a "gimme codezzzz" forum.

Member Avatar for stultuske
0
798
Member Avatar for advent_geek

this might just as well be a financial strategy error from your part, not related to SEO or anything else. your SEO might be perfect, but if the search results are not appealing to people, you won't sell anything. don't just put stuff up for sale: check what it is …

Member Avatar for advent_geek
0
454
Member Avatar for Mbusi

so it worked for a few days and all of a sudden "poof" ? well, a good place to start looking is into what in your configuration changed. Did you install a new JDK? did you change anything in your environment settings? anyway, none of this just happens out of …

Member Avatar for Mbusi
0
602
Member Avatar for sprighttech

The End.