NullPointerException Does java NullPointerException always cause crash? Thanks. ... 26 Feb 2010 15:19
Comparable loses its interface powers. If Comparable were just an ordinary interface you could say things like this: Comparable a = "abc"; Comparable b = Double.valueOf ( 10.0d ); Comparable c = Double.valueOf ( 12.9d ); int x = b.compareTo( c ); But generics butt in and it seems to be impossible to keep around arrays of Comparables for sorti... 27 Feb 2010 07:42
Java crash I have java program that keeps crashing. Below are the errors in log: --------------- T H R E A D --------------- Current thread (0x10924400): JavaThread "Thread-1" [_thread_in_native, id=2220, stack(0x10b50000,0x10c50000)] siginfo: ExceptionCode=0xc0000005, reading address 0x223d6574 Registers: EAX=0x... 25 Feb 2010 19:22
Does launching an applet via JNLP work on Linux at all? My applet is launched using a JNLP file (by specifying the jnlp_href parameter in deployJava.js) and this is working very nicely on most browsers on Windows but when I tried it on Linux (Ubuntu 9.10 and Firefox 3.5.7) it doesn't launch with the error being that it was unable to find the applet class (ClassNotFo... 28 Feb 2010 04:32
Testing Java I'm worried that my knowledge of industry standard testing procedures for Java is getting a bit out of date. Can anyone refer me to a website that focuses on testing for Java code and that describes the best practices and tools for doing that testing? I am a one-man development team at the moment and I want t... 25 Feb 2010 13:40
Java Swing Question: Robot Screenshot does odd things when close to the mouse cursor Makes sense to me. I guess you'd get the same effect by looking at two mirrors lined up opposite each other. As for your words of advice, it just would be nice to something in pure java, because the product is supposed to be run on a variety of platforms. So, the alternative is to say: if we're on windows ... 23 Feb 2010 15:50
Java Swing Question: Robot Screenshot does odd things when closeto the mouse cursor George Weis wrote: Hi: I'm trying to write a simple screen enlarger. The basic algorithm is this: a.) Get current mouse coordinates. b.) Take a screen shot using a rectangle consisting of (mouse X, mouse Y, 150, 150) c.) Create a new scaled image from the screen shot with a height and... 23 Feb 2010 14:41
Java Swing Question: Robot Screenshot does odd things when close to the mouse cursor Hi: I'm trying to write a simple screen enlarger. The basic algorithm is this: a.) Get current mouse coordinates. b.) Take a screen shot using a rectangle consisting of (mouse X, mouse Y, 150, 150) c.) Create a new scaled image from the screen shot with a height and width of 300. This should "zoom" ... 23 Feb 2010 15:50
Error message I can't figure out I'm running a J2EE app in Weblogic. The app works, but I keep getting this error on the console: java.rmi.MarshalException: failed to marshal update(Lweblogic.cluster.replication.ROID;ILjava.io.Serializable;Ljava.lang.Object;); nested exception is: java.io.NotSerializableException: java.util.TreeMap$Valu... 27 Feb 2010 00:11
UDF-8 Reading for URL - not working Hello all, I have a problem, when i read a webpage contents (with UTF-8 characterset) and try to display it.. it is just considered as unicode string please help me here is the code import java.net.*; import java.io.*; public class URLReader { public static void main(String[] args) throws Excepti... 23 Feb 2010 20:29 |