Skip to main content

Blog Archive for kirillcool during August 2005

Werner Randelshofer is the developer of very popular Quaqua look and feel. As said on the project main page, Quaqua is focused on fixing minor bugs and glitches in Apple's implementation of the AHIG as well as providing enhancements that make your application fit nicely into Mac OS X. Unfortunately, this excellent look and feel is available for Macintosh only, and until the last release, there...
We are all familiar with custom icons for the webpages that we surf. These icons are shown in the address bar, in tab that shows the page (in Firefox) and in bookmarks. However, i haven't seen a single java.net community, blog or project page that features such an icon (save for the one in the comments :). The reason remains obscure, as all you have to do is a simple one-file upload to your CVS...
We are all familiar with the following straightforward implementation of lazy-loaded Singleton pattern:     public class TestSingleton {  private static TestSingleton instance;  private TestSingleton() {}  public static synchronized TestSingleton getInstance() {    if (instance == null) {      instance = new TestSingleton();...
The early access and weekly builds of JAXB 2.0 have been available for quite a few months now right here on java.net. A few weeks ago JAXB 2.0 made its way to Mustang weeklies. As the minimal JRE requirement for JAXB 2.0 is Tiger (5.0), in case you wish to use it, you have to bundle JAXB 2.0 runtime binaries with your application (unless you are explicitly targeting Mustang). You would expect,...
New web pages fill me up with hopesDistant servers, so many places to goWithout surfing I can't find no restWhere I'm clicking is just Google's guess  I've tried to go on like I never saw it  I'm awake but my world is half asleep  I pray for this message to be unbroken  But all I can see on my screen is that "Page not found"Reason tells me I...
A spurious outburst of "undocumented secret" features of Swing keep popping up lately. The word "undocumented" seems to imply that no official Java documentation on Sun mentions them, and it's only after hours of poring over the JDK code the authors finally distilled these gems. Let's start then? swing.defaultlaf that sets the default look and feel is well documented in UIManager javadocs. The...
Most of the nowadays open-source and commercial products extensively use other products. Although the "not invented here" syndrome is infective, things such as look-and-feel, layout managers, graph libraries, reporting tools etc. are taken from well-known and actively maintained third party sites. These tools come in variety of licenses, most of which require you to include the corresponding...
Half the dynamic XML binding libraries use reflection to marshal Java object trees to XML and unmarshal XML back to objects. These libraries expect to work on JavaBean-compliant classes (or accompanying configuration files), and use reflection heavily both during marshaling (retrieving attributes and elements) and unmarshaling (creating elements and populating attributes). Since reflection is an...
IntelliJ IDEA 5.0 is out, and since one of my projects is on the approved list, I seized an opportunity to start working with it. While some of the features are not for me (such as JSP 2.0, J2ME and CSS support), others come in very handy (one of my favourites is an insanely fast code inspector). One of the features (that was already present before) allows you to switch look-and-feels of the...