Skip to main content

Blog Archive for kirillcool during October 2005

You will chuckle, you will grin and sometimes you will want to laugh. Read this talk delivered by Charles Petzold, the author of "Programming Windows" book (and 12 other Windows books). Charles is one of the gurus of Windows GUI programming on C / C++ and lately .Net. After having programmed for about 5 years (three of them exclusive) with Visual Studio 6, i agree with everything he says on...
My previous entry showed the way to provide visual indication of frames with changed content. Based on the suggestions from the comments, this behaviour has been also added to JTabbedPane. Application should set SubstanceLookAndFeel.WINDOW_MODIFIED client property on the tabbed pane's Component (if it's JComponent). The value that corresponds to unsaved state is Boolean.TRUE. See...
Yesterday i have stumbled upon this entry from Apple developer zone. It shows how to indicate that a document window (frame in Swing application) has changed contents. The indication is similar to that of regular Mac application (dark dot in the close button). The way to accomplish this is to put a windowModified client property with Boolean.TRUE value on either the JRootPane or on the...
What would you say if you opened the Options dialog in your application and it looked like this (click to see larger version): I've blogged about adding watermark image before, but pay attention to the buttons. They are shaped like little rhinos. Don't like rhinos (or Beyonce)? No biggie, just change a few VM flags and here you go (click for larger view): And now to the reason why would you...
I was watching one of the Monday night NFL games that i have on tape. It was a Packers vs. Bears from three years ago. Bears had a lousy night with three interceptions (one returned for TD), three sacks on defense, fumbled kick return, missed onside kick and a variety of assorted mishaps. They lost 21-34 and went on to have a 4-12 season. One phrase by Madden got stuck with me (guess i missed it...
Does the following look familiar (under default Ocean theme in Metal LAF)? The menu doesn't look good, with jagged items all over the place. The common solution in this scenario is to use a transparent icon on those menu items that don't have one. There are a few problems with this approach: What happens if you add another menu item with slightly wider icon? You will have to adjust all other...
One of my previous entries was written fresh on the heels of unveiling of the Office 12 UI. A lot of stuff was left unfinished, some of it due to lack of time, and most of it due to lack of information on how this UI really works. So, after reading plethora of information on Jensen's blog, the Java implementation of Ribbon has moved to the second gear. The following points were missing in the...
Substance look-and-feel has reached the 2.0 release, with a lot of new features and a lot of bugs fixed. The brief overview of new features: 13 new themes, including 6 bright, 4 cold and 3 dark themes: Nine watermarks: including image-based watermarks: Color Chooser from Quaqua look-and-feel Striped renderers for lists, tables and combo boxes: Desktop / internal frames enhancements (...