Localization in Java

Localization, or internationalization, is important in most languages. What good is an application if it is restricted to your own country because you speak a far from widespread language? And as most languages, Java offers a mechanism to implement it quite easily. I will review here the basics, using Daily Tasks as an example.
Continue reading Localization in Java

Capacitive inputs revisited…

You already know that I am a huge fan of keyboards, with some ideas of my own… I already spoke of capacitive keyboards also.

Well, Synaptics announced new inputs.

The ForcePad

Basically an enhanced trackpad. The main novelty is a variable pressure detection, but it also features a multi-finger detection feature. The pressure is measured for each finger, not as a resultant.

The physical buttons could be removed and replaced with a hard press, thus resulting in thinner pads. So, slimmer laptops, or bigger batteries, … Drawback: we lose the physical sensation of clicking.

As far as I’m concerned, not a problem: I do not use the physical button of a trackpad anymore. With some settings, I have the tap for left-click, tap in pre-defined corner for right-click, move along the edges for scrolling, … Trackpads are great! I only miss not having multi-touch…

Anyway, Synaptics’s video:

[vimeo http://vimeo.com/47329850]

The ThinTouch

I first thought this was a curiosity: ThinTouch is a capacitive keyboard with physical keys. What could be the use?

I already said that I do not believe in flat-surfaced keyboards. Though it might be great to turn a screen into a keyboard with any layout you might need, using it seems impractical to me when you have to use it a lot. I like to feel the keys.

Plus you cannot lay your fingers on the keyboard without activating the keys.

ThinTouch proposes a remedy to these problems. But why, then, use capacitive keys?

First, the keyboard is thinner thus. Combined with the ForcePad, this could be great news for future ultrabooks.

Add to it the pressure-sensitiveness. You could use it to have a upper- or lower-cased character based on the force you apply on the key. Or any other application you might imagine for it.

The video:

[vimeo http://vimeo.com/47458591]

I am growing impatient to see those integrated into new laptops. And to have the occasion to lay my hand on one of these.

[Source: Clubic]

Use attributes and interfaces on Java enums

Most Java developers know of Java enums. Most developers also know that each field of an enum can define its own methods. But even most of those who know that are not aware they can define a contract each field of the enum must implement.

It might seem a useless piece of information. Yet, in my own case, it was really useful to me… Continue reading Use attributes and interfaces on Java enums