jsalvata    2004/01/27 05:54:16

  Modified:    src/core/org/apache/jmeter/testbeans/gui FileEditor.java
  Log:
  Properly delegate property change event firing to
  the WrapperEditor.
  
  Revision  Changes    Path
  1.5       +8 -6      
jakarta-jmeter/src/core/org/apache/jmeter/testbeans/gui/FileEditor.java
  
  Index: FileEditor.java
  ===================================================================
  RCS file: 
/home/cvs/jakarta-jmeter/src/core/org/apache/jmeter/testbeans/gui/FileEditor.java,v
  retrieving revision 1.4
  retrieving revision 1.5
  diff -u -r1.4 -r1.5
  --- FileEditor.java   16 Jan 2004 02:28:08 -0000      1.4
  +++ FileEditor.java   27 Jan 2004 13:54:14 -0000      1.5
  @@ -103,11 +103,13 @@
                JButton button= new JButton("Browse...");
                button.addActionListener(this);
   
  -             // Get a WrapperEditor to provide the field or combo:
  -             editor= new WrapperEditor(
  -                     new SimpleFileEditor(),
  -                     new ComboStringEditor(),
  -                     true, true, true);
  +        // Get a WrapperEditor to provide the field or combo -- we'll delegate
  +        // most methods to it:
  +        editor= new WrapperEditor(
  +            this,
  +            new SimpleFileEditor(),
  +            new ComboStringEditor(),
  +            true, true, true, null);
   
                // Create a panel containing the combo and the button:
                panel= new JPanel(new BorderLayout(5,0));
  
  
  

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to