⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 aboutdialog.java

📁 JMule是一个基于Java开发
💻 JAVA
📖 第 1 页 / 共 2 页
字号:
        internet_panel.setBorder(javax.swing.BorderFactory.createTitledBorder(null, "Internet", javax.swing.border.TitledBorder.DEFAULT_JUSTIFICATION, javax.swing.border.TitledBorder.DEFAULT_POSITION, new java.awt.Font("Dialog", 0, 14), new java.awt.Color(0, 51, 255))); // NOI18N        internet_panel.setLayout(new java.awt.GridLayout(2, 3, 20, 15));        home_page_label.setText("      Home page");        internet_panel.add(home_page_label);        sf_web_page_label.setText("SF Web page");        internet_panel.add(sf_web_page_label);        project_forums_label.setText("Project Forums");        internet_panel.add(project_forums_label);        bug_reports_label.setText("      Bug reports");        internet_panel.add(bug_reports_label);        open_support_label.setText("Open support");        internet_panel.add(open_support_label);        downloads_label.setText("Downloads");        internet_panel.add(downloads_label);        jmule_shot_desc_label.setText("JMule - Java file sharing client for eDonkey2000 networks");        jmule_license_label.setText("Licensed unde the GNU General Public License");        /*org.jdesktop.layout.GroupLayout general_panelLayout = new org.jdesktop.layout.GroupLayout(general_panel);        general_panel.setLayout(general_panelLayout);        general_panelLayout.setHorizontalGroup(            general_panelLayout.createParallelGroup(org.jdesktop.layout.GroupLayout.LEADING)            .add(internet_panel, org.jdesktop.layout.GroupLayout.DEFAULT_SIZE, 487, Short.MAX_VALUE)            .add(org.jdesktop.layout.GroupLayout.TRAILING, general_panelLayout.createSequentialGroup()                .addContainerGap(61, Short.MAX_VALUE)                .add(general_panelLayout.createParallelGroup(org.jdesktop.layout.GroupLayout.LEADING)                    .add(jmule_license_label)                    .add(jmule_shot_desc_label))                .add(60, 60, 60))        );        general_panelLayout.setVerticalGroup(            general_panelLayout.createParallelGroup(org.jdesktop.layout.GroupLayout.LEADING)            .add(org.jdesktop.layout.GroupLayout.TRAILING, general_panelLayout.createSequentialGroup()                .addContainerGap(89, Short.MAX_VALUE)                .add(jmule_shot_desc_label)                .addPreferredGap(org.jdesktop.layout.LayoutStyle.RELATED)                .add(jmule_license_label)                .add(79, 79, 79)                .add(internet_panel, org.jdesktop.layout.GroupLayout.PREFERRED_SIZE, 99, org.jdesktop.layout.GroupLayout.PREFERRED_SIZE))        );*/                jmule_version = new javax.swing.JLabel();        copyright_team = new javax.swing.JLabel();        scroll_pane = new javax.swing.JScrollPane();        text_pane = new javax.swing.JTextPane();        web_site_label = new javax.swing.JLabel();        jmule_org_label = new javax.swing.JLabel();        forums_label = new javax.swing.JLabel();        forum_jmule_org_label = new javax.swing.JLabel();        jmule_version.setText("JMule " + JMConstants.CURRENT_JMULE_VERSION);        copyright_team.setText("Copyright (c) 2007-2008 JMule Team");        text_pane.setBackground(new java.awt.Color(238, 238, 238));        text_pane.setText("JMule - Java multi-platform file sharing client for eDonkey 2000 networks, licensed unde the GNU General Public License. The client is completely free and allows you to share files with anybody in the world.\n");        text_pane.setEditable(false);        scroll_pane.setBorder(javax.swing.BorderFactory.createEmptyBorder(1, 1, 1, 1));        scroll_pane.setViewportView(text_pane);        web_site_label.setText("Web site :");        jmule_org_label.setText("http://jmule.org");                jmule_org_label.addMouseListener(new MouseAdapter() {			 public void mouseClicked(MouseEvent event) {				 BrowserLauncher.openURL(JMConstants.JMULE_WEB_SITE);			 }			 public void mouseEntered(MouseEvent event) {				 jmule_org_label.setForeground(Color.BLUE);				 setCursor( Cursor.getPredefinedCursor( Cursor.HAND_CURSOR ) );			 }			 public void mouseExited(MouseEvent event) {				 jmule_org_label.setForeground(Color.BLACK);				 setCursor( Cursor.getPredefinedCursor( Cursor.DEFAULT_CURSOR ) );			 }		});        forums_label.setText("Forums  :");        forum_jmule_org_label.setText("http://forum.jmule.org");                forum_jmule_org_label.addMouseListener(new MouseAdapter() {			 public void mouseClicked(MouseEvent event) {				 BrowserLauncher.openURL(JMConstants.JMULE_FORUMS);			 }			 public void mouseEntered(MouseEvent event) {				 forum_jmule_org_label.setForeground(Color.BLUE);				 setCursor( Cursor.getPredefinedCursor( Cursor.HAND_CURSOR ) );			 }			 public void mouseExited(MouseEvent event) {				 forum_jmule_org_label.setForeground(Color.BLACK);				 setCursor( Cursor.getPredefinedCursor( Cursor.DEFAULT_CURSOR ) );			 }		});                org.jdesktop.layout.GroupLayout layout = new org.jdesktop.layout.GroupLayout(general_panel);        general_panel.setLayout(layout);        layout.setHorizontalGroup(            layout.createParallelGroup(org.jdesktop.layout.GroupLayout.LEADING)            .add(layout.createSequentialGroup()                .add(layout.createParallelGroup(org.jdesktop.layout.GroupLayout.LEADING)                    .add(layout.createSequentialGroup()                        .addContainerGap()                        .add(scroll_pane, org.jdesktop.layout.GroupLayout.DEFAULT_SIZE, 328, Short.MAX_VALUE))                    .add(layout.createSequentialGroup()                        .addContainerGap()                        .add(jmule_version))                    .add(layout.createSequentialGroup()                        .addContainerGap()                        .add(layout.createParallelGroup(org.jdesktop.layout.GroupLayout.LEADING)                            .add(layout.createSequentialGroup()                                .add(forums_label)                                .add(18, 18, 18)                                .add(forum_jmule_org_label, org.jdesktop.layout.GroupLayout.DEFAULT_SIZE, 252, Short.MAX_VALUE))                            .add(layout.createSequentialGroup()                                .add(web_site_label, org.jdesktop.layout.GroupLayout.PREFERRED_SIZE, 71, org.jdesktop.layout.GroupLayout.PREFERRED_SIZE)                                .addPreferredGap(org.jdesktop.layout.LayoutStyle.RELATED)                                .add(jmule_org_label, org.jdesktop.layout.GroupLayout.PREFERRED_SIZE, 181, org.jdesktop.layout.GroupLayout.PREFERRED_SIZE))))                    .add(layout.createSequentialGroup()                        .addContainerGap()                        .add(copyright_team, org.jdesktop.layout.GroupLayout.PREFERRED_SIZE, 253, org.jdesktop.layout.GroupLayout.PREFERRED_SIZE)))                .addContainerGap())        );        layout.setVerticalGroup(            layout.createParallelGroup(org.jdesktop.layout.GroupLayout.LEADING)            .add(layout.createSequentialGroup()                .add(30, 30, 30)                .add(jmule_version)                .addPreferredGap(org.jdesktop.layout.LayoutStyle.RELATED)                .add(copyright_team)                .add(26, 26, 26)                .add(scroll_pane, org.jdesktop.layout.GroupLayout.PREFERRED_SIZE, org.jdesktop.layout.GroupLayout.DEFAULT_SIZE, org.jdesktop.layout.GroupLayout.PREFERRED_SIZE)                .addPreferredGap(org.jdesktop.layout.LayoutStyle.RELATED)                .add(layout.createParallelGroup(org.jdesktop.layout.GroupLayout.BASELINE)                    .add(web_site_label)                    .add(jmule_org_label))                .addPreferredGap(org.jdesktop.layout.LayoutStyle.RELATED)                .add(layout.createParallelGroup(org.jdesktop.layout.GroupLayout.BASELINE)                    .add(forums_label)                    .add(forum_jmule_org_label))                .addContainerGap(68, Short.MAX_VALUE))        );        tabbed_pane.addTab("General", general_panel);        if(JMConstants.IS_NIGHTLY_BUILD) tabbed_pane.addTab("Nightly build", new NightlyBuildPanel());                tabbed_pane.addTab("Properties", new PropertiesPanel());                license_panel.setLayout(new java.awt.CardLayout());        license_text_area.setEditable(false);        license_text_area.setColumns(20);        license_text_area.setRows(5);        license_text_area.setText(UIConstants.GNU_LICENSE);        license_scroll_pane.setViewportView(license_text_area);                license_text_area.setCaretPosition(0);                license_panel.add(license_scroll_pane, "card2");        tabbed_pane.addTab("License", license_panel);        getContentPane().add(tabbed_pane, java.awt.BorderLayout.CENTER);        bottom_panel.setPreferredSize(new java.awt.Dimension(100, 45));        close_button.setText("Close");        close_button.addActionListener(new java.awt.event.ActionListener() {            public void actionPerformed(java.awt.event.ActionEvent evt) {                close_buttonActionPerformed(evt);            }        });        org.jdesktop.layout.GroupLayout bottom_panelLayout = new org.jdesktop.layout.GroupLayout(bottom_panel);        bottom_panel.setLayout(bottom_panelLayout);        bottom_panelLayout.setHorizontalGroup(            bottom_panelLayout.createParallelGroup(org.jdesktop.layout.GroupLayout.LEADING)            .add(org.jdesktop.layout.GroupLayout.TRAILING, bottom_panelLayout.createSequentialGroup()                .addContainerGap(369, Short.MAX_VALUE)                .add(close_button, org.jdesktop.layout.GroupLayout.PREFERRED_SIZE, 111, org.jdesktop.layout.GroupLayout.PREFERRED_SIZE)                .addContainerGap())        );        bottom_panelLayout.setVerticalGroup(            bottom_panelLayout.createParallelGroup(org.jdesktop.layout.GroupLayout.LEADING)            .add(bottom_panelLayout.createSequentialGroup()                .addContainerGap()                .add(close_button)                .addContainerGap(org.jdesktop.layout.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE))        );        getContentPane().add(bottom_panel, java.awt.BorderLayout.PAGE_END);                pack();    }    private void close_buttonActionPerformed(java.awt.event.ActionEvent evt) {                                                       this.setVisible(false);    }                                            }

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -