title: How to add components in to an existing GUI created by guide?
body: <p>I just created a GUI using guide in MATLAB for a small project I'm working on. I have amongst other things two text fields for <em>from</em> and <em>to</em> dates. Now I'd like to get rid of them and use a Java date select tool. Of course this is not possible using guide so I need to add them manually.
  I've managed to get them to show up by putting this code into my Opening_Fcn,</p>
  
  <pre><code>uicomponent(handles, 'style','com.jidesoft.combobox.DateChooserPanel','tag','til2');
  </code></pre>
  
  <p>using <a href="http://www.mathworks.com/matlabcentral/fileexchange/14583-uicomponent-expands-uicontrol-to-all-java-classes" rel="nofollow">UICOMPONENT</a>.</p>
  
  <p>But even though it shows up I can't access the date select's attributes, for example</p>
  
  <pre><code>get(handles.til2)
  </code></pre>
  
  <p>returns </p>
  
  <pre><code>??? Reference to non-existent field 'til2'.
  </code></pre>
  
  <p>How can I fix this?</p>