JAL-3451 JalviewJS embedded mode not resizing
authorhansonr <hansonr@STO24954W.ad.stolaf.edu>
Sun, 6 Oct 2019 10:41:22 +0000 (12:41 +0200)
committerhansonr <hansonr@STO24954W.ad.stolaf.edu>
Sun, 6 Oct 2019 10:41:22 +0000 (12:41 +0200)
commitcb51e62fe2166b236ef488e0a8f35081fcd71388
tree51bbf1781f903f504501bd2a0ccf35485c258489
parentb270ce5a0ac5eab15e50a750eb00029c08d8cb2d
JAL-3451 JalviewJS embedded mode not resizing

- adds Platform.getDimIfEmbedded(frame, defaultWidth, defaultHeight)
- implemented for AlignFrame, TreePanel, and PCAPanel
site-resources/jalview_embedded_example1.html
src/jalview/bin/Jalview.java
src/jalview/gui/AlignFrame.java
src/jalview/gui/Desktop.java
src/jalview/gui/PCAPanel.java
src/jalview/project/Jalview2XML.java
src/jalview/util/Platform.java