First  |  Prev | 
Pages: 1047 1048 1049 1050 1051 1052 1053 1054 1055 1056 1057
try/catch
I hate to bring this up again, but someone is trying to get me to do something I wouldn't normally do. I am being told keep all try blocks to a bare minimum in size. This is leading to methods that have lots of small try/catch constructs sprinkled about. IMHO, it makes the code bulky and less readable than havi... 20 Sep 2005 18:01
Clear Screen???
How can i clear the screen in java? ... 12 Sep 2005 22:24
Type inferencing
Hi everyone, A question about type inferencing in Sun's compiler: I have the following factory method for creating an empty list: public static <E> List<E> list() { return new java.util.ArrayList<E>(); } Now, consider the following method that takes a list of String: private void useStringL... 9 Sep 2005 17:00
Good examples of programming course lecture notes
Hi. I'm about to write some notes for a university level Java programming course, specialising in audio/midi applications. I have quite a bit of experience in designing teaching materials for programming courses in Java and other languages. However, one thing that I've never really felt that I've optimised is the... 25 Sep 2005 08:39
Method chaining with generics
Hi all, Allow my code to explain: Bsc bsc = BscHelper.createBsc(); SiteType siteType = BscHelper.createSiteType(id,name); bsc.getSite().add(siteType); getSite() returns List. It was written without generics in mind. However, I get a warning in eclipse: Type safety: The method add(... 5 Sep 2005 21:08
finalize() not guaranteed to be called -- ever
According to: http://www.unix.org.ua/orelly/java-ent/jnut/ch03_03.htm that says in part: The Java interpreter can exit without garbage collecting all outstanding objects, so some finalizers may never be invoked. Is this still true in Java 1.4 and later? - Paul ... 27 Sep 2005 17:40
overwriting arrays
Hi, When I attempt to overwrite or copy one array to another, using something like : array1 = array2; then the two arrays seem to become 'linked' or associated with eachother, so that if I made a change to array2 then that same change is also performed on array1. Is this unique to Java?? I have pro... 14 Jun 2005 21:03
Why Generics?
In Java5, the powers that be added generics. Can someone please explain to me what value they add to Java? I think they are one of the biggest (of many big) mistakes in C++. And I always felt that they only reason they were in C++ was because it made the huge mistake of not having a common root for the entire ... 23 Jun 2005 01:45
comp.lang.java.gui FAQ
Archive-name: computer-lang/java/gui/faq Version: $Revision: 1.15 $ Posting-Frequency: monthly Copyright: Copyright (c) 2003, 2004 Thomas Weidenfeller Maintainer: Thomas Weidenfeller. See below for mailing instructions. Last-modified: $Date: 2004/12/08 08:53:16 $ comp.lang.java.gui FAQ ... 12 Mar 2005 00:48
'Unsatisfied Link' error in java.library.path
I'm getting the following error message when I attempt to run an application: java.lang.UnsatisfiedLinkError: no jacob in java.library.path at java.lang.ClassLoader.loadLibrary(Unknown Source) at java.lang.Runtime.loadLibrary0(Unknown Source) at java.lang.System.loadLibrary(Unknown Source) at com.jacob.com.... 14 Feb 2005 19:19
First  |  Prev | 
Pages: 1047 1048 1049 1050 1051 1052 1053 1054 1055 1056 1057