| Thread | Last Post | Replies |
|
| File Locking Question | 30 Jul 2007 18:16 GMT | 16 |
I am trying to use Java's FileLock class to synchronize writing to a file **across machines**. The file resides on a file server. Under Windows, it works perfectly (ie, only one machine at a time can gain access, the others wait,no clobbered file, everything is written in
|
| Problem with FileLock | 30 Jul 2007 18:14 GMT | 12 |
Hi experts, We need to update a file (on a file server) from many different machines. To synchromize the updates I am using FileLock. Everything works as advertised (ie if a machine gets the lock,
|
| Saving canvas | 30 Jul 2007 18:01 GMT | 7 |
Hi. I have a problem with saving canvas to file. All over net there are faqs on how to save a NEW canvas to file (after drawing on it). I have a canvas, what should i do in order to save what's currently on it to a file?
|
| Can One Clip to a Box while Drawing on a <JPanel>? | 30 Jul 2007 17:31 GMT | 1 |
Is there some way to draw on a <JPanel> or write a <String> to it in such a way that only the portion of what I'm drawing or writing that takes place inside a box gets shown? I'd like to have three windows show up in my <JPanel>, and I'd like to draw things to them, but it's
|
| Accessing Files in a JAR | 30 Jul 2007 17:30 GMT | 9 |
I'm wondering if it's possible to directly access files in a JAR. For example, I have a JAR called foo.jar, and inside that JAR is a package called my.foo.package. Within that package, I have an XML file that I need to be able to parse. Before sticking the package in a JAR, I
|
| StreamCorruptedException throw by ObjectInputStream created from FileInputStream | 30 Jul 2007 17:17 GMT | 3 |
Hi, I'm trying to load an object serialized to a file using an ObjectOutputStream. My code looks like this one: 1. FileInputStream fis = new FileInputStream(pwdFileName);
|
| Letter 'L'/'l' suffixed to a number for 'long' type | 30 Jul 2007 16:51 GMT | 5 |
I found in some code the following 'sleep(1000L)': I'd just like to know what padding an 'L' after 1000 does. What would be the difference with a simple 'sleep(1000)' ? Thanks.
|
| Need your favour | 30 Jul 2007 11:30 GMT | 3 |
Hello Friends, I m java developer but right now i have developed one site, please send me some suggestion for my site, so i can make it better http://guruofse.789mb.com/
|
| StreamCorruptedException throw by ObjectInputStream created from FileInputStream | 30 Jul 2007 11:26 GMT | 3 |
I, I'm trying to load an object serialized to a file using an ObjectOutputStream. My code looks like this one: 1. FileInputStream fis = new FileInputStream(pwdFileName);
|
| c and java | 30 Jul 2007 11:24 GMT | 1 |
can any one sugest a simple example how to use a function made in turbo c3 in java?( parameter passing)
|
| validate xml with a dtd in java | 30 Jul 2007 11:20 GMT | 2 |
I am trying to validate an xml file with its DTD in Java using DOM preferably. Can anyone please help me ? Thanks in advance, Mithil
|
| Currency Input Validation | 30 Jul 2007 09:50 GMT | 5 |
I apologise if this has already been covered. How would I validate currency input from a JTextField. For example, to ensure that a currency value was input in a currency format ##.## instead of ####.
|
| Scala | 30 Jul 2007 04:39 GMT | 2 |
How many people here have tried or are using Scala? http://www.scala-lang.org This seems to offer all of the benefits of the Java run-time from a decent language.
|
| Trust additional SSL CA | 30 Jul 2007 03:18 GMT | 1 |
I am working on a project which will use XML-RPC over SSL (https). Unfortunately, the server with which I am communicating has a certificate which is signed with our internal CA key, rather than a standard trusted CA key. For now, I've simply disabled all of the SSL
|
| XPathAPI, or precompiled XPaths | 29 Jul 2007 21:50 GMT | 2 |
I am using XPathAPI class. The problem that I have is that after using XObject object = XPathAPI.eval(node, xpathStr) on 1000 different nodes (same xpathStr), it really becomes very slow.
|