| Thread | Last Post | Replies |
|
| How to show java heap space | 30 Jun 2008 19:13 GMT | 3 |
I'm a java newbie and i've got a little question. how do i show java heap space on console? SLES 9 Java 1.4.2
|
| Java versus .NET | 30 Jun 2008 12:46 GMT | 3 |
I am considering learning Java or .NET programming, but would like to know what may be any significant advantages or disadvantages of each. For instance, I would like to develop online applications to function like desktop applications, especially a word processor. I know PHP,
|
| how to delete a JList element | 30 Jun 2008 08:09 GMT | 16 |
I don't see why I'm getting "cannot find symbol" because this JList uses a DefaultListModel, for the time being, which certainly has the missing method: init:
|
| Creating a array class for a given class name | 30 Jun 2008 07:58 GMT | 3 |
I'm currently using the following code to load a array class for a given class name: Class<?> clazz = Class.forName(className); clazz = Array.newInstance(clazz, 0).getClass(); I don't like instantiating the array, so my question is: Is there a better way
|
| X.509 cert not exporting CA chain? | 30 Jun 2008 01:26 GMT | 6 |
Got an X.509 certificate from Thawte. Manipulated it as described here: http://www.dallaway.com/acad/webstart/, so that now the CA reply is in my "keystore.ks".
|
| Newbie - I don't understand interface Serializable | 29 Jun 2008 04:38 GMT | 5 |
The interface Serializable does not have any methods or variables. If I create a subclass of an Object class - is this class Serializable? For example, let say I define:
|
| Throwing Close To the Edge: a micro quiz for newbies. | 27 Jun 2008 15:17 GMT | 2 |
Here are some questions for newbies on the throws clause you apply to a method. The quiz consists of 9 true-false questions. This is open-book. You can read the JLS or perform compiler experiments. Post your answers if you are feeling brave.
|
| path to libraries for netbeans project | 26 Jun 2008 20:08 GMT | 2 |
If I'm adding a library such as JDOM, where does it go? "Wrapping the Libraries You could bundle the entire Feed Reader application into a single module. However, the application needs the Rome, Rome Fetcher, and JDom libraries:
|
| normalisation of object design? | 26 Jun 2008 17:48 GMT | 2 |
just a quick question, would it be ill-advised to, to a certain extent, normalise an object model? E.g. say I am crawling many websites and retrieve documents and urls to keep in a memory cache. So I create an url object for each url. When parsed, many of the urls would have same ...
|
| How come I can't seem to load a jar file successfully? | 26 Jun 2008 15:36 GMT | 16 |
I'm probably going to kick myself, but here's what's happening. The referenced jar has the AsyncTimeoutException class. jim@blackie:~/panel$ jar tf /opt/jdk1.5.0_15/jre/lib/ibmaio.jar | grep AsyncTimeout
|
| SSCCE compile checker (example of JavaCompiler) | 26 Jun 2008 11:19 GMT | 4 |
Here* is some example code that helps check if a 'single file' SSCCE is actually what it claims to be! * See: Example code for java compiler (with a simple GUI) <http://forum.java.sun.com/thread.jspa?threadID=5305018>
|
| Regular expression pattern for matching end of a URL | 24 Jun 2008 22:06 GMT | 6 |
I am working on a simple method that will assign a specific extension (e.g. ".jsp", ".php", ".cfm", etc.) to the end of a URL if it doesn't find anything marking a valid extension, however, I do not want to add an extension if one is found.
|
| passing generics | 24 Jun 2008 20:02 GMT | 3 |
"For example, if the department of motor vehicles supplies a list of drivers to the census bureau, this seems reasonable. We think that a List<Driver> is a List<Person>,
|
| set focus | 24 Jun 2008 04:52 GMT | 15 |
I must be doing something wrong, jtextfiledFIleNbr.requestFocus() does not work when executed from focus lost event. How can I cancel focus change? or how can I validate without using focus
|
| String intern question | 23 Jun 2008 22:33 GMT | 14 |
I was reading a bit about Strings intern() and have a question. Comparing the following two examples, what is the difference in practical terms? str2 = str1.intern();
|