Hi Jukka,

Line 79, the SpatialiteDialog uses the "super" keyword to inititialize 
the dialog with its parent constructor
JDialog(Frame frame,String title,boolean modal)
You can see that it is initialized with modal = true.
Try to change it to false here,

Hope that helps

Michaël

Le 20/05/2015 17:24, Rahkonen Jukka (MML) a écrit :
> Hi,
>
> Am I right that the spatialite dialog is set to "modal" somewhere in this 
> code 
> https://sourceforge.net/p/jump-pilot/code/HEAD/tree/plug-ins/SpatialitePlugin/trunk/src/org/jam/openjump/spatialiteplugin/SpatialiteDialog.java?
>
>
> -Jukka-
>
> edgar.soldin wrote:
>   
> On 18.05.2015 13:53, Rahkonen Jukka (MML) wrote:
>> Hi developers,
>>
>>   
>>
>> What is that system called which allows to keep the plugin open and to jump 
>> between the plugin window and the map view without closing the plugin in 
>> between? The DB Query Plugin allows that but the SpatiaLite plugin must be 
>> closed before doing anything on the map. And when the plugin is closed the 
>> database connection must be made again. I wonder if it would be hard to make 
>> also the SpatiaLite plugin to run in an own thread or process of whatever it 
>> is called.
>>
> the concept is called "modal dialog"
>   http://en.wikipedia.org/wiki/Modal_window
>
> and it is merely a setting. the whole swing gui is rendered within on thread 
> irrespective how many windows it created.
>
> usually it is used when the input is needed to continue or changes in the 
> underlying windows would conflict with whatever the foreground window is 
> supposed to do.
>
> ..ede
>
> ------------------------------------------------------------------------------
> One dashboard for servers and applications across Physical-Virtual-Cloud 
> Widest out-of-the-box monitoring support with 50+ applications Performance 
> metrics, stats and reports that give you Actionable Insights Deep dive 
> visibility with transaction tracing using APM Insight.
> http://ad.doubleclick.net/ddm/clk/290420510;117567292;y
> _______________________________________________
> Jump-pilot-devel mailing list
> Jump-pilot-devel@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/jump-pilot-devel
>
> ------------------------------------------------------------------------------
> One dashboard for servers and applications across Physical-Virtual-Cloud
> Widest out-of-the-box monitoring support with 50+ applications
> Performance metrics, stats and reports that give you Actionable Insights
> Deep dive visibility with transaction tracing using APM Insight.
> http://ad.doubleclick.net/ddm/clk/290420510;117567292;y
> _______________________________________________
> Jump-pilot-devel mailing list
> Jump-pilot-devel@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/jump-pilot-devel
>


------------------------------------------------------------------------------
One dashboard for servers and applications across Physical-Virtual-Cloud 
Widest out-of-the-box monitoring support with 50+ applications
Performance metrics, stats and reports that give you Actionable Insights
Deep dive visibility with transaction tracing using APM Insight.
http://ad.doubleclick.net/ddm/clk/290420510;117567292;y
_______________________________________________
Jump-pilot-devel mailing list
Jump-pilot-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jump-pilot-devel

Reply via email to