File viewer panel control for Swing applications