5,727 Posted Topics

Member Avatar for freesoft_2000

[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 …

Member Avatar for jwenting
0
142
Member Avatar for freesoft_2000

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 …

Member Avatar for Kate Albany
0
234
Member Avatar for vps

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 …

Member Avatar for jwenting
0
280
Member Avatar for piy_123
Member Avatar for MastaPho

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 …

Member Avatar for server_crash
0
87
Member Avatar for chiwawa10

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 …

Member Avatar for jwenting
0
446
Member Avatar for freesoft_2000

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 …

Member Avatar for alpha_foobar
0
109
Member Avatar for shashankk

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 …

Member Avatar for kc0arf
0
385
Member Avatar for dummy00

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 …

Member Avatar for server_crash
0
135
Member Avatar for moderate_rock48

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.

Member Avatar for dcc
0
121
Member Avatar for Damon999

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.

Member Avatar for Thong_Ispector
0
196
Member Avatar for Eve

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.

Member Avatar for Eve
0
73
Member Avatar for sunandoghosh

Well said Catweazle, though there's an even simpler (and decidedly failsafe) method: stenography. Just learn to write faster ;)

Member Avatar for Catweazle
0
381
Member Avatar for princeinc

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 …

Member Avatar for freesoft_2000
0
119
Member Avatar for switty

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").

Member Avatar for switty
0
192
Member Avatar for indianscorpion2

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. …

Member Avatar for proghelper
0
130
Member Avatar for iamthwee

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.

Member Avatar for proghelper
0
383
Member Avatar for rudeboy
Member Avatar for rudeboy
0
470
Member Avatar for bumsfeld

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 …

Member Avatar for mmiikkee12
0
106
Member Avatar for Clint1982
Member Avatar for Clint1982
Member Avatar for cancer10

Nice photoshopping. Now without Photoshop: [url]http://www.usefilm.com/image/894242.html[/url]

Member Avatar for server_crash
0
140
Member Avatar for visual one

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 …

Member Avatar for server_crash
0
432
Member Avatar for dummy00

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 …

Member Avatar for proghelper
0
108
Member Avatar for Sailor_Jerry

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 …

Member Avatar for proghelper
0
202
Member Avatar for SilentJon

idiots... Just another "I hate Microsoft because Microsoft is a Big Corporation and all Big Corporations are Evil" group.

Member Avatar for server_crash
0
597
Member Avatar for freesoft_2000

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.

Member Avatar for jwenting
0
400
Member Avatar for vps

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 …

Member Avatar for jwenting
0
171
Member Avatar for randallnefdt

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 …

Member Avatar for Daishi
0
283
Member Avatar for ayk-retail

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)...

Member Avatar for jwenting
0
155
Member Avatar for Mahen

who is "u"? who is "i"? Use real English in writing and you might understand what others write as well.

Member Avatar for Stoned_coder
0
254
Member Avatar for numan

[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 …

Member Avatar for jwenting
0
109
Member Avatar for RITZY_G

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 …

Member Avatar for jwenting
0
152
Member Avatar for chound

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 …

Member Avatar for MartyMcFly
0
245
Member Avatar for ingeborgdot@yah

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.

Member Avatar for JANINE
0
60
Member Avatar for Beavit

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).

Member Avatar for jwenting
0
3K
Member Avatar for sam1

it means [code]if (x > rect.x) { left = x; } else { left = rect.x; }[/code]

Member Avatar for jwenting
0
98
Member Avatar for JavaFish

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 …

Member Avatar for hjangel
0
444
Member Avatar for faisyshah

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.

Member Avatar for tayspen
0
448
Member Avatar for vegaseat

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.

Member Avatar for YoungCoder
0
681
Member Avatar for freesoft_2000

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 …

Member Avatar for DeepZ
0
322
Member Avatar for dmart

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).

Member Avatar for freesoft_2000
0
151
Member Avatar for freesoft_2000

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 …

Member Avatar for freesoft_2000
0
367
Member Avatar for JavaFish

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.

Member Avatar for JavaFish
0
121
Member Avatar for ! !

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 …

Member Avatar for jwenting
0
165
Member Avatar for Decessus

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 …

Member Avatar for jwenting
0
209
Member Avatar for Rete

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.

Member Avatar for jwenting
0
130
Member Avatar for emman

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 …

Member Avatar for emman
0
208
Member Avatar for ! !

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 …

Member Avatar for jwenting
0
235
Member Avatar for Ghost

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.

Member Avatar for freesoft_2000
0
278

The End.