work on new project file backend
[jSite2.git] / src / net / pterodactylus / jsite / gui / FileManager.java
index cb33c11..c961280 100644 (file)
@@ -119,6 +119,12 @@ public class FileManager extends JDialog implements I18nable, ActionListener, Tr
        /** The “file name” textfield. */
        private JTextField fileNameTextField;
 
+       /** The “file size” label. */
+       private I18nLabel fileSizeLabel;
+
+       /** The “file size” text field. */
+       private JTextField fileSizeTextField;
+
        /**
         * Creates a new file manager.
         *
@@ -247,6 +253,12 @@ public class FileManager extends JDialog implements I18nable, ActionListener, Tr
                propertiesPanel.add(fileNameLabel, new GridBagConstraints(0, 2, 1, 1, 0.0, 0.0, GridBagConstraints.LINE_START, GridBagConstraints.BOTH, new Insets(12, 24, 0, 0), 0, 0));
                propertiesPanel.add(fileNameTextField, new GridBagConstraints(1, 2, 1, 1, 1.0, 0.0, GridBagConstraints.LINE_START, GridBagConstraints.BOTH, new Insets(12, 12, 0, 0), 0, 0));
 
+               fileSizeLabel = new I18nLabel("fileManager.label.fileSize");
+               fileSizeTextField = new JTextField();
+               fileSizeTextField.setEditable(false);
+               propertiesPanel.add(fileSizeLabel, new GridBagConstraints(0, 3, 1, 1, 0.0, 0.0, GridBagConstraints.LINE_START, GridBagConstraints.BOTH, new Insets(12, 24, 0, 0), 0, 0));
+               propertiesPanel.add(fileSizeTextField, new GridBagConstraints(1, 3, 1, 1, 1.0, 0.0, GridBagConstraints.LINE_START, GridBagConstraints.BOTH, new Insets(12, 12, 0, 0), 0, 0));
+
                /* glue panel. */
                propertiesPanel.add(new JPanel(), new GridBagConstraints(0, 3, 2, 1, 1.0, 1.0, GridBagConstraints.LINE_START, GridBagConstraints.BOTH, new Insets(0, 0, 0, 0), 0, 0));