5,727 Posted Topics
Re: >> Is there a free compiler / interpretter for Delphi (if any, which) and / or an IDE? Yes, a somewhat limited version is available for free. An interpreter isn't needed as the compiler produces Windows native code. Delphi, being a complete product, comes complete with an IDE. [url]http://www.codegear.com/[/url] (for … | |
Re: You'd need to write a plugin of some sort for Excel to do that, not even sure if it will let you do that. | |
Re: the code you posted won't even compile, as m and n aren't initialised yet at the time you first use them. | |
Re: are you sure your text is being painted in a visible colour, that the text colour isn't somethintg transparent? | |
Re: you probably could (I've not used it in over a decade, at the time it had a nice little scripting language) but why would you want to? It's a system for mathematical analysis and simulation, not a general purpose programming language. | |
Re: Even easier... Before you print anything, create a Map containing each distinct value in the array as the key and the number of occurances as the value. After that, just iterate over those keys and extract their values for printing. Worst case, that's equivalent to running over the array twice, … | |
Re: Books are cheap. What you learn from a decent book costing $40 will earn itself back many times over in the space of a few days work. | |
Re: create a JFrame or JDialog containing a JTextArea or something like that inside a JScrollPane, and show that. | |
Re: That doesn't solve the problem, it masks it but it will come back to bite you later. The problem here is almost certainly classpath related. Most likely the jar depends on other jars that aren't on the classpath (like mail.jar, activation.jar, and things like that). | |
Re: The Linux VMs are flaky when it comes to Swing code. | |
Re: sadly hardcore environmentalists would love to see mankind go extinct and I feel that more than a few of them would gladly lend a hand in making that happen if they could (by for example spreading diseases like Ebola all over the world). | |
Re: there's a word for trying to cheat yourself past a job interview, and that word is [b]FRAUD[/b]. | |
Re: And not only that, any site trying to sell me something had better not require me to do anything special like installing plugins or open the block I placed on Flash or I'm gone before ever seeing what they have to sell. You want to make using the site as … | |
Re: You don't do that kind of thing from a JSP, how often do people have to repeat that? For uploading files to a server, you need to handle multipart MIME requests. There are 2 packages (at least) on the market that will plug into a servlet to help you with … | |
Re: Don't use BDE, it's there for legacy support only. It's no longer maintained, no longer supported. Anyway, the error is quite clear. It can't find the file. Could be because of the spaces in the filename, being a very old program (did I tell you it's there for legacy support … | |
Re: I'm everything. IOW, I'm constantly waking up in a different position from the one I went to sleep in (and those differ as well). | |
Re: I wonder what your code is... Sounds like a problem with your ComboboxModel. | |
Re: those are not compilers. OP confuses compilers with IDEs and so do you... Eclipse is available for Windows as well. | |
Re: Both are end of life and no longer available. Use a modern JDK (like 1.5 or 1.6), and forget about the BDK (noone ever used it, and Sun acknowledged that by discontinueing it). | |
Re: when I was in school you either brought your own lunch or went without. Kid should be glad to get anything. | |
Re: you never know... I've this feeling of not being quite alive rather a lot, so who knows... | |
Re: [QUOTE=~s.o.s~;319469]E) When you have nothing better to do than criticize some stupid games played on the message boards.... ;)[/QUOTE] f) when you start criticising people who criticise people who have nothing better to do than playing stupid games on message boards. And yes, criticise is spelled with an s in … | |
Re: personally I think all of them look horrendous, but I'm not in the target market (teenage girls mostly). | |
Re: apart from your compareTo method never returning anything but 0 (at least from the part you posted)? And of course you're violating the Comparable contract by having the signature of your compareTo method take a Hand instance instead of an Object, so it's quite possible it never gets called at … | |
Re: Why are you trying to use J2EE classes from J2ME? And why are you trying to do something with a servlet when you want to connect to a database? I seriously doubt though that you can connect to a database from J2ME at all, afaik it doesn't support JDBC. | |
Re: I waited to buy one until Apple released them in the only colour that's any good: black. All the others are either too flashy or too dirty, and the iconic white makes you look like a typical "me2" person who bought an iPod just because it's supposedly "kewl" to have … ![]() | |
Re: congratulations on successfully pasting your entire homework assignment into a small textbox on these forums. Now go out and actually do that homework instead of waiting for someone to do it for you while you play with your game console. | |
Re: and learn proper separation of control. JSP are not meant for that. | |
Re: You'll need to find those application specific client files AND the application specific environment setting you need for that server. I can't help you with that, but the server documentation should be a logical first step. Then there's the internet, especially the vendor suppost site (most of which have forums … | |
Re: you'll have to make sure the class is available on both ends of the connection. I do hope you have properly serialised it as otherwise it's unlikely to work whatever you do. | |
Re: what do you think it should do, and what does it do? I see at least one error in your code, stemming from the way Java does division and multiplication and what you probably think it does. You are missing a required cast somewhere, that's all I'll say for now. | |
Re: [code] void function() { while (true) { System.out.println("I was too lazy to do my own homework so I got this piece of code off the web!"); } } [/code] | |
Re: A file doesn't have "a copy option", so there's nothing to disable. And if there was it'd be at operating system level, so best left to assembler or C. | |
Re: check your loop. Why is there a semi-colon at the end of the line? It's highly unlikely that it's supposed to be there. | |
| |
Re: do your own homework and next time start sooner. We're not your slaves, and certainly aren't here to make sure you can sit back with your playstation instead of trying to learn something. | |
Re: all 3 books you asked about are terrible. Sorry, but that's the long and short of it. This is by far the best introductory text on Java: [url]http://www.oreilly.com/catalog/hfjava2/[/url] This one is also very good: [url]http://www.amazon.com/Agile-Java-TM-Test-Driven-Development/dp/0131482394/sr=8-3/qid=1172383101/ref=sr_1_3/002-3459208-9687204?ie=UTF8&s=books[/url] Anything else is IMO a waste of money and time if you seriously want to … | |
Re: be sure to use the correct namespace when addresses those methods. They're in the std namespace (and have been for the last 10 years or so, so since just after your book was published). | |
Re: so many things wrong with this post... 1) not at all written in any language people can understand (read: English which is required here). 2) an attitude of being far more important than anyone else, so important in fact that everyone should drop whatever they're doing to help. 3) not … | |
Re: Delphi ships with a component that's dedicated to that. Just look through your component palette (assuming you have a reasonably recent (D7 or later, maybe D6 as well) and legal version of Delphi (pirated versions may have it stripped to reduce download size)). | |
Re: There's an option you can set on a JFrame that will turn it off. Get the rootPane, and set the windowDecorationStyle to something else. Might do more than you were aiming for, but that's the easiest (and possibly only) way. | |
Re: not to mention that Google has already taken action against people selling GMail invites so mentioning they're free as a marketing trick is to say the least shady... "pay $50 to get free advise" kind of shady :) ![]() | |
Re: lucky you. Know a guy in Alasky (not a farmer, but he's caretaker of a nature preserve so similar conditions) who's stuck with a generator (no powergrid out there) and a satellite phone (no landlines either). No sewer system of course (so he has his own sewage pit), no water … | |
Re: In my experience teachers are usually very nice to pupils who show an interest, and not just sit there being disinterested during classes and then get barely passing grades at best because they didn't put any effort into their coursework. They like being appreciated as much as the next guy. | |
Re: JBoss has LoginModules. Those are in turn controlled by login-module.xml in the server/conf directory. In there you define your realms, what login module (class) to use, and parameters for that class. The JBoss documentation explains how all that works in quite some detail, including how to create your own login … | |
Re: jars can certainly work on mobile devices, but they must be created for them as mobile devices have JREs that provide only a subset of the functionality of the full API. | |
Re: apart from the fact that hardly anyone uses it? I've heard good things about it, but only from a very small group who seem to be hardcore Jini fanatics. Noone else I've spoken to over the last decade has used it at all, and nobody knows what it even is … | |
Re: No, exes too can be easily decompiled and the source analysed (by someone who knows how). ALL programs can be decompiled by someone who is determined enough. The only reason some people ship what looks like executables when they ship Java programs is to enable them to be run on … |
The End.