| Thread | Last Post | Replies |
|
| MSN/ICQ agent. | 03 Aug 2005 16:31 GMT | 2 |
I want to develop MSN/ICQ agent, when I not in office, it can help me to answer some question automatically. But I don't know how to catch the message of MSN/ICQ. maybe email is ok.
|
| for:each bummer | 03 Aug 2005 15:38 GMT | 5 |
I just discovered you can't use the new for:each syntax here: for ( Enumeration e = zip.entries(); e.hasMoreElements(); ) { ZipEntry entry = (ZipEntry)e.nextElement();
|
| Component that don't resize | 03 Aug 2005 15:29 GMT | 2 |
i'm writing a new component, that would show a recatangle with the same size of the component. The matter is that, when i use the component alone, all works right. When i use with other components the custom component don't resize. What can be the problem? How can i solve it? I
|
| RuntimeException or Error or what? | 03 Aug 2005 14:38 GMT | 2 |
Suppose a class needs data from a resource, i.e. some file alongside in the .jar with the class file. This data needs to be read only ever once, because it is not about to change and is not supposed to change.
|
| What java technology for serialized distributed objects? | 03 Aug 2005 14:26 GMT | 1 |
I recently heard about a java technology which I thought I remembered being called TSON or something similar but was apparently not :-( IT was a method of distributing serialised objects by what looked like a ascii template to me.
|
| sslsocket getInputStream() == Slow ? | 03 Aug 2005 14:05 GMT | 4 |
For SSLSocket, the getInputStream method is very slow, running on XP with jdk1.5 BufferedReader in = new BufferedReader(new InputStreamReader(sslSocket.getInputStream()));
|
| an IntelliJ IDEA question | 03 Aug 2005 13:41 GMT | 2 |
I remembered that I changed the line ediing of my code to unix-like ended line "\n" so that when I opened the source code in UNIX, the code will looks like the same as the code that is opened using IDEA in Windows. I forgot to how I changed that. Anyone know how to do it?
|
| Sockets, writing data and shutdownOutput | 03 Aug 2005 12:59 GMT | 22 |
My client connects to an HTTP server by opening a socket, starting a separate thread to feed it with data and reading the response in the main thread. The feeder thread basically does this:
|
| java unit test | 03 Aug 2005 12:49 GMT | 1 |
i've written a small programme and want to test the main method. the problem is that if the parameters are wrong and the programme terminates, JUnit cannot detect it and the test result would be pass. if i use System.exit(1), JUnit cannot catch the termination status and the ...
|
| Apache Collections -- BoundedFifoBuffer | 03 Aug 2005 09:00 GMT | 1 |
I am using BoundedFifoBuffer from Apache Collection to enqueue and dequeue Minute object (I defined this object). I find there is no contructor in BoundedFifoBuffer that I can pass a Comparator object. If I don't pass a Comparator object, "contains" method in
|
| Clone java collection & static variable?? | 03 Aug 2005 03:42 GMT | 6 |
I have a question with clone() in java collection. Check the following code: import java.util.*; /**
|
| Java and SAX2 | 03 Aug 2005 03:35 GMT | 5 |
I would like to process an XML document with a Java application, utilizing the Apache Xerces SAX2 parser. Based on the name of an element and the value of its specific attributes, I would like to perform some processing on the data that
|
| Java source code | 02 Aug 2005 23:21 GMT | 2 |
Hi, excuse this silly question. I know Java runs on Windows, Unix, mobile phones and other things. But there are different versions to download depending on your operating system. For example, in Windows for full java you get java.exe and
|
| Properties.clone() ? | 02 Aug 2005 23:17 GMT | 5 |
An interface I'm implementing defines an initialize(Properties props) method. To have access later to the parameters I was passed is it better / safer to: * hold a reference to the props instance (via a member variable)
|
| A valid question? | 02 Aug 2005 22:49 GMT | 14 |
6. Using the protected keyword gives a member: a. public access. b. package access. c. private access.
|