| Thread | Last Post | Replies |
|
| triangular array and matrix in Java VS C | 26 Oct 2006 18:18 GMT | 5 |
Hi, if in Java we can create a triangular array like in the following listing: int a[][] = new int[2][]; a[0] = new int[3]; // 3 cols
|
| unchecked conversion problem | 26 Oct 2006 16:07 GMT | 6 |
I have finally been allowed to upgrade to Java5 and I just finished fixing some 1200 parameterization warnings which has really improved the code. I have one, ONE, left and I'm not sure it can be fixed. I have the following object heierarchy;
|
| BNF representation of the java 1.5 langauge? | 26 Oct 2006 15:51 GMT | 6 |
Does anybody know if there is an BNF or similar description of the java language available out there? I am looking to improve my java development environment (Emacs with Jdee), and I thought a good solution to improving it is by adding support for real-time syntax parsing of the
|
| Problems configuring a <Context> path="xx" on Apache/Tomcat | 26 Oct 2006 13:41 GMT | 4 |
I'm running Apache 2.0, Tomcat 5.5.17, jdk 1.5 I'm upgrading from Apache 1.3 Tomcat 3.* jdk 1.4 In my Apache log file I have the following: JkMount /manager* foo
|
| Question regarding using label for break, continue flow control | 26 Oct 2006 12:43 GMT | 2 |
I need to use break and continue to transfer my program flow. I hope to use labels to explicitly state where the control flow will be, as suggested by somebody in the newsgroup. I have noticed something strange: block1:
|
| Associating additional data with Future object | 26 Oct 2006 12:18 GMT | 1 |
I've utilized Consumer/Producer pattern together with CompletionService from java.util.concurrent package. Delegator class delegates (in its thread) tasks to producers by use of CompletionService:
|
| wildcard generics | 26 Oct 2006 12:14 GMT | 4 |
What is the difference between List<Whatever> and List<? extends Whatever>?
|
| Pedantic JNI question | 26 Oct 2006 11:28 GMT | 10 |
I'm just trying to do the job properly and the correct answer is not obvious to me in the documentation. a-If I call GetByteArrayRegion I should later call ReleaseByteArrayRegion. b-If an exception is thrown then the only functions that it is safe to call
|
| How to get a handle for an EJB ? | 26 Oct 2006 11:14 GMT | 6 |
http://java.sun.com/j2ee/sdk_1.3/techdocs/api/javax/ejb/EJBHome.html void remove(Handle handle) Remove an EJB object identified by its handle. i see there is a handle for a EJB passed into remove() method ?
|
| whats the difference | 26 Oct 2006 10:49 GMT | 3 |
the following methods are called in creating a seesion bean instance newInstance(), setSessionContext(), ejbCreate() i dont understand the difference between newInstance() and ejbCreate() it seems both of them are same.
|
| JTable setValueAt problem | 26 Oct 2006 10:37 GMT | 7 |
I have created a table, JTable with DefaultTableModel and ScrollPane, and I have 5 columns and 5 rows. I wanted my rows to be empty at start of application, and later to fill the rows with some values. But the problem shows when I try to to that. I use setValueAt(Object,int,int)
|
| Domain coloring | 26 Oct 2006 08:05 GMT | 1 |
Very new to java, working my way through JavaIn21Days. I'd like to draw this image using Java: http://www.mai.liu.se/~halun/complex/pics/scheme_arg.jpg Can anyone help with some example code that will create this image?
|
| how to switch between forms... | 26 Oct 2006 05:54 GMT | 1 |
I am making an App which involves 3 forms..I am not able to switch from one to other form.As i fill the user details on first form,press ok..i need to switch to other form.I use mDisplay.setCurrent(Form1);
|
| Method naming convention required | 26 Oct 2006 05:22 GMT | 31 |
In Ruby, a method that modifies the instance using it is suffixed with a '!'. E.g. someString.reverse() returns a String with a reversed result, however, someString.reverse! reverses the result of someString.
|
| JNI allocate array of arrays of primitive | 26 Oct 2006 04:28 GMT | 1 |
How, in JNI, can I allocate an array of arrays of primitives? The problem I am having is in finding a suitable class pointer to pass to NewObjectArray. I can use java/lang/Object but I was wondering if I could get slightly
|