4,084 Posted Topics

Member Avatar for stikku

don't use the "drag and drop method". it generates hardly readable, even harder to maintain and very crappy code. you'll be in a lot of trouble trying to debug that. rewrite your classes in a way you understand them (do hope you seperated your GUI from your other layers). if …

Member Avatar for stultuske
0
98
Member Avatar for alone88

never met him, so I won't start on whether he's "good" or "nice". sure had some talent as an actor, even though the Fast & Furious series he was most known for, aren't really the type of 'great acting' movies. liked him in Timeline, though.

Member Avatar for ZZucker
0
439
Member Avatar for Julia25
Member Avatar for x2005man

well, this code looks very fishy to me: String[] t=new String[arr.size()]; t=arr.toArray(t); for(String j:t){ return t; } 1. declare your t array outside of the loop, don't create a new instance each iteration, just overwrite the existing one: String[] t; while ( condition ){ // ... t = new String[arr.size()]; …

Member Avatar for stultuske
0
123
Member Avatar for xtreamcoder

and change books/courses: if it has J2EE in the title, chances are high it is outdated, since J2EE became out of date early 2006, when it was replaced by Java EE 5 (and has been called Java EE x every since) Another good thing to realize: don't go for "shortest …

Member Avatar for stultuske
0
247
Member Avatar for rubeea.jaffari

why would you? installing the jre (if it's not installed by default, that is) is simple and it's free of cost. another way of doing so, would be: don't write your applications in a language that depend on a (J)VM to run it in.

Member Avatar for stultuske
0
213
Member Avatar for mikewyatt
Member Avatar for kesh_1

hosting is providing a server, with the necessary functionalities to support all your needs. hosting means you can upload your webapp/website on their server, and they'll maintain the actual server it runs on. might be you get a number of email addresses, might be you can have your own url, …

Member Avatar for fastrecruitment
0
582
Member Avatar for KushMishra

if the goal is to "quickly gain reputation points", you're doing something wrong. the reputation a user gets is basically irrelevant. you should be here either to help learn, or to learn yourself. having a good rep is nice, but if you can't help out people without having the best …

Member Avatar for KushMishra
2
328
Member Avatar for Dani

my post count dropped with (almost) 10, as for reputation points, I've lost about 500. must 've been some popular posts that got removed from the count :)

Member Avatar for stultuske
2
380
Member Avatar for Qqueen

what kind of content has been changed? if it's an image you linked to from another page, might just be the owner replaced the image. if it's part of the wordpress text, maybe there's been an update of their material. anyway, wordpress isn't the best way to create a website …

Member Avatar for stokes
0
185
Member Avatar for Ghost

not sure what to think of it, after all, it's a reply to a dead thread. but some advice: I would be careful with code like this: catch (FileNotFoundException fe) { } this is just hours of needles debugging waiting to happen.

Member Avatar for stultuske
0
867
Member Avatar for diggdirectory

kind of doubt it. nowadays you need a google account to be able to get access to stuff that didn't use to require it. that also explains part of the increase in numbers. Google+ has it's pro's, no doubt about it, but it attracts a different type of user when …

Member Avatar for Ravi Rajput
0
146
Member Avatar for GrimJack

Diafol: whether you agree with it or not, JWenting has as much right to an opinion as you or I. I assume he's referring to a lot of people who adore Mandela and treat him as if he never made a mistake in his life, or walked the 'path of …

Member Avatar for GrimJack
2
838
Member Avatar for mussdroid
Member Avatar for JamesCherrill
0
261
Member Avatar for karnan.yuvan

help you with what? what kind of solution are you looking for, or what problem are you trying to solve? it's a supply and demand market, no changing that. 6 months of experience is basically the same as none. you're a junior developer, so no, you won't be paid the …

Member Avatar for happygeek
0
265
Member Avatar for djdanjo82

Ramesh: welcome to DaniWeb. do understand that this thread is almost five years old, and is not (really) related to your question. please don't hijack/revive dead threads. just create a new one, in which you explain what your problem is and your code.

Member Avatar for ramesh midatana
0
2K
Member Avatar for Deep Modi

ehm... you can use photoshop, paint shop pro, even paint, if you're good enough at it.

Member Avatar for Deep Modi
0
117
Member Avatar for poojakakde000

ehm... this is not something you can do just "code based". most likely you'll need some costly hardware to go with it, and you can make the service "free", but it's likely you'll still have to pay for it.

Member Avatar for stultuske
0
131
Member Avatar for M.Waqas Aslam

well, if you write it to be a standalone app, why wouldn't it be possible offline? but , that would bring in the disadvantage that only on your local pc the data can be updated, and it can not work with online resources. of course you could also have a …

Member Avatar for M.Waqas Aslam
0
199
Member Avatar for bCubed
Member Avatar for bCubed
0
340
Member Avatar for Benjamin_4

what exactly are you trying to do and what do you mean by "doesn't work". do you know what 'setSelectedItem' does?

Member Avatar for JamesCherrill
0
135
Member Avatar for asif49

do you own (a) factory(ies)? if not, don't get into it. chances are, the recipe you'll be using will either not pass legal control (too unhealthy) or look too much like an existing drink (just wait and watch the lawsuits roll on in, and those companies can afford it) developing …

Member Avatar for Agilemind
0
294
Member Avatar for aaliyahgorge
Member Avatar for mayaestat
0
315
Member Avatar for rohan21blade

that is because a primitive can not be null. null is when you have an Object that is not yet instantiated. you'll need to verify first whether or not you have null there, before trying to parse it to an int, and provide a default value or throw an Exception.

Member Avatar for JamesCherrill
0
295
Member Avatar for nay.htet.1481
Member Avatar for stultuske
0
232
Member Avatar for Graphix

why don't you just put the words in a .txt (or whatever) file and read them from your application? it's a lot easier if you want to add or remove words from the list

Member Avatar for JamesCherrill
2
4K
Member Avatar for ganges

ehm ... usually <a href > does that. but when you do that, and you want your site online, you'll have to put those files somewhere online.

Member Avatar for Eagle.Avik
0
151
Member Avatar for sciwizeh

since this thread is 5 years old, I doubt the OP's still following it.

Member Avatar for sciwizeh
2
858
Member Avatar for cakka

and choose to pay with paypal. I've had a problem like this before, I could show that I had contacted the seller about not delivering, Paypal didn't make a fuss, they just returned my money.

Member Avatar for jwenting
0
338
Member Avatar for princessashisharma
Member Avatar for stultuske
-1
233
Member Avatar for joelanandraj
Member Avatar for Tapan1

Sohanlal: you are facing what problem? start a new thread and post the exact error YOU get in there. don't continue this thread, since it's a dead thread that shouldn't have been revived.

Member Avatar for stultuske
0
985
Member Avatar for mrnutty
Member Avatar for joelanandraj

> whenever i retrieve the radio button value and compare it with the database value it is not comparing it either you are comparing it, or you aren't. which is it? and what code is it that isn't working? I assume it is this part? if (cans.equals(ans)) { out.println("works"); } …

Member Avatar for joelanandraj
0
232
Member Avatar for Raju_3

chances are pretty good it's a jquery plugin. by taking a look at the source code of that page, these might be a good place to start your research on: <link rel="stylesheet" type="text/css" href="ddsmoothmenu.css" /> <script type="text/javascript" src="js/jquery-1.6.4.min.js"></script> <script type="text/javascript" src="js/jquery.mousewheel.js"></script> <script type="text/javascript" src="js/jquery.jscrollpane.min.js"></script> <script type="text/javascript" src="ddsmoothmenu.js"></script>

Member Avatar for stultuske
0
131
Member Avatar for hajjo

never worked with jsf or portlets, so I'll leave it to that, you're definitely wrong in your last answer, though. 'Can I restart a completed thread?' No, you can't. what you can do is start a new one of the same type, just not the completed one. that one's gone.

Member Avatar for stultuske
0
143
Member Avatar for Helpmeplease123

1a you can't add a book in the book class. instantiate it in your main method, and add it to an array or a list. 1b on your instance of book, call the printDetails method 1c iterate over your array or list, printing the info of each of them question …

Member Avatar for ObSys
0
259
Member Avatar for <M/>

a "quick fix" to reverse a value, is to turn it into a String, and reverse it's characters. after that, parse it back to a double. you'll save yourself quite some logic/work.

Member Avatar for kal_crazy
0
173
Member Avatar for neha01
Member Avatar for nikolaos

what you are doing is assuming the garbage collector will actually run. it may, or may not. but, do realise, that you also create an array, several String's, ... anyway, all you can do is request the garbage collector to run, but in the end it's the JVM that will …

Member Avatar for mKorbel
0
777
Member Avatar for Ramendra kumar

since we have no idea what LoginDao.validate(obj); does, how it validates, or what it returns, there isn't much we can help you with. one good advice though, learn how to use servlets. putting actual Java code in your jsp files is very bad design.

Member Avatar for stultuske
0
149
Member Avatar for <M/>

I'm a bit puzzled about this part: if (num == 0) { System.out.println("No numbers were entered except 0"); } else if (num != 0) { System.out.println("The number of integers is " + num); } else { System.out.print(num); } for which value of num do you think it'll reach the last …

Member Avatar for <M/>
0
336
Member Avatar for SMYussef

actually, I would write it a bit like this: nameFruit = input.next(); while (!nameFruit.equalsIgnoreCase("Stop")){ // read price and sold // add code to handle information nameFruit = input.next(); } for more precise answers, you may want to clarify your question a bit further.

Member Avatar for stultuske
0
105
Member Avatar for sk8ergirl

a few remarks. a few small refactorings, to make your code in less lines, and more readable. `if ( btnOne.isSelected() == true )` this is actually the exact same as: `if ( btnOne.isSelected() )` and it's better to use an if-else statement, rather than two ifs. that way, your value …

Member Avatar for softswing
0
122
Member Avatar for sk8ergirl

through a terminal/prompt/... if it's a class file you are trying to run: `java MyClass` if it's a jar file: `java -jar MyJar.jar` but honestly, if you don't know how to do this, or not even how to find this information on the net, you really shouldn't be working with …

Member Avatar for JamesCherrill
0
370
Member Avatar for Necrozze

Strings are not meant to be used in mathematical equations. String represent flat text. why wouldn't you be allowed to parse to a numerical value?

Member Avatar for Necrozze
0
359
Member Avatar for Shari_1

you can't/shouldn't. as far as your Card class is concerned, the CreditCard class doesn't exist.

Member Avatar for JamesCherrill
0
193
Member Avatar for kal_crazy

start simple: a space invaders clone. first part: just the graphics, no moving parts second part: have your own spaceship shoot (straight line up) third part: have the invaders you hit 'die' and add points to your total fourth part: allow your own spaceship to move to the left and …

Member Avatar for HoverportMedia
0
208
Member Avatar for Pobunjenik

why not? [here](http://stackoverflow.com/questions/13249613/cannot-read-an-image-in-jar-file) you'll find how to use an image that's stored in the jar file.

Member Avatar for Pobunjenik
0
334

The End.