Monthly Archives: March 2012

NetBeans: No preferred binding

Problem When trying to bind events to a java bean; context menu shows no bindings. Solution Use context menu of the object and select Properties/Binding as show bellow:  

Posted in Uncategorized | Leave a comment

SwingWorker Hanging

My program was hanging; I thought it was caused by the deadlock; but as it turns out it was some exception that was never shown ūüôĀ This particular behavior was explained in this post: A few things to remember, though: … Continue reading

Posted in Uncategorized | Leave a comment

Netbeans: Change dist jar filename

Problem Netbeans has a¬†shortcoming/bug¬†of adding space to the jar names of dist. ¬†Including jars with spaces may prevent them from loading and result in the¬†java.lang.ClassNotFoundException thrown by the¬†java.net.URLClassLoader. Solution To change the filename of the jar files that will be … Continue reading

Posted in Uncategorized | 2 Comments

NetBeans: java.lang.ClassNotFoundException

Problem Getting exceptions: java.lang.ClassNotFoundException starting from ModuleCL java.lang.ClassNotFoundException: org.activeintel.network.optimization.algorithms.GeneticOptimizer at java.net.URLClassLoader$1.run(URLClassLoader.java:202) at java.security.AccessController.doPrivileged(Native Method) at java.net.URLClassLoader.findClass(URLClassLoader.java:190) at java.lang.ClassLoader.loadClass(ClassLoader.java:306) at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:301) at java.lang.ClassLoader.loadClass(ClassLoader.java:247) at org.netbeans.ProxyClassLoader.loadClass(ProxyClassLoader.java:262)   Solution It seemed to be caused by the name of the jar file; in my … Continue reading

Posted in Uncategorized | Leave a comment

Release: jgrapht-gephi library

I have just released a new jgrapht-gephi library

Posted in Uncategorized | 1 Comment