5,727 Posted Topics
Re: The problem is not the firewall, the problem is your attitude of making your computer wide open to the world. | |
Re: you start by writing down how to do it, not by having someone else do it for you. No compiler or code editor required, use pen and paper and write it out in normal English (or your own language). Then start thinking of what language constructs would best map your … | |
Re: that's one way. Another is to play with nested layout managers. | |
Re: Scanner is new in JDK 5.0. Netbeans 3.x is seriously outdated, won't know about it. | |
Re: [url]http://www.oreilly.com/catalog/jthreads3/[/url] | |
Re: by learning how things work instead of hoping that some IDE will do it all for you. Study the Swing path of the Java tutorial and you should be able to figure it out for yourself, and learn a lot more besides. | |
Re: your welcomeServlet doesn't support POST requests... neither does calling one JSP from another. | |
Re: kids like this are the main reason I stopped gaming online and went back to nearly exclusively battling it out with the computer. | |
Re: not urgent. bad idea. intercept the datastream coming in from the client, save it into a byte array, and store that into a BLOB in the database. | |
Re: rtf wouldn't understand html tags, instead consider them to be normal flat text (unless a specific html tag would happen to also be an rtf tag (in which case it would almost certainly be something completely different) in which case you'd likely end up with corrupted rtf. The rtf editor … | |
Re: the full source code of production releases of the core API is included in the distribution. AFAIK the same is true for beta releases. The full source of the JDK is also available online from the JCP, but do read the license. You will NOT be allowed to distribute any … | |
Re: do your own homework. This is so basic you should be able to do it with a few hours of instruction. ![]() | |
Re: Post the relevant parts of your code. Sounds like you are forgetting to flush some buffers. | |
Re: probably a classic case of not adding the current directory to the classpath. "java -cp . myprogram" should do the trick until you learn to use proper naming conventions for your classes and members. | |
Re: and put in the correct jdbc URI. The example used a mySQL database as an example, and of course a different database name and machine. See the documentation (which you should have, it's available from Oracle and I think comes with the driver) for the details. | |
Re: If you're using Turbo C you will never get anything using C++ style stream IO to compile. If you're using Turbo C++ you won't likely get it to work either as it implements the old AT&T C++ definition which is (in places) quite different from the current ISO standard. The … | |
Re: I have over the past 20 years that I've been programming (half of that professionally) learned and used something like 20 programming languages (not counting languages I can read but not write). There's no reason to restrict yourself to a single language, in fact it's counterproductive. Learn different languages, and … | |
Re: Install the Win32 platform SDK, and link in OpenGl32.lib I don't think you need to do anything else. | |
Re: nothing wrong with old tutorials, they teach the core instead of getting sidetracked into fancy new additions... Why include XP skinning into a tutorial teaching introductory Win32 programming for example... | |
Re: [code]JButton clickMe = new JButton("Click Me!");[/code] After that all you have to do is map the actionevent from the buttonclick to a method that reads out the screen, generates an email using JavaMail, and sends it off. See any Swing tutorial for the first part, and the JavaMail docs for … | |
Re: so parameterise the whole thing to take a number n instead of using a fixed number of iterations... | |
Re: and there's only 3 things women like: shopping, watching Oprah, and pissing off men... | |
Re: it will work on any CPU as long as there's a version for the operating system you're using. | |
Re: congratulations. That's just about the highest number of buzzwords I've ever seen in a single job description. ![]() | |
Re: Certs no longer get you a job, there are so many useless ones that they're no longer a sign of excellence. What SOME certs will do is get you a foot in the door, get your CV past that first screening in which all the obvious crap is thrown in … | |
Re: You can save anything you want. It's just a bag o'bytes on the disk (or whatever storage medium you're using) after all. Just use the correct stream classes (things like ByteArrayOutputStream) and set the file flags correctly (you may want a RandomAccessFile). | |
![]() | Re: [quote]she said it shud b easier.[/quote] I doubt she said that, teachers are not known for using crappy text messaging shorthand when speaking to their pupils. [quote]Here is wat i gotta do in my next assinement.[/quote] So go out and do it. By just posting it here and waiting for … |
Re: you can't use any of the standard List classes for that. There's a SortedSet which you could use but it isn't a List. Either use another style of Collection or write your own SortedList which I've actually done about 2 years ago, took me only a few hours. Can't give … | |
Re: check the documentation of the jar command. If you insist on using an IDE to prevent you from learning the language and its tools use its documentation as well. | |
Re: setSize has little effect for most controls, it's mainly there to enable resizing of entire windows (and might have been better implemented at a different level in the class hierarchy), you're not supposed to control the size in pixels of user interface controls in Java as they're controlled by the … | |
Re: yes, and currently working on the next one. [url]http://www.sun.com/training/catalog/courses/CX-310-252A.xml[/url] | |
Re: Contact BEA Systems to buy the product if you didn't do so and want to use it. Or just follow the installation instructions correctly if you have bought it and have a license file to install. | |
Re: rather cold and inpersonal don't you think, sending her a text message instead of telling her in person after you give her a kiss (some flowers also do wonders)? | |
Re: Borland C++ 5.4 (which ships with BCB4) and 5.5.1 both indeed allow it (both are 6-8 years old by now). Don't have any others installed here at the moment (VC++ 2005 will go onto this machine in about 2 weeks). You're indeed most likely getting namespace clashes. Remove the using … | |
Re: [code] int total = 0; for (int i:elements) { total += i; } [/code] | |
Re: the JVM determines component spacing and sizing at runtime. It's pretty much out of your hands. | |
Re: as long as a class is on the classpath java can find it. In your scenario your class isn't on the classpath. | |
Re: think about what you're doing there. Each time the page is loaded you first get the data from the database and then write it back. That can't be what you're trying to do. Then you're intending to write back what the user put into the webform, but you're never retrieving … | |
Re: you're not importing your Stack class so I assume it's in the same package, but is it actually there? | |
Re: Sure it's possible, you just need to implement an algorithm for it. | |
Re: no, the best way is for you to think about your problems yourself. If you're too lazy to even try to explain what is going wrong why should anyone go to the effort (especially unpaid) to analyse your problems for you? | |
Re: he's trying to trick people into doing his homework for him. | |
Re: if your dad's a dentist he can afford to pay for such a program. He can also afford a teacher to teach you proper English. | |
Re: Compiling that code yields something like a hundred compiler errors. Start at the top of the list and resolve them one by one. | |
Re: You should have no problem, assuming the other box has the classfile on its classpath of course. | |
Re: it's actually quite easy to code, certainly everything except the display should be a piece of cake. | |
Re: Game development will burn you out very quickly. Game companies hire very young people fresh out of college and university for a reason, and that's because experienced people aren't going to work themselves to death (sometimes literally) for a rather meagre salary. Expect 12 hour work days as standard, getting … | |
Re: what variable 'nickname' are you trying to output? JSTL will use any named attribute from the pagecontext, not something you created in a Java block on the JSP (in fact you should avoid those like the plague). | |
Re: add the compiler flags "-source 1.4 -target 1.4" (without the quotes) when compiling and your 1.5 compiler will behave like it was a 1.4 compiler and spit out classfiles for 1.4 runtimes. | |
Re: use STL instead, this is a job for vector. Stroustrup himself advises against using arrays whereever STL can be used instead. |
The End.