[udig-devel] modality of the shell for a tool window

Jesse Eichar jeichar.w at gmail.com
Thu May 8 01:11:05 PDT 2008


I'm just curious.  What awt image are you drawing to?  i assume this  
isn't for display on the Map...  Maybe a MapGraphic?

On 7-May-08, at 6:11 PM, andrea antonello wrote:

>> Don't use the application modality style.
>> Use the ON_TOP style
>> and maybe consider creating a new shell without a parent shell to  
>> inherit
>> from
>
> Thanks Jesse,
> I will try that later.
>
> I have another question for AWTGraphics :)
> Since for freehand drawing the only nice caps and joins are the
> rounded ones, I was wondering if it would be possible to add also a
> case:
>
>        case LINE_SOLID_ROUNDED: {
>            g.setStroke(new BasicStroke(width, BasicStroke.CAP_ROUND,
>                    BasicStroke.JOIN_ROUND));
>            break;
>        }
>
> so the setStroke method, with LINE_SOLID_ROUNDED = 6.
>
> We have no way to pass those params to the ViewPortGraphics, right?
>
> Ciao
> Andrea
>
>
>>
>> Jesse
>>
>>
>>
>> On 7-May-08, at 4:26 PM, andrea antonello wrote:
>>
>>
>>>
>>>
>>>
>>> I need to have a floating window keeping some properties in it,  
>>> while
>>> I interact with the map through a tool.
>>> I can't find the way to define the shell's style to have the  
>>> window to
>>> stay on top, but also letting me interact with the mapwindow.
>>>
>>> Thanks,
>>> Andrea
>>> _______________________________________________
>>> User-friendly Desktop Internet GIS (uDig)
>>> http://udig.refractions.net
>>> http://lists.refractions.net/mailman/listinfo/udig-devel
>>>
>>
>> _______________________________________________
>> User-friendly Desktop Internet GIS (uDig)
>> http://udig.refractions.net
>> http://lists.refractions.net/mailman/listinfo/udig-devel
>>
> _______________________________________________
> User-friendly Desktop Internet GIS (uDig)
> http://udig.refractions.net
> http://lists.refractions.net/mailman/listinfo/udig-devel



More information about the udig-devel mailing list