/** usage via static method, both normal and fully qualified */
 {
   int[] x = {};
   Arrays.sort(x);
   Object obj = javax.swing.BorderFactory.createEmptyBorder();
   File[] files = listRoots();
 }
  public AboutPanel(Gui aFrame) {
    super(new BorderLayout());
    buttons = new JPanel();
    linkPanel = new JPanel(new FlowLayout(FlowLayout.LEFT));
    linkPanel.setAlignmentX(Component.RIGHT_ALIGNMENT);
    linkPanel.setOpaque(false);
    top = new JPanel();
    top.setBackground(GUIConstants.BACKGROUND_COLOR);
    center =
        new JPanel() {
          @Override
          public void paintComponent(Graphics g) {

            super.paintComponent(g);
            Graphics2D g2 = (Graphics2D) g;
            GradientPaint gp =
                new GradientPaint(
                    0, 0, GUIConstants.BACKGROUND_COLOR, 0, getHeight(), getBackground());
            Paint p = g2.getPaint();
            g2.setPaint(gp);
            g2.fillRect(0, 0, getWidth(), getHeight());
            g2.setPaint(p);
          }
        };
    center.setLayout(new BoxLayout(center, BoxLayout.PAGE_AXIS));
    frame = aFrame;
    textBottom = new JTextArea();
    textBottom.setOpaque(false);
    textBottom.setWrapStyleWord(true);
    textBottom.setEditable(false);
    textBottom.setLineWrap(true);
    textBottom.setFont(new Font("Sans/Serif", Font.PLAIN, 17));
    textBottom.setMargin(new Insets(10, 10, 0, 0));
    textBottom.setBackground(new Color(255, 255, 255, 0));
    textBottom.setBorder(javax.swing.BorderFactory.createEmptyBorder(5, 50, 50, 50));

    textTop = new JTextArea();
    textTop.setOpaque(false);
    textTop.setWrapStyleWord(true);
    textTop.setEditable(false);
    textTop.setLineWrap(true);
    textTop.setFont(new Font("Sans-Serif", Font.PLAIN, 17));
    textTop.setMargin(new Insets(10, 10, 0, 0));
    textTop.setBackground(new Color(255, 255, 255, 0));
    textTop.setBorder(javax.swing.BorderFactory.createEmptyBorder(50, 50, 5, 50));

    title = new JLabel();
    title.setFont(new Font("Sans-Serif", Font.PLAIN, 25));
    back = new JButton("Back to Main");
    back.setBackground(new Color(103, 180, 181));
    back.addActionListener(
        new ActionListener() {
          @Override
          public void actionPerformed(ActionEvent e) {
            if (e.getSource() == back) {
              frame.ToMatrixScreen();
            }
          }
        });
    link = new JButton();
    link.setText(
        "<HTML><FONT color=\"#000099\"><U>http://www.businessballs.com/timemanagement.htm</U></FONT>"
            + "</HTML>");
    // link.setHorizontalAlignment(SwingConstants.LEFT);
    link.setBorderPainted(false);
    link.setOpaque(false);
    link.setBackground(Color.WHITE);
    link.setToolTipText("http://www.businessballs.com/timemanagement.htm");
    link.addActionListener(new URLOpener());
    buttons.add(back);
    linkPanel.add(link);
    top.add(title);
    center.add(textTop);
    center.add(linkPanel);
    center.add(textBottom);

    try {
      readFile();
    } catch (FileNotFoundException ex) {
      Logger.getLogger(AboutPanel.class.getName()).log(Level.SEVERE, null, ex);
      System.out.println(ex.getMessage());
    } catch (IOException ex) {
      Logger.getLogger(HelpPanel.class.getName()).log(Level.SEVERE, null, ex);
      System.out.println(ex.getMessage());
    }

    this.add(top, BorderLayout.NORTH);
    this.add(center, BorderLayout.CENTER);
    this.add(buttons, BorderLayout.SOUTH);
  }