Ejemplo n.º 1
0
  private void owninitComponents() {

    /*Network status display*/
    state.setBounds(3, 7, 25, 25);
    state.setVisible(true);

    statel.setBounds(30, 7, 100, 25);
    statel.setVisible(true);

    add(state);
    add(statel);

    /*Set Admin Defaults*/
    AdminConfigPanel.setVisible(true);
    AdminLoginPanel.setVisible(true);

    /*Create required Tabs*/
    new otherTab(jTabbedPane5);

    new Config(jTabbedPane5);

    explorer = new Explorer(jTabbedPane5);

    /*Set Icon Image*/
    BufferedImage image = null;
    try {
      image = ImageIO.read(new File(substructure.PathHelper.getFile("hdd.png")));
    } catch (IOException e) {
      out.print("(GUI) - owninitComponents : " + e.toString(), 2);
    } catch (fileSystemException ex) {
      out.print("(GUI) - owninitComponents : " + ex.toString(), 2);
    }
    setIconImage(image);
  }