Since 4/27/2012 2:02:10 AM, usenet120 has written 1 articles and participated in 1480 conversations. usenet120 signature: usenet120
usenet120's articles:
Items(1) /1
Serialised applets using the Sun Plug-in232 (11/19/2006 6:47:38 PM) comp.lang.java.programmer Does anyone use serialised applets these days? Or ever did? Everything works fine in the appletviewer, but not under the Sun Plug-In. I have tried using both Opera 9 and Mozilla 1.7 on Solaris, using 1.5.0_0... Thomas
Anonymous inner classes617 (1/24/2007 7:59:56 AM) comp.lang.java.programmer I've been hearing about Java's anonymous inner classes a lot recently. What's the difference between these and closures? -- Dr Jon D Harrop, Flying Frog Consultancy Objective CAML for Scientists http://www.f... jon(3267)
64 bit needs more memory than 32 bit125 (1/24/2007 4:52:11 PM) comp.lang.java.programmer It is clear from writing a simple program that creates Strings, that almost double the amount of memory is necessary when running on a 64 bit jvm (I tried this on windows). Is there any way to reduce the amoun... daniel.shaya1(1)
Dynamic instanceof?545 (1/24/2007 5:01:47 PM) comp.lang.java.programmer Here is what I'm trying to do in code... public DataModel getParentType(DataModel child, Class classType) { DataModel retVal = null; if (child instanceof classType) { retVal = child; } else { th... jason.cavett(211)
Understanding thread behavior222 (1/24/2007 8:06:27 PM) comp.lang.java.programmer I've taken a "deadlock" sample from a java Sun tutorial page and modified it slightly. It's exhibiting some behavior that I find unexpected. Here is the sample code. Keep in mind that it's supposed to deadlock... bobroberts_333(2)
Collections.synchronizedMap - worth using?337 (1/30/2007 7:18:41 PM) comp.lang.java.programmer I've got a map that will be access by multiple threads, so I'm considering using Collections.synchronizedMap to "wrap" it. There will be occasions, though, where I will need to manually synchronize. synch... i.pilcher(163)
invokeLater554 (2/1/2007 5:43:20 PM) comp.lang.java.programmer Can anyone please tell me why my invokeLater in the following code never displays the JFrame I am trying to get it to display, and shows no exceptions either? I am certain I must have somethign stupid and wro... rxv(490)
Question about returning generics519 (2/4/2007 7:24:27 PM) comp.lang.java.programmer Hi, Suppose I have an array of diverse types and I want extract all objects of a certain type (e.g. Date) and return it as a vector of that type. Is it possible to write a function that will return arrays of d... aaronfude(214)
Forcing local scoping254 (2/4/2007 9:30:38 PM) comp.lang.java.programmer Is there any way of forcing local scoping that's a little cleaner than using an anonymous inner class? I need to be able to enforce some before entering block and after entering block actions. Anonymous inner ... jseigh_01(178)
Is the finally block always executed ???918 (2/4/2007 9:46:04 PM) comp.lang.java.programmer Hi, I'm trying to know if the finally block in a try-catch-finally construction is always executed. Throwing another exception inside the catch block doesn't seem to skip the finally block execution. But I don'... n370ku(30)