Jalview-JS/JAL-3253-applet JAL-3266 Varna fix.
authorhansonr <hansonr@STO24954W.ad.stolaf.edu>
Thu, 16 May 2019 18:32:18 +0000 (13:32 -0500)
committerhansonr <hansonr@STO24954W.ad.stolaf.edu>
Thu, 16 May 2019 19:53:53 +0000 (14:53 -0500)
commit98d59199a7d3ecd84b44a1c24629a6687577f565
tree16cda73eb079cff7b08b9c7d1ef9b8251094ef4b
parent13419336c693c748320a389f5ad26f665ef40f4b
Jalview-JS/JAL-3253-applet JAL-3266 Varna fix.

For some reason, the JPopupMenu was being added to the JPanel with
Component.add(), and then removed with Component.removeAll()
-- during the painting process. This caused it to appear on the
window as its unstyled <ul><li>... list.

Also, during painting, Component.setBackground() was being set.
This is very nonstandard and cannot be recommended.
I am surprised it works in Java.

Working now in JavaScript. Export to SVG and PNG are very nice!
src/jalview/gui/AppVarna.java
srcjar/fr/orsay/lri/varna/VARNAPanel.java
swingjs/SwingJS-site.zip
swingjs/timestamp
swingjs/ver/3.2.4/SwingJS-site.zip
swingjs/ver/3.2.4/timestamp