woolfel     2004/10/28 16:35:10

  Modified:    src/core/org/apache/jmeter/gui/util FilePanel.java
  Log:
  thanks to sebastian for catching this mistake. added enable to the

  FilePanel class to enable/disable it.

  

  peter
  
  Revision  Changes    Path
  1.12      +12 -2     
jakarta-jmeter/src/core/org/apache/jmeter/gui/util/FilePanel.java
  
  Index: FilePanel.java
  ===================================================================
  RCS file: 
/home/cvs/jakarta-jmeter/src/core/org/apache/jmeter/gui/util/FilePanel.java,v
  retrieving revision 1.11
  retrieving revision 1.12
  diff -u -r1.11 -r1.12
  --- FilePanel.java    13 Feb 2004 02:21:38 -0000      1.11
  +++ FilePanel.java    28 Oct 2004 23:35:10 -0000      1.12
  @@ -100,6 +100,16 @@
   
       }
   
  +     /**
  +      * If the gui needs to enable/disable the FilePanel, call the
  +      * method.
  +      * @param enable
  +      */
  +     public void enableFile(boolean enable){
  +             browse.setEnabled(enable);
  +             filename.setEnabled(enable);
  +     }
  +     
       /**
        * Gets the filename attribute of the FilePanel object.
        *
  
  
  

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

Reply via email to