[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[news.eclipse.tools.ve] Re: Changing Preview L&F

A new day and now I can't reproduce the issue with VE needing to re-open 
twice to pick up a L&F change.

The NPE is already bugged as  105205.

I've created  106088 as a RFE for being able to apply L&F changes without 
needing to close and re-open VE windows.

Joel


"Sri Gunturi" <sgunturi@xxxxxxxxxx> wrote in message 
news:dcr6cn$d5r$1@xxxxxxxxxxxxxxxxxxx
> imho I dont think apply is live, as the remote VM is not restarted on L&F 
> change. It should definitely pick it up the next time a VE editor is 
> opened. Please open a defect against VE for this and also put exceptions 
> you are seeing so that we can fix this 
> (https://bugs.eclipse.org/bugs/enter_bug.cgi?product=VE).
>
> If the NPE on setPaletteViewer() is a seperate problem, please open 
> another defect for that too so that we can fix it soon.
> Regards,
> Sri.
>
>
>
> Joel Kamentz wrote:
>> D'Oh!  I even looked at that page.
>>
>> How soon are changes supposed to take effect?  (Apply, for example, 
>> certainly isn't live.)
>>
>> Perhaps due to the NPE at 
>> org.eclipse.ve.internal.cde.core.EditDomain.setPaletteViewer(EditDomain.java:79) 
>> which I regularly get, I sometimes need to close and re-open the visual 
>> class twice before it picks up a new L&F setting.
>>
>> A little further testing....  It seems that if the VE is open when I make 
>> the preference change, then closing and re-opening the visual class picks 
>> up the change.  If the VE is closed when I change the L&F, then I need to 
>> open the visual class, close it and then re-open it to get the new L&F 
>> setting.
>>
>> Joel
>>
>> "Sri Gunturi" <sgunturi@xxxxxxxxxx> wrote in message 
>> news:dcqmhq$pmf$2@xxxxxxxxxxxxxxxxxxx
>>
>>>In the preferences one can change the look and feel of Swing 
>>>(Window>Preferences>Java>Visual Editor>Swing Look and Feel).
>>>Regards,
>>>Sri.
>>>
>>>Joel Kamentz wrote:
>>>
>>>>Is it possible to have the preview window use the System L&F rather than 
>>>>the cross-platform L&F?
>>>>
>>>>Joel
>>
>>