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
minor Platform.isAMac() clean up
[jalview.git]
/
src
/
jalview
/
jbgui
/
GSplitFrame.java
diff --git
a/src/jalview/jbgui/GSplitFrame.java
b/src/jalview/jbgui/GSplitFrame.java
index
4b15050
..
0549f17
100644
(file)
--- a/
src/jalview/jbgui/GSplitFrame.java
+++ b/
src/jalview/jbgui/GSplitFrame.java
@@
-109,7
+109,7
@@
public class GSplitFrame extends JInternalFrame
*/
protected void hideTitleBars()
{
*/
protected void hideTitleBars()
{
- if (new Platform().isAMac())
+ if (Platform.isAMac())
{
// 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);