git://source.jalview.org
/
jalview.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
JAL-4186 Turn JvOptionPane Callable<Void> handlers back into Runnable for jalviewjs...
[jalview.git]
/
src
/
jalview
/
jbgui
/
GSplitFrame.java
diff --git
a/src/jalview/jbgui/GSplitFrame.java
b/src/jalview/jbgui/GSplitFrame.java
index
2c618ba
..
4d531be
100644
(file)
--- a/
src/jalview/jbgui/GSplitFrame.java
+++ b/
src/jalview/jbgui/GSplitFrame.java
@@
-20,8
+20,6
@@
*/
package jalview.jbgui;
*/
package jalview.jbgui;
-import jalview.util.Platform;
-
import java.awt.Component;
import java.awt.MouseInfo;
import java.awt.Point;
import java.awt.Component;
import java.awt.MouseInfo;
import java.awt.Point;
@@
-31,6
+29,8
@@
import javax.swing.JInternalFrame;
import javax.swing.JSplitPane;
import javax.swing.plaf.basic.BasicInternalFrameUI;
import javax.swing.JSplitPane;
import javax.swing.plaf.basic.BasicInternalFrameUI;
+import jalview.util.Platform;
+
public class GSplitFrame extends JInternalFrame
{
protected static final int DIVIDER_SIZE = 5;
public class GSplitFrame extends JInternalFrame
{
protected static final int DIVIDER_SIZE = 5;
@@
-57,6
+57,8
@@
public class GSplitFrame extends JInternalFrame
*/
public GSplitFrame(GAlignFrame top, GAlignFrame bottom)
{
*/
public GSplitFrame(GAlignFrame top, GAlignFrame bottom)
{
+ setFrameIcon(null);
+ setName("jalview-splitframe");
this.topFrame = top;
this.bottomFrame = bottom;
this.topFrame = top;
this.bottomFrame = bottom;
@@
-102,7
+104,7
@@
public class GSplitFrame extends JInternalFrame
*/
protected void hideTitleBars()
{
*/
protected void hideTitleBars()
{
- if (new Platform().isAMac())
+ if (Platform.isAMacAndNotJS())
{
// this saves some space - but doesn't hide the title bar
topFrame.putClientProperty("JInternalFrame.isPalette", true);
{
// this saves some space - but doesn't hide the title bar
topFrame.putClientProperty("JInternalFrame.isPalette", true);