| Thread | Last Post | Replies |
|
| CommPortIdentifier incorrectly lists available COM ports | 09 Nov 2006 16:54 GMT | 2 |
I have some code (in an OSGi bundle) which uses a CommPortIdentifier object to enumerate the available COM ports on a Windows XP system (Dell Latitude laptop). With portList being an Enumeration object, it sets:
|
| jndi configuration in tomcat | 09 Nov 2006 15:29 GMT | 1 |
I need steps an code to configure jndi in tomcat 5.5. Thanking you Rahul
|
| list of loop objects... | 09 Nov 2006 15:29 GMT | 9 |
Hi,, I'm learning Java,, and I was trying to creat a function that performs a three-level nested loop and returns a list of loop objects indicating progress through the loop,,but when I ran this code:
|
| Pointcut for main method | 09 Nov 2006 14:52 GMT | 2 |
I'm making some exercises to learn AspectJ and I'm not able to define a pointcut that captures the main method. public aspect Test { pointcut callStatic() : call(public static void *(..));
|
| Regular Expression | 09 Nov 2006 14:22 GMT | 1 |
Why do this regular expression not work: if (str.matches("^\\d*$") || str.matches("^\\d*" + dot + "$") || str.matches("^\\d*" + dot + "\\d*$")) { return true;
|
| difference between jdk1.5.06 and jdk1.5.02 | 09 Nov 2006 13:28 GMT | 5 |
i encountered an interesting problem during my s/w development, I had some calulation part whose result is a double value.The result is different on difeerent versions of jdk (jdk1.5.06 and jdk1.5.02). thanks in advance
|
| how to implement association relationship in Java | 09 Nov 2006 13:24 GMT | 5 |
I want to implement as association relationship in Java. I understand the implementation for this kind of relationship is called "containment". However, I can not find the code for this on the internet. From what is explained on the internet, I believe the code would look ...
|
| jTree beginner | 09 Nov 2006 12:31 GMT | 1 |
Hi, I'm a java beginner. I'd like to ask about jTree. When I put it on my form (NetBeans) it has some roots and nodes. How should I clear it? I'd like to have a clear, simple jTree, I will fill it lately. Thanks,
|
| Thread throwing an Exception | 09 Nov 2006 12:26 GMT | 1 |
Hello, I got this code from David Reilly's site. What this prog does is terminate the prog after a specified time. What I want to do is just throw an Exception to be caught by other java programs. I tried to throw an exception in timeout (ex. timeout() throws Exception) and run
|
| Why no close() method for the File object ? | 09 Nov 2006 12:22 GMT | 9 |
I am using the File object in an app. I noticed there is no close() method for it. Why not ? What am I missing ? Does Java just rely on the object going out of scope to close the file ? Or does one only have to close the stream associated with the file ?
|
| Top mathematician cracks any lottery | 09 Nov 2006 11:39 GMT | 1 |
Every one has played the Lottery, yet that elusive big win, or even small profitable one, continues to elude us... apart from the very lucky few! It's time to reduce the gamble; it's time to sway the odds in YOUR
|
| Design of XML log | 09 Nov 2006 11:37 GMT | 8 |
i have a big design problem. Until today, we had a text log system, wich worked pretty good. But we decided to use XML for several reasons. This change is a lot more complicated than we thought. The thing is that in XML, you can't juste append some text, you need to repect a DTD. ...
|
| Maven - application configuration | 09 Nov 2006 11:31 GMT | 1 |
I have standard maven directory structure for my modular java project: doss-client/ doss-client/doss-client-common/ - common module for application doss-client/doss-client-watchdog/ - some other modules
|
| unchecked call to compareTo(T) | 09 Nov 2006 10:23 GMT | 12 |
I was just wondering how I might get rid of this error.. can't seem to figure it out. the error: warning: [unchecked] unchecked call to compareTo(T) as a member of the
|
| AXIS soap processor - hello world example for WSAD | 09 Nov 2006 09:07 GMT | 6 |
i am working on a project which involves the task of converting a soap/xml data to java object. i wish to do this using AXIS. can any one suggest how to "get started" with AXIS soap processor. a reference for "hello world" example using AXIS in websphere (WSAD 5.1) will be very
|