Hi! Have anyone ever succeded in making a editable JTable behave properly regarding first keystroke and selection ? What SHOULD happen is as follows: User has selected a cell, with e.g. “Cell 1″ as contents. User press “X”, then the cell should be cleared, and the only contents should be “X”. This is STANDARD editable [...]
Archive for December, 2003
Java IPP and general Merry X-Mas
By Max in JavaIt sure is christmas time now The first OS Java IPP implementation (called Jipsi) have been made available from http://www.lohndirekt.de/software/jipsi_quickstart.html. Great stuff, based/inspired by CUPS – but unfortunately Jipsi is been released under GPL instead of LGPL which makes it impossible for me to use ;( ….but hey, it’s a start Secondly, JGoodies have showed [...]
EventHandler.java is Good but not perfect
By Max in JavaJust “discovered” the newly (in JDK 1.4) added java.beans.EventHandler which allows you to do stuff like: but.addActionListener( (ActionListener)EventHandler.create(ActionListener.class, target, “myButtPressed”, “”)) which when but is pressed the method called setMyButtPressed(ActionPerformed event) will be called. This stuff actually safes alot of typing AND memory usage + even gain some performance if the HotSpot is nice to [...]