Sea Glass Look and Feel

I’m currently working on getting JTextField to use the client property of “JTextField.variant” equals to “search” to print a rounded search field with an hourglass in it.

My outer glow is messed up, but worse, my internal drop shadow is messed up.

I’m using the Nimbus Effects classes, which I note that Nimbus itself doesn’t seem to use. Possibly for performance reasons. I could just draw the stuff, but then it wouldn’t necessarily work at higher DPI.

Anyway, there are probably more important things I could be working on in Sea Glass, but this is something I really want.

3 Comments

  1. Okay, I’m getting this working. Slowly. It has to do with the way scaling works in Nimbus.

  2. Lars says:

    I have been trying to do that too, but then without the hourglass hehe. Would be great if that’d be optional. I now wrote it myself (so it effectively simply becomes a rounded JTextField)

Leave a Reply to Lars