// getContentPane().add(sp, BorderLayout.CENTER);
// BH 2018 - just an experiment to try unclipped JInternalFrames.
- // Must set for all three to be active:
if (Jalview.isJS())
{
getRootPane().putClientProperty("swingjs.overflow.hidden", "false");
- ((JComponent) getContentPane()).putClientProperty("swingjs.overflow.hidden", "false");
- desktop.putClientProperty("swingjs.overflow.hidden", "false");
}
getContentPane().add(desktop, BorderLayout.CENTER);
<!DOCTYPE html>
<html>
<head>
-<title>SwingJS test _NAME_</title><meta charset="utf-8" />
+<title>SwingJS test _NAME_</title>
+<meta charset="utf-8" />
<script src="swingjs/swingjs2.js"></script>
<script>
if (!self.SwingJS)alert('swingjs2.js was not found. It needs to be in swingjs folder in the same directory as ' + document.location.href)