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

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