mySaify 8
If you’ve ever tried to run a java program with your windows mobile device you’ll be aware its one of the most difficult tasks. Sun doesn’t officially support windows mobile devices, so you must go to a third party solution. Why hasn’t Sun released an official JVM for ARM pocket PC’s? As you can read in the official Sun forum in the thread Open letter to SUN to produce a JRE for Pocket PC …Unfortunately, since it’s not an officially supported project at Sun (i.e. one that will generate enough revenue based on our projections to cover the costs) it […]

JVM for Windows Mobile (J2ME) // PocketPC – PDA MySaifu


5
When you press the Enter key while in a JTable, you’ll notice how the row selection changes to the next row or to the first row if the former row selected was the last row in the model. You can change this playing with the traversal key policy, but this is quite complicated. The easy way is to consume the event if the enter key has been pressed. You can accomplish this doing the following: [crayon-5a9312703294f338060577/] It’s very important to consume the event during the keyPressed event and not during the other possible keyEvents not doing so will mean that […]

Remove JTable’s Enter Key behavior


JTable Alternate Row Color 7
Java tables are great but complex. The good thing about them is that you can do with them whatever you want. Even more, the view is completely separated from the model so you can even play more. JTables in brief (bad thing) are just a bunch of components put together. So anything you can de to a Component you can do in a JTable. To make a JTable render each row in a different color, you just have to extend the JTable’s prepareRender method. [crayon-5a93127033226752487457/] The above code simply gets the component that was going to be rendered and changes […]

JTable Alternate Row Background



Blojsom Logo 1
This is my first real post after finishing the blojsom setup. It wasn’t the easiest process but the results are quite good. Before choosing Blojsom as the weblog engine I looked at the several alternatives such as Apache roller or Pebble. I finally decided to choose Blojsom because it had an easy install and had support for PostgreSQL. Apache Roller has some more features and is part of the Apache foundation group. But it has a much more complex setup process and has lots of dependencies. Pebble instead is too light weight and doesn’t suffice the requirements for this blog. […]

Blojsom setup finished