This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.

Bug 86343 - Browse... button in New Project for Identity samples window does not work.
Summary: Browse... button in New Project for Identity samples window does not work.
Status: CLOSED FIXED
Alias: None
Product: serverplugins
Classification: Unclassified
Component: Identity (show other bugs)
Version: 5.x
Hardware: All All
: P1 blocker (vote)
Assignee: Srividhya Narayanan
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-10-02 22:51 UTC by _ hlu
Modified: 2006-10-03 23:51 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description _ hlu 2006-10-02 22:51:13 UTC
build21:
steps:
New Project and then select Samples|Identity Blueprints in the categories and
any sample in the Project.
Next to the new project window.
Click Browse... button.
The button does not work.
Comment 1 Srividhya Narayanan 2006-10-02 23:13:54 UTC
Checked in release55_dev. Email sent to reviewers.
Checking in SampleWizardPanelVisual.java;
/cvs/identity/samples/src/org/netbeans/modules/identity/samples/ui/Attic/SampleWizardPanelVisual.java,v
 <--  SampleWizardPanelVisual.java
new revision: 1.1.2.2.2.1; previous revision: 1.1.2.2
done
Comment 2 Srividhya Narayanan 2006-10-03 00:26:00 UTC
Comments from review:
I just reviewed and tried out the fix.  The fix is good.

Peter

Srividhya Narayanan wrote:

> Pleas review fix for http://www.netbeans.org/issues/show_bug.cgi?id=86343
>
> Description:
> Browse... button in New Project for Identity samples window does not work.
>
> Fix:
> Add missing action command on the browse button. The button event was looking
for this action name which was missing.
>
> Risk:
> Very low risk. Please look at bug description for the one line fix on this.
>
> Thanks,
> - Vidhya
>
Comment 3 Srividhya Narayanan 2006-10-03 00:32:40 UTC
Tag: release55
User: vidhya  
Date: 2006/10/02 16:31:30

Modified:
  
identity/samples/src/org/netbeans/modules/identity/samples/ui/SampleWizardPanelVisual.java

Log:
 Fix for 86343

File Changes:

Directory: /identity/samples/src/org/netbeans/modules/identity/samples/ui/
==========================================================================

File [changed]: SampleWizardPanelVisual.java
Url:
http://identity.netbeans.org/source/browse/identity/samples/src/org/netbeans/modules/identity/samples/ui/SampleWizardPanelVisual.java?r1=1.1.2.2&r2=1.1.2.3
Delta lines:  +1 -1
-------------------
--- SampleWizardPanelVisual.java	5 Sep 2006 18:21:15 -0000	1.1.2.2
+++ SampleWizardPanelVisual.java	2 Oct 2006 23:31:28 -0000	1.1.2.3
@@ -106,7 +106,7 @@
         gridBagConstraints.insets = new java.awt.Insets(0, 12, 5, 0);
         add(projectLocationTextField, gridBagConstraints);
         
-        org.openide.awt.Mnemonics.setLocalizedText(browseButton,
NbBundle.getMessage(SampleWizardPanelVisual.class, "LBL_BrowseAction"));
+        browseButton.setActionCommand("BROWSE"); //NOI18N
         browseButton.addActionListener(new java.awt.event.ActionListener() {
             public void actionPerformed(java.awt.event.ActionEvent evt) {
                 browseLocationAction(evt);
Comment 4 _ hlu 2006-10-03 23:51:38 UTC
fix is verified on windows in build20061002_2.