Java Tips Weblog

Archive for the ‘Uncategorized’ Category

Chaining Document Filters

Posted by Rob Camick on October 18, 2009

A previous entry on Text Validation briefly mentions why you should consider using DocumentFilters. A limitation of a DocumentFilter is that you can only add a single filter to the Document. There may be times when you need to filter on multiple conditions. Of course you can always create a new filter and combine the code for multiple filter conditions. However, an easier approach would be to reuse existing filters. That is, it would be nice to be able to chain multiple filters together to act as a single filter.
Read the rest of this entry »

Posted in Classes, Swing, Uncategorized | Leave a Comment »

Recent Updates

Posted by Darryl Burke on December 29, 2008

Thanks for the various comments. We’ll try to keep you updated here when changes are made to the code so you can get a new copy.

If you are interested in receiving an RRS feed whenever this posting is updated click on the “Read the rest of this entry” link below for more information on how to do this.

November 1, 2009 – Screen Image
  • added better support for creating images on non displayed components
  • fixed the API by removing the writeImage() code from the createImage() methods.
October 20, 2009 – Moving Windows
  • fixed a flickering problem when used in Linux as described by Allen in the first comment
October 18 6, 2009 – Card Layout Actions
  • implemented the suggestion made by Andre in the first comment

Read the rest of this entry »

Posted in Uncategorized | 13 Comments »