|
What this is
Other links
The source code/* * Sun Public License Notice * * The contents of this file are subject to the Sun Public License * Version 1.0 (the "License"). You may not use this file except in * compliance with the License. A copy of the License is available at * http://www.sun.com/ * * The Original Code is NetBeans. The Initial Developer of the Original * Code is Sun Microsystems, Inc. Portions Copyright 1997-2000 Sun * Microsystems, Inc. All Rights Reserved. */ package org.netbeans.core.ui; import java.beans.*; import java.util.ArrayList; import org.openide.ErrorManager; import org.openide.WizardDescriptor; import org.openide.awt.HtmlBrowser; import org.netbeans.core.IDESettings; /** Setup wizard panel for selecting web browser * * @author gtichy */ public class WebBrowserPanel extends javax.swing.JPanel implements org.openide.WizardDescriptor.FinishPanel, PropertyChangeListener { java.util.ResourceBundle bundle = org.openide.util.NbBundle.getBundle ("org/netbeans/core/ui/Bundle"); // NOI18N /** Creates new form WebBrowserPanel */ public WebBrowserPanel () { initComponents(); browserLabel.setDisplayedMnemonic (bundle.getString ("CTL_BrowserLabel_mnemonic").charAt (0)); browserLabel.setLabelFor (browserComboBox); helpTextArea.setFont (javax.swing.UIManager.getFont ("Label.font")); // NOI18N helpTextArea.setDisabledTextColor (javax.swing.UIManager.getColor ("Label.foreground")); // NOI18N setName (bundle.getString ("LBL_WebBrowserPanelName")); // fill the combo box try { IDESettings settings = (IDESettings)IDESettings.findObject (IDESettings.class, true); editor = PropertyEditorManager.findEditor (org.openide.awt.HtmlBrowser.Factory.class); editor.setValue (settings.getWWWBrowser ()); String [] tags = editor.getTags (); for (int j=0; j |
... this post is sponsored by my books ... | |
#1 New Release! |
FP Best Seller |
Copyright 1998-2021 Alvin Alexander, alvinalexander.com
All Rights Reserved.
A percentage of advertising revenue from
pages under the /java/jwarehouse
URI on this website is
paid back to open source projects.