boolean undecorated) {
MetaData meta = book == null ? null : book.getMeta();
if (meta != null) {
- PropertiesFrame tooltip = new PropertiesFrame(
+ PropertiesDialog tooltip = new PropertiesDialog(
Instance.getInstance().getLibrary(), meta,
undecorated);
return tooltip;
BasicLibrary lib = Instance.getInstance().getLibrary();
BookInfo selected = informer.getUniqueSelected();
if (selected != null) {
- new PropertiesFrame(lib, selected.getMeta(), false)
+ new PropertiesDialog(lib, selected.getMeta(), false)
.setVisible(true);
}
}
*
* @author niki
*/
-public class PropertiesFrame extends JDialog {
+public class PropertiesDialog extends JDialog {
private static final long serialVersionUID = 1L;
private JPanel desc;
/**
- * Create a new {@link PropertiesFrame}.
+ * Create a new {@link PropertiesDialog}.
*
* @param lib
* the library to use for the cover image
* do not draw the usual window decorations
* (close/minimize/maximize)
*/
- public PropertiesFrame(BasicLibrary lib, MetaData meta,
+ public PropertiesDialog(BasicLibrary lib, MetaData meta,
boolean undecorated) {
this.setDefaultCloseOperation(DISPOSE_ON_CLOSE);
this.setUndecorated(undecorated);