What happens if you resize the window to a very small window? Is all the text still somehow readable?

For that reason, it doesn't hurt to wrap in
   new JScrollPane(detailPanel, VERTICAL_SCROLLBAR_ALWAYS, HORIZONTAL_SCROLLBAR_AS_NEEDED).