Android Chess Clock 1.0-b5 released

Today I released minor upgrade of Android Chess Clock. Major features implemented: “Click” sound when players swapped Application should be available also for devices like HTC Tattoo (explicit declaration of small screen support in AndroidManifest.xml) Minor redesign of about screen Updated Android Market text.

Read the rest of this entry »

Android Chess Clock 1.0-b4 released…

I’m happy to announce that next release of Android Chess Clock was released today. For me it is important release as this is first one that I tested on my own Android Phone. There are many new features. Screenshots of new features Selection of calculation methods Bronstein time control configuration New Icon Full new features […]

Read the rest of this entry »

Android Chess Clock 1.0-b3 released today

I have released next version of Android Chess Clock. Major change is refactoring of calculation engine to support multiple calculation strategies in future. Although this change is not visible for user today it is investment for future. Screenshots Major changes in this release slight screen design graphic improvement added different layout for landscape screens when […]

Read the rest of this entry »

Android Chess Clock 1.0-b1 released…

I’m happy to inform you that first beta version of Android Chess Clock was released to Android Market, filed under category Games/Brain and Puzzle. Application is currently fairly simple (as you can see on screenshot) but works: Main features supports Android 1.5+ players alternate by taping anywhere on the screen supports small QVGA screens as […]

Read the rest of this entry »

Netbeans performance problem: JPanel form is much slower if running inside RCP

Last week I was fighting with very strange performance issue. We have quite complicated JPanel form and I was doing some performance opmtimization. I thought that it is now OK, but when then same form was executed as component inside NetBeans Rich Client Platform, it was horribly slow.

Read the rest of this entry »

How to submit Bugzilla bug using XML/RPC and pure Java

Our project uses Bugzilla for tracking issues. I was looking for solution how to submit occured exception programatically. I found quite simple solution using Groovy and I have adapted it to pure Java. Here is the source code: import; import; import java.util.HashMap; import java.util.Map; import org.apache.commons.httpclient.HttpClient; import org.apache.xmlrpc.XmlRpcException; import org.apache.xmlrpc.client.XmlRpcClient; import org.apache.xmlrpc.client.XmlRpcClientConfigImpl; import […]

Read the rest of this entry »

How to extract list of packages from JAR file

I’m currently working on some project using NetBeans Platform. This project need to have list of public packages from the jar in configuration file. So I write this quite simple code to do it manually unzip -vb commons-beanutils-1.8.0.jar | grep 00000 | cut -c 59- | grep -v META-INF | tr / . | awk […]

Read the rest of this entry »

How to detect that my operating system is running under VMWare?

We had trouble with some server (it had strange variations of performance but load and other metrics was OK) and got suspicion that it is no real Linux box. To prove this theory I was looking for some trick how to detect whether it is running under VM Ware. I found one kind of detection using CPU […]

Read the rest of this entry » – What do values create, create-drop, update and validate mean?

I was looking into documentation for Hibernate for the meaning of these options. Unfortunately it is not written there. I found explanation on Eyal Lupu’s blog… 🙂 Enjoy…

Read the rest of this entry »

Java: How to display incomplete stacktrace?

A few days ago we met some issue and there was huge stacktrace finishing with … 20 more. We was disappointed that we cannot see real cause of the exception because we thought that Java is hiding most important exception details. But in fact, there is nothing hidden, it is just misunderstanding of the stack […]

Read the rest of this entry »