title: Put the knife down and take a green herb, dude. |
descrip: One feller's views on the state of everyday computer science & its application (and now, OTHER STUFF) who isn't rich enough to shell out for www.myfreakinfirst-andlast-name.com Using 89% of the same design the blog had in 2001. |
FOR ENTERTAINMENT PURPOSES ONLY!!!
Back-up your data and, when you bike, always wear white. As an Amazon Associate, I earn from qualifying purchases. Affiliate links in green. |
|
Friday, June 16, 2006 | |
I think I've admitted before that I'm a World of Warcraft addict. I've "frozen" my account, as Blizzard likes to term it, as I finish up some writing that's long overdue. Still, I'm stressed, and stress breeds some sort of therapy via painfully repetitive tasks that slowly progress towards the completion of some task of minor importance. Enter Netbeans, the WoW replacement. Luckily things are not all bad. Thanks to some Swing hacks over on O'Reilly, I've discovered how to make Swing objects partially (or completely) transparent in OS X. I've enjoyed using iTerm on OS X in large part b/c its transparency allows you to get dual use out of your screen real estate. I can hack along merrily in VIm and still see when I get new mail, for instance. Unfortunately I can't check for mail and see if I've gotten a new iChat message, etc. Enter JavaMail and Swing hacks! Okay, what I've got pictured, below, isn't exactly a working app, but does give you an idea of what you can do with a single line in OS X's Java. (That line in this case, btw, is, this.setBackground(new java.awt.Color(.8f, .8f, .8f, 0.3f));.) Check out the corners of jButton1, a button "of correct height" that keeps its rounded look. Smaller and larger buttons on OS X go from the standard look to the more rectangular format of jButton2, which also has some border issues if you look a bit more closely. Still, the return on a single line of code is very nice, if we ignore Apple's penchant for changing Swing and Java behaviour on a dime. As an aside, I'm also still quite impressed with Matisse, Netbeans' new layout manager that finally makes its GUI RAD RAD. Nearly VB-style form creation, and components adjust with form (sorry, Frame) resizes every bit as well as they do in Windows.Forms. A bit processor hungry still, but a great improvement. It's a shame Java is already so far back in the client app race. Messing with event thread jive recently has reminded me of one reason why it'll stay that way for a while yet. posted by ruffin at 6/16/2006 06:41:00 PM |
|
| |
MarkUpDown is the best Markdown editor for professionals on Windows 10. It includes two-pane live preview, in-app uploads to imgur for image hosting, and MultiMarkdown table support. Features you won't find anywhere else include...
You've wasted more than $15 of your time looking for a great Markdown editor. Stop looking. MarkUpDown is the app you're looking for. Learn more or head over to the 'Store now! |
![]() |
|
|