| Thread | Last Post | Replies |
|
| How to return a generic array | 08 May 2007 18:31 GMT | 1 |
I found that I can create a generic array and fill it with some data, but I cannot return it. What is going on? The example below throws ClassCastException: public class Test {
|
| Deadly Libs | 08 May 2007 17:39 GMT | 4 |
i would like to hear some thoughts about a problem i stumbled upon while thinking about writing a modulebased software. Following situation: I got a main functionality coded in a Java program. (JSE or JEE doesnt matter, i think)
|
| J2ME Location API for retrieving Cell-ID and LAI | 08 May 2007 16:19 GMT | 1 |
Hello all!!!! I want just to ask whether it is possible to retrieve GSM information such as Cell-ID and LAI using the "new" location API for J2ME. I have read on different newsgroups that it is possible to get the
|
| hibernate log error | 08 May 2007 16:19 GMT | 4 |
Maybe some of you can enlighten me, after having an app runing for a long time I ve got this errors in my log. 2007-05-01 21:55:01,523 3123042484 ERROR [DefaultQuartzScheduler_Worker-9]
|
| Stupid dialog closing question | 08 May 2007 16:03 GMT | 8 |
Hi cljp, I've hammered my brains on it but I can't seem so figure out why this dialog doesn't close after pressing "Save", or "OK". What do I need to do to auto close this dialog after pressing a button?
|
| How to compare two ArrayList of string? | 08 May 2007 15:21 GMT | 14 |
If I have two ArrayList of String of the same number of elements, can I do comparison? I want them to be equal as long as they contain the same elements. I don't care the order of the elements.
|
| enhanced for loop | 08 May 2007 13:41 GMT | 13 |
Why did they decide to restrict the variable scope for enhanced for loops? It is handy sometimes to have the extra scope. This won't compile: String[] strings = {"foo"};
|
| bounded generic problem | 08 May 2007 13:32 GMT | 3 |
I've written a class SPF to implement Dijkstra's Shortest Path First algorithm using bounded generics to allow the user to supply his own objects for vertices and edges of the graph, where those objects must implement interfaces SPFVertex and SPFEdge. I have it working,
|
| How to write Array of Object to a file? | 08 May 2007 13:10 GMT | 6 |
I have an array of objects: Student[] studentarray; how do I save studentarray to file? David.
|
| similar interchangeable type with both singleton and instance objects | 08 May 2007 07:20 GMT | 2 |
thanks in advance. I have a situation in which I need a singleton to which multiple tasks write. I implemented it as signlton with bunch of static (yeeha) methods.
|
| JNI Loading a Library 2 times | 08 May 2007 05:33 GMT | 7 |
I have an old Fortran exe that runs a tank model. I am having good success converting this Model to a dll and then loading the dll in Java using "System.loadLibrary". and then accessing the Fortran with a c wrapper generated with javah.exe
|
| Servlets and objects | 07 May 2007 23:47 GMT | 16 |
A strange question maybe... but is a java servlet classified as an object?
|
| Controlling an app server programmatically... | 07 May 2007 23:36 GMT | 3 |
My need is for JBoss, but the solution might not be container- specific. What is the method/approach to programmatically configuring a container from an application inside that container? For example,
|
| How to disable part of the super constructor in Java? | 07 May 2007 22:06 GMT | 2 |
I am writing a test system in Java. According to my current design, True/False question is a sub class of multiple choice question. I have a problem here:
|
| Query:What's the difference between executable file and binary file? | 07 May 2007 21:33 GMT | 5 |
I offen hear about executable file and binary file while learning java ,what's the difference between them? Thanks in advance! Dowson.
|