* calculate the maximum ratio that leaves at least the height
* of two sequences (after rounding) visible in the bottom panel
*/
* calculate the maximum ratio that leaves at least the height
* of two sequences (after rounding) visible in the bottom panel
*/
int bottomPanelMinHeight = bottomPanelHeight
- Math.max(0, bottomSequencesHeight - 3 * bottomCharHeight);
double maxRatio = (totalHeight - bottomPanelMinHeight) / totalHeight;
int bottomPanelMinHeight = bottomPanelHeight
- Math.max(0, bottomSequencesHeight - 3 * bottomCharHeight);
double maxRatio = (totalHeight - bottomPanelMinHeight) / totalHeight;
* Ctrl-W / Cmd-W - close view or window
*/
KeyStroke key_cmdW = KeyStroke.getKeyStroke(KeyEvent.VK_W,
* Ctrl-W / Cmd-W - close view or window
*/
KeyStroke key_cmdW = KeyStroke.getKeyStroke(KeyEvent.VK_W,
* Ctrl-T / Cmd-T open new view
*/
KeyStroke key_cmdT = KeyStroke.getKeyStroke(KeyEvent.VK_T,
* Ctrl-T / Cmd-T open new view
*/
KeyStroke key_cmdT = KeyStroke.getKeyStroke(KeyEvent.VK_T,
* Ctrl-F / Cmd-F open Finder dialog, 'focused' on the right alignment
*/
KeyStroke key_cmdF = KeyStroke.getKeyStroke(KeyEvent.VK_F,
* Ctrl-F / Cmd-F open Finder dialog, 'focused' on the right alignment
*/
KeyStroke key_cmdF = KeyStroke.getKeyStroke(KeyEvent.VK_F,