Java musings