Category Archives: Uncategorized

git showing only one branch (does not show merges between branches)

Problem I am using a great git SourceTree app For some reason even though I have two branches; they were shown a single branch (even when merging). Even though before it showed as two separate branches: Solution The solution was … Continue reading

Posted in Uncategorized | Leave a comment

Gephi (NetBeans) Logging

Gephi reads “gephi/nbproject/gephi.conf” for the runtime options; this is the file where you want append logging options to the “default_options=” e.g. -J-Dorg.netbeans.level=SEVERE Some of the properties don’t seem to get read; so you may consider manipulating some values programmatically, e.g. log.setLevel(Level.ALL); For … Continue reading

Posted in Uncategorized | Leave a comment

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: the done() method … 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 | 1 Comment

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 | Leave a comment

Gephi: Unit Tests (JUnit)

Problem When I created a JUnit unit test for a Gephi’s module (NetBeans) there seemed to be no way to execute it; since the “Test”, “Test File”, “Run File” were all greyed out (disabled). Solution Right click on the module and … Continue reading

Posted in Uncategorized | 3 Comments

Gephi: GraphModel Implementation

It seems that the only class that implements GraphModel (found by “implements*GraphModel*” regular expression) is: DHNS (Durable Hierarchical Network Structure): https://github.com/gephi/gephi/blob/master/DHNSGraph/src/org/gephi/graph/dhns/core/Dhns.java Update: I have created a jgrapht-gephi library that works well for algorithm-centric tasks.   Keywords: Gephi graph model graphmodel implementation source … Continue reading

Posted in Uncategorized | Leave a comment

Graph Algorithms Libraries for Java

    Update: I have created a jgrapht-gephi library that works well for algorithm-centric tasks. Gephi is currently by far the best library for visualizing and interacting with graphs, it also has a large number of algorithms (many of them through plugins). However … Continue reading

Posted in Uncategorized | Leave a comment