| Thread | Last Post | Replies |
|
| overriding enum constants toString | 11 Aug 2006 00:12 GMT | 1 |
can anybody please point me to some sort of example or documentation for overriding toString for (individual) enum constants. the javadoc indicates that this should be possibly but it is not entirely clear to me how to do so.
|
| How to display a "double" in all its precision??? | 10 Aug 2006 22:23 GMT | 26 |
Here is a code fragment that is very simple... but I can't get it to work! public static void main(String[] args) {
|
| do loop bug? | 10 Aug 2006 18:03 GMT | 14 |
Does this program below indicate to you that there's a bug in java's do loop. Or is it just one of those many traps that I've fallen into and I've only got myself to blame? I was expecting the two loops would behave much the same. Have I been bitten by the optimizer?
|
| Generating semi random numbers | 10 Aug 2006 17:21 GMT | 7 |
I'm doing some load testing and want to generate some numbers within a given range. My problem is that I want most of the numbers to be close to the middle, and only some at either high or low ends of the spectrum eg if the range is 0-100, I want 70% of the numbers to be betwee 40 ...
|
| Image Crop Handles? | 10 Aug 2006 17:01 GMT | 2 |
I have a thumbnail program and was wanting to add a feature that allows the user to crop the images in the app. Right now the images are previewed in as an image icon and wasn't sure it if was possible to add the crop handles somehow. I've seen it on a another app I thought.
|
| JBoss has jar limit ? | 10 Aug 2006 16:12 GMT | 7 |
I've encountered a serious problem in JBoss (because of the compatibility issues we are still using JBoss 3.2.1). After the number of jar files reaches a certain number (in this case 84) adding another jar crashes the server. Some services (like Log4jService) just fail during ...
|
| java.util.TimeZone String representation | 10 Aug 2006 15:48 GMT | 3 |
Having a TimeZone object, is there any convenient way to get its String represnatation in the MS Windows form of "GMT +- HH:MM" . i.e. GMT - 08:00 for TimeZone.getTimeZone("America/Los_Angeles"). Thanks,
|
| How to tell system threshold for Java Heap OutOfMemoryError? | 10 Aug 2006 15:31 GMT | 1 |
Situation: Program using lots of threads, communicating between them with LinkedBlockingQueues. Problem: Unbounded queue throws OutOfMemoryError. How to anticipate/measure system capcity, and ultimately adjust queue sizes as
|
| Intended uses of 1.5 atomics package | 10 Aug 2006 14:33 GMT | 4 |
I, in my naivete, have thought that the classes in java.util.concurrent.atomic were intended for situations like class foo { private int bar=0;
|
| Implementation of SNMP | 10 Aug 2006 12:14 GMT | 2 |
Hi.I need to implement SNMP in a lan for my project using Java.Can anybody help me with it by providing a little guidance.Thanks in advance. Regards,
|
| what does JBOSS GA means? | 10 Aug 2006 11:21 GMT | 2 |
Anyone knows what does JBoss GA means? The latest JBoss application server is jboss-4.0.4.GA.
|
| String Array Manipulation | 10 Aug 2006 09:27 GMT | 2 |
Anyone know how to initialize an array without sizing it first? // This works - returns a list of files and directories File dlist = new File("C:\\"); String[] files = dlist.list();
|
| <logic:empty> tag question | 10 Aug 2006 09:18 GMT | 1 |
In the following code, why it prints "LOGIC: EMPTY" on the console? I expect to see "LOGIC: NOT EMPTY" since ss is not null, and it should pass the test <logic:notEmpty name="ss">. What I am missing here? Please advice. Thanks!!
|
| what is the common practice to deploy a fix in J2EE | 10 Aug 2006 08:56 GMT | 3 |
let's say my web app has 10 modules and I created 10 jars(one jar for each module) instead of 1 big jar; and the JSP's are subdivided into 10 folders. Initially, the app is deployed as one war file. Later, when it's time to apply a fix that affects only one of the jars and one of
|
| Look And Feel | 10 Aug 2006 07:51 GMT | 2 |
Trying to run a swing application. I need to include jar file C:\java\lnfdir\newlnf.jar on my class path. Easy to do if I knew where it was. I'm using Java 1.6 and have searched for the jar file in all the directories under not
|