Skip to main content

Stephen Friedrich

Stephen Friedrich is a senior software engineer at Fortis IT-Services. He lives in the beautiful city of Hamburg, Germany, with his wife and five cats. Stephen worked his way from financial services' mainframe environment through distributed C++ in the telco business and has found his happy home in the Java community about six years ago. He developed special interests in both Java desktop technology and database connectivity while working on a number of commercial Java applications. When not busy coding he is found dancing and teaching Lindy Hop.

 

skelvin's blog

Spice up Text Components with Keyboard Shortcuts

Posted by skelvin on February 14, 2006 at 7:22 AM PST

In a new Swing project I was missing the alternative set of cut/copy/paste shortcuts and also the ability to quickly delete all characters up to the start or end of the current word.
I had done this before, but wasn't able to dig up the code again. Neither did Google find any code I could simply borrow.
So, here's how I implemented those, both for your and for my future reference.

Natural String Order

Posted by skelvin on January 13, 2006 at 6:53 AM PST

Treats contained numbers sensible when comparing strings

Natural Order
(e.g. implemented in Windows XP's file explorer)

Big Severe Logging with Ascii Art

Posted by skelvin on August 24, 2004 at 3:46 AM PDT

A little Java 2D can give your log messages much bigger visibility. Or find yourself your own
excuse to have some fun with ascii art graphics using Java 2D...