5,727 Posted Topics
Re: is your appserver running? and if it is, is there a firewall in place that may block it? | |
Re: The entire thing you have there is not a valid Java statement. What are you trying to achieve anyway? The variable would (were this to compile) be lost anyway as soon as it completed. | |
Re: buy a new printer... With lowend models that's almost always cheaper than getting them repaired. And that's one part of the reason noone will buy your printer. Resale value after repairs is just about zero, and repairs are expensive, so why should anyone give you any money for it? In … | |
I'm looking to (within a few months hopefully) buy me a (semi)professional photoprinter. At the moment the Epson R800 looks very promising but I'm a bit wary of spending some €350 on a device I've never seen in action and noone around here has it in stock to demo. Does … | |
Re: UUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUU I've more if you want them ;) | |
Re: [url]http://www.daniweb.com/techtalkforums/announcement9-2.html[/url] Think for yourself and others will think with you. Fail to think at all and others will pass you by. ![]() | |
Re: Did you compile it? Did you put the compiled classes (and package structure) in the correct place within your web application? Did you create the correct entries in your web.xml? | |
Re: This has nothing to do with JSPs, better find a forum specific to Crystal Reports. | |
Re: If you just read "consumer reviews" to determine what to buy you'll never buy anything as the only people who usually voice their opinions are those who are unhappy... I know several people who have Dell systems, and all are quite happy with them. | |
Re: For you there should be no difference in the WHAT of the device on either end. As long as you know the protocol and have a way of getting the datastream it's transparent. | |
Re: Now for some good news... Dealing with Sandisk tech support I had a response and an address for a replacement stickdrive within hours. After my first email to that address to make arrangements got lost (for which they apologised) I had a replacement drive in the mail in under a … | |
Re: Create supertargets building only those parts of the application you want to include. So for example (from one of my buildfiles): [code] <target depends="cleanup" name="clean"/> <target name="precompile"/> <target depends="javacompile" name="compile"/> <target name="postcompile"/> <target depends="archive,javadoc,resource" name="package"/> <target name="deploy"/> <target depends="precompile,compile,test,postcompile,package,deploy" name="make"/> <target depends="clean,make" name="rebuild"/ [/code] make sure every single supertarget does … | |
Re: advocating piracy, idiocy, or plain cluelessness ? :rolleyes: :rolleyes: :rolleyes: | |
Re: If you'd posted a normal topic line someone'd likely have come along already. As it is I'm disinclined to even try, I only dropped in to kill some time ;) You state yourself there are no errors, so I wonder what the problem is? | |
Re: Seen in the context of his time his ideas (at least his initial ideas, later he went a bit overboard to put it mildly) made a lot of sense. Germany had been disgraced, he wanted to make Germans proud of their country and its heritage again. Unemployment was skyhigh, he … | |
Re: any tutorial on Javascript will tell you all about loops. And always remember that Javascript is not Java. | |
Re: When reading and writing binary files (which almost all files with a .dat extension are. There are thousands of different formats of course, dat is just short for data after all) don't use Readers and Writers. Things like ByteArrayInputStream are your friends. | |
Re: And don't forget that returning a value from a void method will result in a compiler error in Java (unlike C). | |
Re: And DO NOT start partying instead of studying like so many people do... | |
Re: [QUOTE=Zachery]Their printers are even subpar, a good printer has seperated ink tanks.. not combined.. [/QUOTE] I prefer the way HP does things. No trouble with having to send the printer in for repairs when the printhead gets clogged up with ink after not using the thing for a while (had … | |
Re: Stop shouting. v.2005 is out or should be out shortly. .NET has been a core part of MSVS for 4 years now, you're way way outdated. | |
Re: When you call setVisible(true) on a JFrame all other threads except the one handling that JFrame block until the JFrame has been set to invisible. So your getText method never gets called. You're also not creating a custom dialog. Override JDialog. | |
Re: Since the static method will always be called on the class instead of the instance you might get a tiny performance boost by using it like that, but most likely the compiler will optimise it that way for you. | |
Re: The idea that Java is "much slower than C++" is largely a myth. Sure, it once used to be slower, but no more. For C++ GUIs (I guess you're working on Win32 platform only given what you already mentioned for options) there's another option to consider and that's VCL. It's … | |
Re: What I'm wondering is why anyone would ask such a question during a job interview in the first place... And if they did, why they'd put it in such terrible English. | |
Re: Never use a null layout! [code] jList1 = new JList(data); jScrollPane1.getViewport().add(jList1); [/code] This should work. You might want to add a minimum size as well to prevent the list from being made smaller and smaller when there's few items in it (until it disappears when there are no items). [code] … | |
Re: Get good in math first, then try to apply that knowledge towards writing computer programs. The program will never be better at it than the person writing it, it will only be faster. If you don't know what the outcome should be, how can you know that what you get … | |
Re: Check whether your license expired, most if not all virus scanners are sold on a subscription basis and will disable themselves when your subscription expires. | |
Re: Think of what you're trying to do... The jsp:include tag includes the result of running a JSP through the JSP engine at runtime. You're trying to pull an XML file through the JSP engine, it won't be able to handle that very well. | |
Re: OpenOffice is the best. Not that happy with it myself but it's the best out there. MS Works is cheaper than office, and office itself comes in different flavours at different prices. As she's a student she can almost certainly get a very cheap license herself through her university or … | |
Re: Do your own homework. We're not here to help lazy kids. | |
Re: Rep is overrated anyway. Unless you respect the opinion of the person telling you you done good (or bad) who cares what they think of you? In my experience on most sites it's used either as a popularity contest (people giving their friends good rep, everyone else bad) or to … | |
I'll be visiting the Delphi 2006 launch in the Netherlands on the 29th. First time to meet DavidI and other dignitaries in several years. | |
Re: The best selling beginners' book at the moment is "Head First Java" by Kathy Sierra and Bert Bates, published by O'Reilly. You need nothing more than the JDK (which you can get from Sun at [url]http://java.sun.com[/url]) and a text editor. Don't start using an IDE until you know the language … | |
Re: If I were you I'd start with using proper Java naming conventions, so variable and method names using CamelCase and starting with a lowercase letter, class and interface names similar but starting with an uppercase letter. Also use meaningful names for your variables and members to make it easier to … | |
Re: You'll have to read in the entire file (that's the way a URL works), parse it, and distribute the lines yourself. | |
![]() | Re: Ugly? Swing Metal is very nice indeed, and Swing has fully pluggable LAF so you can create your own if you want to. |
Re: Without seeing the code that is mentioned in the stacktrace it's impossible to say more, but it sounds like a method is being called with a null argument where that's illegal. | |
Re: cluck :) happy turkey day to all Americans, and happy thanksgiving to all turkeys elsewhere :) | |
Re: Indeed. Get the JDK (latest version is 5.0_04 (compiler version 1.5.0_04) from [url]http://java.sun.com[/url] and use your favourite programmer's editor to create the code. Don't touch those fancy IDEs until you understand what they're doing and can do the same by hand (albeit MAYBE slower). VI, jEdit, Emacs, even Notepad. | |
Re: And what exactly have you done, and where/why doesn't it work? | |
Re: Sounds like a power problem. Any new hardware installed recently? Could be your CD-ROM player is pulling enough power when used that your powersupply can't keep up and your system goes down as a result. Had something similar when installing a DVD writer, had to disconnect 2 of my 6 … | |
Re: <<include>> indicates composition. <<extends>> indicates inheritance. Composition would have one usecase enclose/use another (for example making a reservation for a hotel room would include looking up a customer). Inheritance would have a use case be a special version of a more generic one. For example booking the bridal suite might … | |
Re: Every file is binary data by definition. A text file contains only data in the specific code page/character set you're using. Which that is would depend on your locale. You'd have to attempt to read the file and throw an exception if you encounter data that doesn't map to text … | |
Re: Something working doesn't mean it's good (especially in an academic environment) ;) Proper OO design is more important when you're a student than just producing working code, it should become so automatic that you don't even consider writing something that's not properly designed and start to gag on seeing poorly … | |
Re: what context? And don't close your frame with System.exit(0) as that will terminate the entire JVM and thus stop the application dead in its tracks. | |
Re: [QUOTE=Dortz]a static variable, by definition, is a variable, declared at the start of the program, that does not change its value throught the execution of the program. [/QUOTE] Wrong. You're referring to a final member. A static member is allocated one instance per Class Object rather than one instance per … | |
Re: I've had that with a mouse that was running out of life (in that case the mousewheel was malfunctioning). Try another mouse and see what happens. |
The End.