Made the Specification look like a comment at the bottom of the page, since it cannot...
authorlhauch <lhauch@6f19259b-4bc3-4df7-8a09-765794883524>
Sun, 27 Aug 2006 00:43:05 +0000 (00:43 +0000)
committerlhauch <lhauch@6f19259b-4bc3-4df7-8a09-765794883524>
Sun, 27 Aug 2006 00:43:05 +0000 (00:43 +0000)
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@1390 6f19259b-4bc3-4df7-8a09-765794883524

Tools/Source/FrameworkWizard/src/org/tianocore/frameworkwizard/platform/ui/FpdHeader.java

index f065b8e..6265f27 100644 (file)
@@ -50,6 +50,49 @@ import org.tianocore.frameworkwizard.common.ui.StarLabel;
  **/\r
 public class FpdHeader extends IInternalFrame {\r
 \r
+    private int dialogWidth = 560;\r
+\r
+    private int labelColumn = 12;\r
+\r
+    private int labelWidth = 155;\r
+\r
+    private int buttonWidth = 60;\r
+\r
+    private final int valueColumn = 168;\r
+\r
+    private final int valueWidth = 320;\r
+    \r
+    private final int specWidth = 420;\r
+    \r
+    private int shortValueWidth = valueWidth - (buttonWidth + 5);\r
+\r
+    private final int oneRowHeight = 20;\r
+\r
+    private final int threeRowHeight = 60;\r
+\r
+    private final int fourRowHeight = 80;\r
+\r
+    private final int rowSep = 5;\r
+\r
+    private final int rowOne = 12;\r
+\r
+    private final int rowTwo = rowOne + oneRowHeight + rowSep;\r
+\r
+    private final int rowThree = rowTwo + oneRowHeight + rowSep;\r
+\r
+    private final int rowFour = rowThree + oneRowHeight + rowSep;\r
+\r
+    private final int rowFive = rowFour + threeRowHeight + rowSep;\r
+\r
+    private final int rowSix = rowFive + fourRowHeight + rowSep;\r
+\r
+    private final int rowSeven = rowSix + oneRowHeight + rowSep;\r
+\r
+    private final int rowEight = rowSeven + oneRowHeight + rowSep;\r
+\r
+    private final int rowNine = rowEight + fourRowHeight +  threeRowHeight +rowSep;\r
+\r
+    private int dialogHeight = rowNine + threeRowHeight;\r
     ///\r
     /// Define class Serial Version UID\r
     ///\r
@@ -85,8 +128,6 @@ public class FpdHeader extends IInternalFrame {
 \r
     private JTextArea jTextAreaDescription = null;\r
 \r
-    private JLabel jLabelSpecification = null;\r
-\r
     private JTextField jTextFieldSpecification = null;\r
 \r
     private JButton jButtonOk = null;\r
@@ -96,6 +137,8 @@ public class FpdHeader extends IInternalFrame {
     private JScrollPane jScrollPaneLicense = null;\r
 \r
     private JScrollPane jScrollPaneDescription = null;\r
+    \r
+    private JScrollPane jCopyrightScrollPane = null;\r
 \r
     private JLabel jLabelAbstract = null;\r
 \r
@@ -111,15 +154,11 @@ public class FpdHeader extends IInternalFrame {
 \r
     private StarLabel jStarLabel5 = null;\r
 \r
-    private StarLabel jStarLabel6 = null;\r
-\r
     private StarLabel jStarLabel7 = null;\r
 \r
     private StarLabel jStarLabel8 = null;\r
-\r
-    private StarLabel jStarLabel9 = null;\r
     \r
-    private JTextField jTextFieldCopyright = null;\r
+    private JTextArea jCopyrightTextArea = null;\r
 \r
     private JLabel jLabel = null;\r
 \r
@@ -138,8 +177,8 @@ public class FpdHeader extends IInternalFrame {
     private JTextField getJTextFieldBaseName() {\r
         if (jTextFieldBaseName == null) {\r
             jTextFieldBaseName = new JTextField();\r
-            jTextFieldBaseName.setBounds(new java.awt.Rectangle(160, 10, 320, 20));\r
-            jTextFieldBaseName.setPreferredSize(new java.awt.Dimension(320,20));\r
+            jTextFieldBaseName.setBounds(new java.awt.Rectangle(valueColumn, rowOne, valueWidth, oneRowHeight));\r
+            jTextFieldBaseName.setPreferredSize(new java.awt.Dimension(valueWidth,oneRowHeight));\r
             jTextFieldBaseName.addFocusListener(new FocusAdapter(){\r
                public void focusLost(FocusEvent e) {\r
                    if (!DataValidation.isUiNameType(jTextFieldBaseName.getText())) {\r
@@ -166,8 +205,8 @@ public class FpdHeader extends IInternalFrame {
     private JTextField getJTextFieldGuid() {\r
         if (jTextFieldGuid == null) {\r
             jTextFieldGuid = new JTextField();\r
-            jTextFieldGuid.setBounds(new java.awt.Rectangle(160, 35, 250, 20));\r
-            jTextFieldGuid.setPreferredSize(new java.awt.Dimension(250,20));\r
+            jTextFieldGuid.setBounds(new java.awt.Rectangle(valueColumn, rowTwo, shortValueWidth, oneRowHeight));\r
+            jTextFieldGuid.setPreferredSize(new java.awt.Dimension(shortValueWidth,oneRowHeight));\r
             jTextFieldGuid.addFocusListener(new FocusAdapter(){\r
                 public void focusLost(FocusEvent e) {\r
                     if (!DataValidation.isGuid(jTextFieldGuid.getText())) {\r
@@ -194,8 +233,8 @@ public class FpdHeader extends IInternalFrame {
     private JTextField getJTextFieldVersion() {\r
         if (jTextFieldVersion == null) {\r
             jTextFieldVersion = new JTextField();\r
-            jTextFieldVersion.setBounds(new java.awt.Rectangle(160, 60, 320, 20));\r
-            jTextFieldVersion.setPreferredSize(new java.awt.Dimension(320,20));\r
+            jTextFieldVersion.setBounds(new java.awt.Rectangle(valueColumn, rowThree, valueWidth, oneRowHeight));\r
+            jTextFieldVersion.setPreferredSize(new java.awt.Dimension(valueWidth,oneRowHeight));\r
             jTextFieldVersion.addFocusListener(new FocusAdapter(){\r
                 public void focusLost(FocusEvent e) {\r
                     if (!DataValidation.isVersion(jTextFieldVersion.getText())) {\r
@@ -222,7 +261,7 @@ public class FpdHeader extends IInternalFrame {
     private JButton getJButtonGenerateGuid() {\r
         if (jButtonGenerateGuid == null) {\r
             jButtonGenerateGuid = new JButton();\r
-            jButtonGenerateGuid.setBounds(new java.awt.Rectangle(415, 35, 65, 20));\r
+            jButtonGenerateGuid.setBounds(new java.awt.Rectangle(valueColumn + shortValueWidth + 5, rowTwo, buttonWidth, oneRowHeight));\r
             jButtonGenerateGuid.setText("GEN");\r
             jButtonGenerateGuid.addActionListener(this);\r
         }\r
@@ -293,9 +332,10 @@ public class FpdHeader extends IInternalFrame {
     private JTextField getJTextFieldSpecification() {\r
         if (jTextFieldSpecification == null) {\r
             jTextFieldSpecification = new JTextField();\r
-            jTextFieldSpecification.setBounds(new java.awt.Rectangle(160,328,320,20));\r
+            jTextFieldSpecification.setBounds(new java.awt.Rectangle(labelColumn,rowNine,specWidth,oneRowHeight));\r
             jTextFieldSpecification.setEditable(false);\r
-            jTextFieldSpecification.setPreferredSize(new java.awt.Dimension(320,20));\r
+            jTextFieldSpecification.setPreferredSize(new java.awt.Dimension(specWidth,oneRowHeight));\r
+            jTextFieldSpecification.setBorder(null);\r
             jTextFieldSpecification.addFocusListener(new FocusAdapter(){\r
                 public void focusLost(FocusEvent e) {\r
                     ffc.setFpdHdrSpec(jTextFieldSpecification.getText());\r
@@ -348,9 +388,9 @@ public class FpdHeader extends IInternalFrame {
     private JScrollPane getJScrollPaneLicense() {\r
         if (jScrollPaneLicense == null) {\r
             jScrollPaneLicense = new JScrollPane();\r
-            jScrollPaneLicense.setBounds(new java.awt.Rectangle(160,107,320,80));\r
+            jScrollPaneLicense.setBounds(new java.awt.Rectangle(valueColumn,rowFive,valueWidth,fourRowHeight));\r
             jScrollPaneLicense.setHorizontalScrollBarPolicy(javax.swing.JScrollPane.HORIZONTAL_SCROLLBAR_NEVER);\r
-            jScrollPaneLicense.setPreferredSize(new java.awt.Dimension(320,80));\r
+            jScrollPaneLicense.setPreferredSize(new java.awt.Dimension(valueWidth,fourRowHeight));\r
             jScrollPaneLicense.setViewportView(getJTextAreaLicense());\r
         }\r
         return jScrollPaneLicense;\r
@@ -365,8 +405,9 @@ public class FpdHeader extends IInternalFrame {
     private JScrollPane getJScrollPaneDescription() {\r
         if (jScrollPaneDescription == null) {\r
             jScrollPaneDescription = new JScrollPane();\r
-            jScrollPaneDescription.setBounds(new java.awt.Rectangle(160,243,320,80));\r
+            jScrollPaneDescription.setBounds(new java.awt.Rectangle(valueColumn,rowEight,valueWidth,fourRowHeight));\r
             jScrollPaneDescription.setHorizontalScrollBarPolicy(javax.swing.JScrollPane.HORIZONTAL_SCROLLBAR_NEVER);\r
+            jScrollPaneDescription.setPreferredSize(new java.awt.Dimension(valueWidth, fourRowHeight));\r
             jScrollPaneDescription.setViewportView(getJTextAreaDescription());\r
         }\r
         return jScrollPaneDescription;\r
@@ -381,8 +422,8 @@ public class FpdHeader extends IInternalFrame {
     private JTextField getJTextFieldAbstract() {\r
         if (jTextFieldAbstract == null) {\r
             jTextFieldAbstract = new JTextField();\r
-            jTextFieldAbstract.setBounds(new java.awt.Rectangle(160,218,320,20));\r
-            jTextFieldAbstract.setPreferredSize(new java.awt.Dimension(320, 20));\r
+            jTextFieldAbstract.setBounds(new java.awt.Rectangle(valueColumn,rowSeven,valueWidth,oneRowHeight));\r
+            jTextFieldAbstract.setPreferredSize(new java.awt.Dimension(valueWidth, oneRowHeight));\r
             jTextFieldAbstract.addFocusListener(new FocusAdapter(){\r
                 public void focusLost(FocusEvent e) {\r
                     if (!DataValidation.isAbstract(jTextFieldAbstract.getText())) {\r
@@ -400,32 +441,41 @@ public class FpdHeader extends IInternalFrame {
         return jTextFieldAbstract;\r
     }\r
 \r
+    private JScrollPane getCopyrightScrollPane() {\r
+        if (jCopyrightScrollPane == null) {\r
+            jCopyrightScrollPane = new JScrollPane();\r
+            jCopyrightScrollPane.setBounds(new java.awt.Rectangle(valueColumn, rowFour, valueWidth, threeRowHeight));\r
+            jCopyrightScrollPane.setHorizontalScrollBarPolicy(javax.swing.JScrollPane.HORIZONTAL_SCROLLBAR_NEVER);\r
+            jCopyrightScrollPane.setPreferredSize(new java.awt.Dimension(valueWidth, threeRowHeight));\r
+            jCopyrightScrollPane.setViewportView(getJCopyrightTextArea());\r
+        }\r
+        return jCopyrightScrollPane;\r
+    }\r
     /**\r
       This method initializes jTextFieldCopyright      \r
        \r
       @return javax.swing.JTextField jTextFieldCopyright\r
      \r
      **/\r
-    private JTextField getJTextFieldCopyright() {\r
-        if (jTextFieldCopyright == null) {\r
-            jTextFieldCopyright = new JTextField();\r
-            jTextFieldCopyright.setBounds(new java.awt.Rectangle(160,85,320,20));\r
-            jTextFieldCopyright.setPreferredSize(new java.awt.Dimension(320,20));\r
-            jTextFieldCopyright.addFocusListener(new FocusAdapter(){\r
+    private JTextArea getJCopyrightTextArea() {\r
+        if (jCopyrightTextArea == null) {\r
+            jCopyrightTextArea = new JTextArea();\r
+            jCopyrightTextArea.setWrapStyleWord(true);\r
+            jCopyrightTextArea.addFocusListener(new FocusAdapter(){\r
                 public void focusLost(FocusEvent e) {\r
-                    if (!DataValidation.isCopyright(jTextFieldCopyright.getText())) {\r
+                    if (!DataValidation.isCopyright(jCopyrightTextArea.getText())) {\r
                         JOptionPane.showMessageDialog(frame, "Copyright must be entered.");\r
                         return;\r
                     }\r
-                    if (jTextFieldCopyright.getText().equals(ffc.getFpdHdrCopyright())) {\r
+                    if (jCopyrightTextArea.getText().equals(ffc.getFpdHdrCopyright())) {\r
                         return;\r
                     }\r
                     docConsole.setSaved(false);\r
-                    ffc.setFpdHdrCopyright(jTextFieldCopyright.getText());\r
+                    ffc.setFpdHdrCopyright(jCopyrightTextArea.getText());\r
                 } \r
              });\r
         }\r
-        return jTextFieldCopyright;\r
+        return jCopyrightTextArea;\r
     }\r
 \r
     /**\r
@@ -436,8 +486,8 @@ public class FpdHeader extends IInternalFrame {
     private JTextField getJTextFieldUrl() {\r
         if (jTextFieldUrl == null) {\r
             jTextFieldUrl = new JTextField();\r
-            jTextFieldUrl.setBounds(new java.awt.Rectangle(160,193,320,20));\r
-            jTextFieldUrl.setPreferredSize(new Dimension(320, 20));\r
+            jTextFieldUrl.setBounds(new java.awt.Rectangle(valueColumn,rowSix,valueWidth,oneRowHeight));\r
+            jTextFieldUrl.setPreferredSize(new Dimension(valueWidth, oneRowHeight));\r
             jTextFieldUrl.addFocusListener(new FocusAdapter(){\r
                public void focusLost(FocusEvent e){\r
                    if (jTextFieldUrl.getText().length() == 0 && ffc.getFpdHdrUrl() == null) {\r
@@ -527,7 +577,7 @@ public class FpdHeader extends IInternalFrame {
             jTextFieldUrl.setText(ffc.getFpdHdrUrl());\r
         }\r
         if (ffc.getFpdHdrCopyright() != null) {\r
-            jTextFieldCopyright.setText(ffc.getFpdHdrCopyright());\r
+            jCopyrightTextArea.setText(ffc.getFpdHdrCopyright());\r
         }\r
         if (ffc.getFpdHdrDescription() != null) {\r
             jTextAreaDescription.setText(ffc.getFpdHdrDescription());\r
@@ -563,38 +613,51 @@ public class FpdHeader extends IInternalFrame {
      **/\r
     private JPanel getJContentPane() {\r
         if (jContentPane == null) {\r
-               jLabel = new JLabel();\r
-               jLabel.setBounds(new java.awt.Rectangle(15,193,140,20));\r
-               jLabel.setText("URL");\r
-               jContentPane = new JPanel();\r
+            jContentPane = new JPanel();\r
             jContentPane.setLayout(null);\r
             jContentPane.setLocation(new java.awt.Point(0, 0));\r
-            jContentPane.setSize(new java.awt.Dimension(500,423));\r
+            jContentPane.setSize(new java.awt.Dimension(dialogWidth - 20 ,dialogHeight - 20));\r
+\r
+            jLabel = new JLabel();\r
+               jLabel.setBounds(new java.awt.Rectangle(labelColumn,rowSix,labelWidth,oneRowHeight));\r
+               jLabel.setText("URL");\r
             jLabelAbstract = new JLabel();\r
-            jLabelAbstract.setBounds(new java.awt.Rectangle(15,218,140,20));\r
+            jLabelAbstract.setBounds(new java.awt.Rectangle(labelColumn,rowSeven,labelWidth,oneRowHeight));\r
             jLabelAbstract.setText("Abstract");\r
-            jLabelSpecification = new JLabel();\r
-            jLabelSpecification.setText("Specification");\r
-            jLabelSpecification.setBounds(new java.awt.Rectangle(15,328,140,20));\r
             jLabelDescription = new JLabel();\r
             jLabelDescription.setText("Description");\r
-            jLabelDescription.setBounds(new java.awt.Rectangle(15,243,140,20));\r
+            jLabelDescription.setBounds(new java.awt.Rectangle(labelColumn,rowEight,labelWidth,oneRowHeight));\r
             jLabelCopyright = new JLabel();\r
             jLabelCopyright.setText("Copyright");\r
-            jLabelCopyright.setBounds(new java.awt.Rectangle(15,85,140,20));\r
+            jLabelCopyright.setBounds(new java.awt.Rectangle(labelColumn,rowFour,labelWidth,oneRowHeight));\r
             jLabelLicense = new JLabel();\r
             jLabelLicense.setText("License");\r
-            jLabelLicense.setBounds(new java.awt.Rectangle(15,108,140,20));\r
+            jLabelLicense.setBounds(new java.awt.Rectangle(labelColumn,rowFive,labelWidth,oneRowHeight));\r
             jLabelVersion = new JLabel();\r
             jLabelVersion.setText("Version");\r
-            jLabelVersion.setBounds(new java.awt.Rectangle(15, 60, 140, 20));\r
+            jLabelVersion.setBounds(new java.awt.Rectangle(labelColumn, rowThree, labelWidth, oneRowHeight));\r
             jLabelGuid = new JLabel();\r
-            jLabelGuid.setPreferredSize(new java.awt.Dimension(25, 15));\r
-            jLabelGuid.setBounds(new java.awt.Rectangle(15, 35, 140, 20));\r
+            jLabelGuid.setPreferredSize(new java.awt.Dimension(labelWidth, oneRowHeight));\r
+            jLabelGuid.setBounds(new java.awt.Rectangle(labelColumn, rowTwo, labelWidth, oneRowHeight));\r
             jLabelGuid.setText("Guid");\r
             jLabelBaseName = new JLabel();\r
             jLabelBaseName.setText("Platform Name");\r
-            jLabelBaseName.setBounds(new java.awt.Rectangle(15, 10, 140, 20));\r
+            jLabelBaseName.setBounds(new java.awt.Rectangle(labelColumn, rowOne, labelWidth, oneRowHeight));\r
+            jStarLabel1 = new StarLabel();\r
+            jStarLabel1.setLocation(new java.awt.Point(0, rowOne));\r
+            jStarLabel2 = new StarLabel();\r
+            jStarLabel2.setLocation(new java.awt.Point(0, rowTwo));\r
+            jStarLabel3 = new StarLabel();\r
+            jStarLabel3.setLocation(new java.awt.Point(0, rowThree));\r
+            jStarLabel4 = new StarLabel();\r
+            jStarLabel4.setLocation(new java.awt.Point(0,rowFour));\r
+            jStarLabel5 = new StarLabel();\r
+            jStarLabel5.setLocation(new java.awt.Point(0,rowFive));\r
+            jStarLabel7 = new StarLabel();\r
+            jStarLabel7.setLocation(new java.awt.Point(0,rowSeven));\r
+            jStarLabel8 = new StarLabel();\r
+            jStarLabel8.setLocation(new java.awt.Point(0,rowEight));\r
+            \r
             jContentPane.add(jLabelBaseName, null);\r
             jContentPane.add(getJTextFieldBaseName(), null);\r
             jContentPane.add(jLabelGuid, null);\r
@@ -605,7 +668,6 @@ public class FpdHeader extends IInternalFrame {
             jContentPane.add(jLabelLicense, null);\r
             jContentPane.add(jLabelCopyright, null);\r
             jContentPane.add(jLabelDescription, null);\r
-            jContentPane.add(jLabelSpecification, null);\r
             jContentPane.add(getJTextFieldSpecification(), null);\r
             jContentPane.add(getJButtonOk(), null);\r
             jContentPane.add(getJButtonCancel(), null);\r
@@ -613,36 +675,15 @@ public class FpdHeader extends IInternalFrame {
             jContentPane.add(getJScrollPaneDescription(), null);\r
             jContentPane.add(jLabelAbstract, null);\r
             jContentPane.add(getJTextFieldAbstract(), null);\r
-            jStarLabel1 = new StarLabel();\r
-            jStarLabel1.setLocation(new java.awt.Point(0, 10));\r
-            jStarLabel2 = new StarLabel();\r
-            jStarLabel2.setLocation(new java.awt.Point(0, 35));\r
-            jStarLabel3 = new StarLabel();\r
-            jStarLabel3.setLocation(new java.awt.Point(0, 60));\r
-            jStarLabel4 = new StarLabel();\r
-            jStarLabel4.setLocation(new java.awt.Point(0,108));\r
-            jStarLabel5 = new StarLabel();\r
-            jStarLabel5.setLocation(new java.awt.Point(0,85));\r
-            jStarLabel6 = new StarLabel();\r
-            jStarLabel6.setLocation(new java.awt.Point(0,218));\r
-            jStarLabel7 = new StarLabel();\r
-            jStarLabel7.setLocation(new java.awt.Point(0,328));\r
-            jStarLabel7.setEnabled(false);\r
-            jStarLabel8 = new StarLabel();\r
-            jStarLabel8.setLocation(new java.awt.Point(0,243));\r
-            jStarLabel9 = new StarLabel();\r
-            jStarLabel9.setLocation(new java.awt.Point(0,303));\r
-            jStarLabel9.setVisible(false);\r
\r
             jContentPane.add(jStarLabel1, null);\r
             jContentPane.add(jStarLabel2, null);\r
             jContentPane.add(jStarLabel3, null);\r
             jContentPane.add(jStarLabel4, null);\r
             jContentPane.add(jStarLabel5, null);\r
-            jContentPane.add(jStarLabel6, null);\r
             jContentPane.add(jStarLabel7, null);\r
             jContentPane.add(jStarLabel8, null);\r
-            jContentPane.add(jStarLabel9, null);\r
-            jContentPane.add(getJTextFieldCopyright(), null);\r
+            jContentPane.add(getCopyrightScrollPane(), null);\r
 \r
             jContentPane.add(jLabel, null);\r
             jContentPane.add(getJTextFieldUrl(), null);\r
@@ -681,18 +722,21 @@ public class FpdHeader extends IInternalFrame {
         * Override componentResized to resize all components when frame's size is changed\r
         */\r
        public void componentResized(ComponentEvent arg0) {\r
-        int intPreferredWidth = 500;\r
+        int intPreferredWidth = dialogWidth;\r
+        int intCurrentWidth = this.getJContentPane().getWidth();\r
+        \r
+        // Tools.resizeComponentWidth(this.jTextFieldBaseName, this.getWidth(), intPreferredWidth);\r
+        // Tools.resizeComponentWidth(this.jTextFieldGuid, this.getWidth(), intPreferredWidth);\r
+//      Tools.relocateComponentX(this.jButtonGenerateGuid, this.getWidth(), jButtonGenerateGuid.getWidth(), 25);\r
+        // Tools.resizeComponentWidth(this.jTextFieldVersion, this.getWidth(), intPreferredWidth);\r
+        // Tools.resizeComponentWidth(this.jTextFieldCopyright, this.getWidth(), intPreferredWidth);\r
+        Tools.resizeComponentWidth(this.jScrollPaneLicense, intCurrentWidth, intPreferredWidth);\r
+        Tools.resizeComponentWidth(this.jTextFieldUrl, intCurrentWidth, intPreferredWidth);\r
+        Tools.resizeComponentWidth(this.jTextFieldAbstract, intCurrentWidth, intPreferredWidth);        \r
+        Tools.resizeComponentWidth(this.jScrollPaneDescription, intCurrentWidth, intPreferredWidth);\r
+        // Tools.resizeComponentWidth(this.jTextFieldSpecification, this.getWidth(), intPreferredWidth);\r
         \r
-        Tools.resizeComponentWidth(this.jTextFieldBaseName, this.getWidth(), intPreferredWidth);\r
-        Tools.resizeComponentWidth(this.jTextFieldGuid, this.getWidth(), intPreferredWidth);\r
-        Tools.resizeComponentWidth(this.jTextFieldVersion, this.getWidth(), intPreferredWidth);\r
-        Tools.resizeComponentWidth(this.jTextFieldUrl, this.getWidth(), intPreferredWidth);\r
-        Tools.resizeComponentWidth(this.jScrollPaneLicense, this.getWidth(), intPreferredWidth);\r
-        Tools.resizeComponentWidth(this.jTextFieldCopyright, this.getWidth(), intPreferredWidth);\r
-        Tools.resizeComponentWidth(this.jScrollPaneDescription, this.getWidth(), intPreferredWidth);\r
-        Tools.resizeComponentWidth(this.jTextFieldSpecification, this.getWidth(), intPreferredWidth);\r
-        Tools.resizeComponentWidth(this.jTextFieldAbstract, this.getWidth(), intPreferredWidth);\r
                \r
-        Tools.relocateComponentX(this.jButtonGenerateGuid, this.getWidth(), jButtonGenerateGuid.getWidth(), 25);\r
+        \r
        }\r
 }\r