<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Opening new dialog when custom tool is enabled freezes ArcMap in ArcObjects SDK Questions</title>
    <link>https://community.esri.com/t5/arcobjects-sdk-questions/opening-new-dialog-when-custom-tool-is-enabled/m-p/705980#M18884</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;I am using java arcobjects 10.&amp;nbsp; I have a class that extends Tool, which shows up as a button in a toolbar.&amp;nbsp; I click the button to enable the custom tool.&amp;nbsp; I then click anything that opens a custom dialog (using a JFrame).&amp;nbsp; If I click a button on the dialog while the mouse pointer is on top of the map, ArcMap hangs.&amp;nbsp; That is, I position the dialog so that when I click the Cancel button to close the custom dialog, the mouse pointer would click a point on the map window if the dialog wasn't there.&amp;nbsp; If I drag the custom dialog so that the click happens over the menu bar or layer list then ArcMap does not freeze.&amp;nbsp; If I first click an ESRI tool so that the custom tool is no longer enabled then ArcMap does not freeze.&amp;nbsp; This behavior is repeatable every time, and it even happens when the custom tool has no code in it.&amp;nbsp; All that is necessary is that the custom tool is clicked and the custom dialog has at least one button to click.&amp;nbsp; &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Has anyone else had this problem?&amp;nbsp; It is very easily repeatable with a class that extends Tool and a class that extends JFrame.&amp;nbsp; I would appreciate any help with this.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 10 Apr 2012 19:34:28 GMT</pubDate>
    <dc:creator>noonenoone</dc:creator>
    <dc:date>2012-04-10T19:34:28Z</dc:date>
    <item>
      <title>Opening new dialog when custom tool is enabled freezes ArcMap</title>
      <link>https://community.esri.com/t5/arcobjects-sdk-questions/opening-new-dialog-when-custom-tool-is-enabled/m-p/705980#M18884</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;I am using java arcobjects 10.&amp;nbsp; I have a class that extends Tool, which shows up as a button in a toolbar.&amp;nbsp; I click the button to enable the custom tool.&amp;nbsp; I then click anything that opens a custom dialog (using a JFrame).&amp;nbsp; If I click a button on the dialog while the mouse pointer is on top of the map, ArcMap hangs.&amp;nbsp; That is, I position the dialog so that when I click the Cancel button to close the custom dialog, the mouse pointer would click a point on the map window if the dialog wasn't there.&amp;nbsp; If I drag the custom dialog so that the click happens over the menu bar or layer list then ArcMap does not freeze.&amp;nbsp; If I first click an ESRI tool so that the custom tool is no longer enabled then ArcMap does not freeze.&amp;nbsp; This behavior is repeatable every time, and it even happens when the custom tool has no code in it.&amp;nbsp; All that is necessary is that the custom tool is clicked and the custom dialog has at least one button to click.&amp;nbsp; &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Has anyone else had this problem?&amp;nbsp; It is very easily repeatable with a class that extends Tool and a class that extends JFrame.&amp;nbsp; I would appreciate any help with this.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 10 Apr 2012 19:34:28 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcobjects-sdk-questions/opening-new-dialog-when-custom-tool-is-enabled/m-p/705980#M18884</guid>
      <dc:creator>noonenoone</dc:creator>
      <dc:date>2012-04-10T19:34:28Z</dc:date>
    </item>
  </channel>
</rss>

