/**
* Configure a {@link JLabel} with the given colour.
*
- * @param label the label to configure
- * @param color the colour to use
+ * @param label
+ * the label to configure
+ * @param color
+ * the colour to use
*
* @return the (same) configured label
*/
/**
* Set the {@link BookInfo} you want to see displayed here.
*
- * @param info the {@link BookInfo} to display
+ * @param info
+ * the {@link BookInfo} to display
*/
public void setBook(final BookInfo info) {
this.info = info;
name.setText(null);
opt.setText(null);
} else if (info.getMainInfo() == null) {
- name.setText("All the " + info.getType().toString().toLowerCase() + "s");
+ name.setText(
+ "All the " + info.getType().toString().toLowerCase() + "s");
opt.setText(info.getSecondaryInfo(true));
} else {
final String myId = info.getId();
BookInfo current = DetailsPanel.this.info;
if (current != null && current.getId().equals(myId)) {
- return BookBlock.generateCoverImage(Instance.getInstance().getLibrary(), info);
+ return BookBlock.generateCoverImage(
+ Instance.getInstance().getLibrary(), info);
}
return null;