remove reader ui/tui
[fanfix.git] / src / be / nikiroo / fanfix / reader / ui / GuiReaderPropertiesFrame.java
diff --git a/src/be/nikiroo/fanfix/reader/ui/GuiReaderPropertiesFrame.java b/src/be/nikiroo/fanfix/reader/ui/GuiReaderPropertiesFrame.java
deleted file mode 100644 (file)
index 9615d75..0000000
+++ /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);
-       }
-}