Hi,
The image disappears also for me with r4455 initially but if I just zoom in
one time it comes back and stays visible after that.
-Jukka Rahkonen-
Uwe Dalluege wrote:
Hi Peppe,
thank you for your quick answer.
Unfortunately the rasterimage disappears after pressing the Apply button.
Firs
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
Revision: 4456
http://sourceforge.net/p/jump-pilot/code/4456
Author: ma15569
Date: 2015-05-20 17:44:56 + (Wed, 20 May 2015)
Log Message:
---
Correct bug described by Uwe (Apply or Ok on Change Image Properties and the
image disappears). Now the plugin has two behaviors:
-- Forwarded message --
From: Giuseppe Aruta
Date: 2015-05-20 19:12 GMT+02:00
Subject: Re: [JPP-Devel] NullPointerException Change Raster Image Properties
To: "Rahkonen Jukka (MML)"
I found the problem.
Actually Change Raster Style Plugin activates in the same time 3 different
-- Forwarded message --
From: Giuseppe Aruta
Date: 2015-05-20 18:07 GMT+02:00
Subject: Re: [JPP-Devel] NullPointerException Change Raster Image Properties
To: "Rahkonen Jukka (MML)"
Hi Uwe, Jukka,
Jukka is right. Zooming in/out to let the image appear again. But also
clicking th
-- Forwarded message --
From: Giuseppe Aruta
Date: 2015-05-20 20:33 GMT+02:00
Subject: Re: [JPP-Devel] NullPointerException Change Raster Image Properties
To: "Rahkonen Jukka (MML)"
Applied the modifications,
see OpenJUMP version 4456.
Peppe
2015-05-20 19:12 GMT+02:00 Giuseppe
close ;), but according to
http://docs.oracle.com/javase/7/docs/api/java/awt/Dialog.html#DEFAULT_MODALITY_TYPE
JDialog seems to be modal by default
you can use
http://docs.oracle.com/javase/7/docs/api/java/awt/Dialog.html#setModalityType%28java.awt.Dialog.ModalityType%29
to set it "un"modal
.
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
Hi Michaël and Ede,
I can only say that all that you said was super true. Editing line 79 into
super(...,false) did the trick. For this plugin it is absolutely better this
way. I will start a new v. 1.5 development with this change.
-Jukka-
Michaël Michaud wrote:
Hi Jukka,
Line 79, the Sp