5,727 Posted Topics
Re: you don't even need a mobile phone to send SMS messages. You need a contract with an SMS service provider who will supply an SDK to use. | |
Re: no, we don't help thread hijackers who are too lazy to even read the tutorials (if you'd done that you'd have figured it out for yourself). | |
Re: maybe, do you want to? And if you do want to, have you tried to do it? | |
Re: nope. We can't do it for you (or rather we could, but we won't). You have a complete and detailed problem description, implementing that should be trivial if you've done your previous homework and paid attention in class. | |
Re: tell your "friend" to do his own homework. Though of course we all know your "friend" is really you. | |
Re: says it all really, the key is not just invalid, it's not even recognised as a possible key. | |
Re: by reading the manual, tutorials, books, and studying. | |
Re: [url]http://java.sun.com[/url] and don't start with JEE, start learning Java itself first. | |
Re: NoCodeTagsError at line 1, program terminated. OutOfCheeseError at line 0, redo from start | |
Re: There are many service providers who'd be more than happy to sell you services to send SMS through their networks. But you're not going to get a freeby. | |
Re: [url]http://java.sun.com[/url] look for the tutorial, the jdk download, documentation. | |
Re: afaik there's no way to do that clientside without resorting to applets or flash. Javascript (which you'd have to use) has no such functionality and for good reasons, it's no intended for interacting with the filesystem. | |
Re: and no stupid things like hardcoding operating system specific file locations :) | |
Re: What are you trying to accomplish? I don't have Netbeans installed here (don't like the product, too slow and cumbersome) but you should be able to add the requires jar to compile them like any other. If you want to have Netbeans generate a web application it should automatically do … | |
Re: of course it does. Read that line again, where's your class "keyboard" with a constructor that takes an InputStream? Most likely what you intended to write was [code]Scanner keyboard = new Scanner(System.in);[/code] which might work (I never use Scanner, don't know its interface, but I think it works like that). | |
Re: unless you're the top troubleshooter you're not going to travel much. And that takes years or decades to accomplish. "Desktop support" basically means fixing broken office computers, kids like that are a dime a dozen in every country, no need to send some junior to another country to do the … | |
Re: yes, "the degeneration of computer science students as a function of the number of them asking for project ideas on internet forums". | |
Re: If you submitted code like that to me for review, you'd fail instantly. Learn Java and proper OO techniques, learn to design software rather than hack it together, and learn to document what you design. | |
Re: The instance of the anonymous inner class exists only in the context of the runtime stack of the method, is a method local variable and as such has access to other method local variables of that same method instance. | |
Re: Doubt about what you want to do is a natural thing. Also, don't expect to do the same thing for the rest of your life if you have a decent education. You're more likely to flow into different jobs and positions over the years until what you're doing has little … | |
Re: You need to get an ssl certificate from an official certificate agency like Verisign. This is the same you'd do when you set up a server on https. If you don't have one, jarsigner will create a "fake" certificate. These are called "unverified" because there's no trusted agency behind them, … | |
Re: nah, just requiring all posts by people with less than 20 (say) posts to be moderator approved would do far more good. Combined with strict requirements: no zombies, no homework kiddos, no spammers, no flypaper, no thread hijacking. Any of those gets you a warning, 3 warnings in those first … | |
Re: Don't use Vector, period. It's a legacy class that should be avoided in all new code whereever possible (there are a very few cases where you have to use it like in some Swing code, but that's it). | |
Re: Create a file of some sort (xml would work here, but there are many other options) containing all the information, and read it from there. | |
Re: good, that's such terrible code it should never work. Even if it were syntactically correct (I didn't even bother to check) it's conceptionally so utterly wrong it should just give up and die. | |
Re: When will people (especially kids) get it into their brains that there is no overall "best" in any such comparison, only different ways of doing thing each of which might be more or less suitable to specific situations? It's a sickening phenomenon that seems to be growing ever worse. | |
Re: You'll have to create your own LAF to match the one your OS is using. Java doesn't use the native GUI libraries from your operating system, so can't know what your operating system's LAF is. The Linux LAF is based on one way a Linux GUI may look that was … | |
Re: Because most companies will entertain the services of specialised recruitment companies to perform the first selection of candidates. And most companies that don't don't post on those sites, rather relying on more traditional ways like posting on their own sites or in professional publications. There's nothing wrong with MOST such … | |
Re: there is no wise use of globals. The only good global is an eliminated global. | |
Re: [QUOTE=BestJewSinceJC;1193875]The article I posted explained how Goldman Sachs has been intentionally and illegally exploiting financial markets for profit. [/QUOTE] Which is completely and utterly BS. They were duped as was everyone else. | |
Re: first things first, you're using floating point numbers where you should be using integer numbers. Not only is that uncalled for here, but due to floating point rounding errors you'll never get (unless by pure chance) the result of a floating point calculation to be exactly 0. Solve that first … | |
Re: well, even if he got it to compile it would never yield the result he's looking for... | |
Re: Even in 3 weighings you can not know for certain which of the last 2 is the odd one out. You'd need to test one of them against a known normal one to detemine which of the 2 it is, so need a minimum of 4 weighings. If you knew … | |
Re: no, you're hopeless. Just admit as much to your teacher and they may be lenient and allow you to retake the class or switch it out for something else like an internship at McDonalds to learn burger flipping. | |
Re: It's no doubt intended as a protest against the slew of semi-random bans and prohibitions people are faced with every day. Freedoms are being eroded in the name of "security" and "health and safety regulations", and at long last (though it may be too late, the agencies involved may have … | |
Re: he's using Java code in JSP. That's the first error. Use a servlet insted for sending that email. Then he's stupidly trying to create a class inside a JSP. A class that has a main method which he no doubt expects to be called and execute that main method when … | |
Re: You don't. NEVER use Java statements in JSP, always use only JSTL and JSF. And if you don't know what you're doing wrong here in Java code, you have no business writing JSP (or using those particular APIs) anyway as it's an extremely basic error that you should have learned … | |
Re: There's only so much space on a frontpage, and there are far more people interested in the latest news about facebook or twitter than there are about the latest kernel patch for some obscure linux distribution. | |
Re: hmm, had it somewhere. But I think it's on an 8" floppy. Must hunt down some 30 year old hardware so I can read it. Will probably require me to first invent and build a time machine to go back those 30 years. | |
Re: So much wrong with that method I don't even know where to begin... 1) don't make it static. 2) don't reference outside variables, certainly never do so without checking them for validity first. 3) use proper means to open a connection, don't put username and password into the url like … | |
Re: nope. All such "surveys" are completely useless. And noone in his right mind would click on some obscure link created by a first time poster, most such links give you malware infections. | |
Re: by learning first English so one can understand the tutorials and books, then learn Java by studying those tutorials and books. | |
Re: 1) define table structure 2) learn about jdbc 3) create a decent architecture for your persistence layer 4) decouple the persistence code out of your existing application 5) replace the calls to the decoupled persistence code with calls to the new persistence layer | |
Re: Read and understand the java tutorial first of all. You seem to have no grasp of what a javabean is, which means you don't understand the basics of the language. | |
Re: any properly designed database would handle all that... If you understood how a transactional system works, you'd know that. There are no "issues" for example if you employ proper transaction boundaries, iow commit when needed, no sooner and no later. | |
Re: [QUOTE=HiHe;1220917]Isn't signature spamming fun? What kind of sticks and poor quality DVDs are you unloading on the naive public? Too bad the new design doesn't prevent that.[/QUOTE] Worse, it clearly shows the mods/admins have no interest in stopping spammers even if they're pilfering products that are in clear violation of … |
The End.