Archive for October, 2007

R.I.P., Pushing Daisies (Prehumously)

Saturday, October 13th, 2007

Hmmm… a show that is funny, yet dramatic, creatively visual, and has a quirky premise. How many episodes is Pushing Daisies going to last? Four? Seven? Probably, the network execs (ooooh… those vilifiable executives!) will decide that the show’s budget is too high for the ratings it gets, and will push it to… I dunno… Thursdays at 3 a.m.? Or they could kill it outright by moving it to the Friday night death slot.

And then, of course, the inevitable articles lamenting its death, and possibly pointing to the fan outcry as a possibly means of resurrection. Fifty bonus points to each journalist who ‘creatively’ suggests that maybe the should could make a comeback if only it could use the main character’s power on itself!

Or, they could let a show thrive. I’m not brilliant network executive, with private jets and 3-martini lunches, so I can’t interpret the show’s ratings. Maybe it’s doing spectacularly? It would be a sin to kill a show that started so strong, and has so much room to grow.

It really makes you question the nature of death. Can there be a God when a vile, wretched show like Desperate Hosewives will live, probably forever, sucking the blood of the innocent and sinless shows in its wake, while something as cute as Pushing Daisies is almost certain to kick the bucket.

Blocking JScrollPane arrow keys

Wednesday, October 3rd, 2007

I’m implementing a JPanel inside a JScrollPane, and I want the panel to respond to arrow keys. Unfortunately, pressing arrow keys resulted in the JScrollPane scrolling. If you’re pulling out your hair trying to block JScrollPanes from responding to arrow key events, check out this:

Swing – Disabling of JScrollPane key binding.

Implement this message, and you can prevent the JScrollPane from automatically scrolling.