X-Git-Url: http://git.nikiroo.be/?a=blobdiff_plain;f=src%2Fbe%2Fnikiroo%2Ffanfix%2Freader%2Fui%2FGuiReaderPropertiesFrame.java;fp=src%2Fbe%2Fnikiroo%2Ffanfix%2Freader%2Fui%2FGuiReaderPropertiesFrame.java;h=0000000000000000000000000000000000000000;hb=d7367179b645781b4e0e4fc24893cb1e6725c14c;hp=9615d757219db1beb2932e876c55462c82b6e0f2;hpb=1387a30ab59dbf4071f2c5e5e0e08ca98c75b726;p=fanfix.git diff --git a/src/be/nikiroo/fanfix/reader/ui/GuiReaderPropertiesFrame.java b/src/be/nikiroo/fanfix/reader/ui/GuiReaderPropertiesFrame.java deleted file mode 100644 index 9615d75..0000000 --- a/src/be/nikiroo/fanfix/reader/ui/GuiReaderPropertiesFrame.java +++ /dev/null @@ -1,40 +0,0 @@ -package be.nikiroo.fanfix.reader.ui; - -import java.awt.BorderLayout; - -import javax.swing.JFrame; - -import be.nikiroo.fanfix.bundles.StringIdGui; -import be.nikiroo.fanfix.data.MetaData; -import be.nikiroo.fanfix.data.Story; -import be.nikiroo.fanfix.library.BasicLibrary; - -/** - * A frame displaying properties and other information of a {@link Story}. - * - * @author niki - */ -public class GuiReaderPropertiesFrame extends JFrame { - private static final long serialVersionUID = 1L; - - /** - * Create a new {@link GuiReaderPropertiesFrame}. - * - * @param lib - * the library to use for the cover image - * @param meta - * the meta to describe - */ - public GuiReaderPropertiesFrame(BasicLibrary lib, MetaData meta) { - setTitle(GuiReader.trans(StringIdGui.TITLE_STORY, meta.getLuid(), - meta.getTitle())); - - GuiReaderPropertiesPane desc = new GuiReaderPropertiesPane(lib, meta); - setSize(800, - (int) desc.getPreferredSize().getHeight() + 2 - * desc.getBorderThickness()); - - setLayout(new BorderLayout()); - add(desc, BorderLayout.NORTH); - } -}