Thursday, December 30, 2010

Idea for a new TV Series

A reality show where people come to get rid of their addictions. Smoking , Drinking etc. Users who also want to get rid of these problems register via a web portal and track their addiction status. If they fail their chosen contestant fails. You help the player get rid of addiction and you also get rid of it.

Sunday, December 12, 2010

Jtable inconsistent / wrong data / values when scrolling

Sometimes your jtable shows inconsistent values when you use a scrollbar to scroll . Youcan avoid that by adding the lines below

JScrollBar scrollBar = scrollPane.getVerticalScrollBar();
scrollBar.addAdjustmentListener(new AdjustmentListener() {
public void adjustmentValueChanged(AdjustmentEvent e) {

Setting the limits in Linux permanently app soft nofile   16384 * hard...