Category: Java
I tried a few hours to solve the following problem: having a class named Group that has zero or more roles , where each role is a String, and the mapping is the following:
<set
name="roles"
table="GROUPROLES"
lazy="true"
<key column="GROUP"/>
<element...
I have reported a bug when using a glasspane to show the wait cursor and it has been approved . The problem is that the cursor does not change when the glasspane is used in a JDialog with no parent window.
I am not a fan of the usage of notebook like widgets because I think that they tend to make the application interface cluttered, I prefer wizard like structures, but sometimes they are the best solution available. In Java this kind of component is called a JTabbedPane
For some reason when...
Now that many Linux distributions are packaging updated versions of GCJ , Eclipse and Java-GNOME , never has been so easy to develop GNOME applications using Java. I am using Fedora Core 4 and for this little tutorial you must have installed:
eclipse-jdt
libgtk-java...
A good programmer using Swing knows that long operations must be executed outside the Swing event dispatch thread, and there are many utlities to do that like the SwingWorker class. One of the problems that arises when another thread in opened to do processing is that sometimes is needed to...