5,727 Posted Topics
Re: [url]http://vivisimo.com/search?tb=homepage&query=JDIC&v%3Asources=Web[/url] "JavaDesktop: The JDIC Project [new window][frame][cache][preview][close preview][clusters] Introducing JDIC Desktop Integration for Java Applications June 1, 2004 Sun has launched the JDesktop Integration Components ( JDIC ... [url]www.javadesktop.org/articles/jdic/index.html-Lycos[/url] 2, Wisenut 2, Ask Jeeves 2, MSN Search 3" "George Zhang's Blog: Where's JDIC Going? [new window][frame][cache][preview][close preview][clusters] ... of JDIC … | |
Re: Where are you running the command from, in other words what is the current directory? Logic says it should run the class in the JProc folder and not in any underlying folders unless they're part of a package you're calling. So I assume you're actually in the JProc/JProcTim folder which … | |
Re: hmm, you seem to be missing the w and h keys on your keyboard. As to your "problem", your native program is probably setting the value to a 32 bit floating point number. Double in Java is a 64 bit floating point number. Either use a 64 bit floating point … | |
Re: applet security restrictions prevent you from reading anything from your harddrive. You can only read files from network addresses on the same server (or more correctly (virtual) host) as the one where the applet resides. As the applet is in your case not coming from a server it can't read … | |
Re: no, I think he wants to return a part of a Hashtable based on some criterion related to the keys or values in it. Hashtable doesn't have methods for that, it would be next to impossible to create a generic algorithm for it after all so Sun didn't bother. It … | |
Re: heap size is dependent mainly on the amount of memory available to the JVM. Of course such huge strings are pretty useless. Remember Strings in Java are immutable so anything you do to them will create at least one duplicate (effectively creating another String of the same size every time … | |
Re: TC3 is NOT free, only TC1 is and I'd not advise that to anyone learning C++. It's a pre-ANSI compiler which does not confirm to current language standards. For the oldtimers and collectors it's a blast from the past, a reminder of the good old days. [url]http://bdn.borland.com/museum[/url] The 5.5 compiler … | |
Re: If you don't want to pay for an editor and you don't like VI (hard to imagine, but some people haven't seen the light) Eclipse is one of the best options (though not for beginners, jEdit or jExt are better for them as Eclipse like all IDEs prevents learning how … | |
Re: wouldn't work. A refridgerator works because it's an enclosed environment. If it's in the open it'll effectively cool nothing (the effect will be negligable). If you do want effective cooling, use liquid nitrogen (helium is better but too expensive for most uses) cooling. | |
Re: Or try the card in another PCI slot if the machine doesn't even see it. Could be you have a bad slot, happened to me once on an old machine. | |
Re: Define a plugin interface carefully and then design your program to be able to execute that interface. Then create a system to register plugins with the program and add them to your user interface. Think command pattern. | |
Re: Well said Catweazle, though there's an even simpler (and decidedly failsafe) method: stenography. Just learn to write faster ;) | |
Re: or he made it past the introductory courses using the same tactics (let others do the work for him and cheat on any written tests) and now thinks he's a programmer. Do your own homework kid, and as said if it's way above your head you've clearly chosen the wrong … | |
Re: hmm, seems some school has assigned a class full of kids this assignment. I see it popping up on several forums all over the net, and all at about the same time. All the same question, and pretty much the same attitude ("do my work for me"). | |
Re: Personally I consider Bruce Eckel highly overrated. His main claim to fame is making versions of his books available online free of charge, which gives him a wide name recognition among beginners. Far better is Kathy Sierra's 'Head First Java', which you should be able to order from bookstores anywhere. … | |
![]() | Re: Why should we help someone who doesn't even take the time to write out his sentences? If you're that lazy you don't deserve help. |
Re: who is u and why are you telling us you'll keep him/here/them updated? | |
Re: yes, that's serialization. It works if you take some basic precautions (like making sure every field in your class is itself Serializable or transient). Of course you should mark things that rely on external data as being transient so they don't get serialized as those external resources likely will not … | |
Re: Nice photoshopping. Now without Photoshop: [url]http://www.usefilm.com/image/894242.html[/url] | |
Re: hmm, is it the start of the new school year where you are? Get a good book, there's at least one I know of that develops just that as one of its core example applications, good luck in finding it (will give you at least some work to do before … | |
Re: Woooow, a BIT of patience may be appropriate. You must be the most impatient poster I've ever seen, complaining about not getting an answer after less than a minute. We're not here to proofread your programs. What is the output you're getting, and what were you expecting to get? Use … | |
Re: uh, not just distributed systems and in distributed systems too it depends on the design of the system :) The Interface defines your public interface. Handy when you have multiple implementations. Typically you don't want any class using your classes (instead of creating instances of them) to have to care … | |
Re: idiots... Just another "I hate Microsoft because Microsoft is a Big Corporation and all Big Corporations are Evil" group. | |
Re: Richard, could it be the XML serialiser isn't correctly serialising the graphical (thus binary) data, leading to your document being corrupted? I've not used the system, but seeing as XML was never meant for binary data that is a likely scenario. | |
Re: Or better, use RandomAccessFile and just write the data you want at the place you want it selectively. Takes some getting used to as you're no longer dealing with Writers but Streams but well worth is. Typical sequence: - move the file pointer - create a buffer of data to … | |
Re: Are you by any means trying to run the java source file directly? If you're commanding "java HelloWorld.java" you're actually trying to execute a class called 'java' in a package called 'HelloWorld'. Compile the class using javac and then execute it using 'java HelloWorld' (while making sure your classpath is … | |
Re: Except when you think like that and think that you can do the same things you did in C++ in Java and always get the same result (or even get them to compile)... | |
Re: who is "u"? who is "i"? Use real English in writing and you might understand what others write as well. | |
Re: [QUOTE=kc0arf]Hello, It has been my experience in the business world that the nVidia drivers are quirky and unreliable, whereas the ATI materials have been stable and trustworthy. I have seen a lot of nVidia cards cause some monitor problems, and unstable graphics. The business environment that I am referring to … | |
Re: try your favourite search engine. wikipedia also has an excellent article on prime numbers complete with explanations of the most popular algorithms. None are particularly difficult to implement and I'm pretty sure your teacher wants you to do your own homework rather than submit something written by someone else. You're … | |
Re: I usually take a 1 Tesla magnet, sure to get rid of anything on that drive :) More seriously, just boot from another medium and remove the Windows or WinNT directory and your OS is effectively hosed. Disk might still try to boot but will do you little good. More … | |
![]() | Re: Site doesn't exist. It's a domain squatter. Not tried any of their "suggestions", the URLs look suspiciously like sites that try to do naughty things like install CWS. |
Re: Seems the charging circuit's fried, not the polarity protection on the mains inlet. Either the charging circuit has its own protection (likely) or it's a goner and needs replacing (which in a laptop could mean replacing the mobo depending on the design). | |
Re: it means [code]if (x > rect.x) { left = x; } else { left = rect.x; }[/code] | |
Re: That can be done a lot easier. [code] List<Integer> l = new ArrayList<Integer>(); for (int i=0;i<amount;i++) { int q = (int) Math.floor(Math.random() * 100); if (!l.contains(q)) { l.add(q); } } Integer[] dummy = l.toArray(new Integer[] {}); [/code] You'll end up with an array of Integer instead of int but with … | |
Re: I'm an apostate! My god is O'Reilly and his prophet is Amazon ;) Though I must admit I sometimes sin and worship the others whom Amazon also preaches. | |
Re: if you're into Ethiopian cooking it doesn't matter what the weight is. Just hold some rice (a few grains will do) near (but no closer than half a meter) from a cup of boiling water. Reuse that rice for the next year. | |
Re: In your scenario you'd still have to read in the entire stream to create your object before you can start to serialize it. Unless you can read in the input in small bits and flush your output before reading the next bit (or at least periodically) you're going to run … | |
Re: NPH, DO NOT do peoples' homework for them. It makes sure these people never learn a thing (or rather that all they learn is that there's always a sucker stupid enough to do their work for them). | |
Re: Try flushing the buffer after every write. The only thing I can think of that's eating up memory here is the outputbuffer. It may not be flushing automatically, causing the JVM to attempt to map the entire output into RAM instead of writing it directly to disk (which you seem … | |
Re: Well, you never change searchValue inside the loop so if it's not the same as your loop counter you're entering an eternal loop. | |
Re: These tools are all scams. The limiting factor on the time it takes to get data to your computer is hardly ever the bandwidth YOU have available (especially if you're on broadband) but rather the speed at which the host sends its data (which these tools can't affect). And if … | |
Re: Freedom of expression is not just a good thing, it's essential to being a free person in a free society. If you aren't allowed to say what you think of things (even if others don't disagree with you), you're nothing, you've no personality left. In the absense of freedom of … | |
Re: And if you're writing a console application, forget it :) Some consoles will print output on the error stream in a different colour but you have no control over it. | |
Re: The BDK is dead and burried. Its last version dates from 1997 or 1998. [url]http://java.sun.com/products/javabeans/software/bdk_download.html[/url] notes clearly that it's not working on 1.4 or later. It also lists Windows 95, NT, and Solaris 2.6 as the only valid operating systems to use it on, telling something of its age. It … | |
Re: Well, given that the definition of "planet" isn't set in stone there's bound to be people (including scientists who often have highly inflamable brains) who will argue that these are not planets. There is no limit as to what is a planet described in things like size and orbit. And … | |
Re: You got a lot to learn about multithreading and network programming I see. Your server can accept only a single connection, ever. Your client waits forever for input and as soon as it gets anything closes the stream. |
The End.