< prev index next >
src/java.desktop/share/classes/com/sun/java/swing/plaf/motif/MotifLookAndFeel.java
Print this page
rev 59383 : [mq]: final
*** 1,7 ****
/*
! * Copyright (c) 1997, 2017, Oracle and/or its affiliates. All rights reserved.
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
*
* This code is free software; you can redistribute it and/or modify it
* under the terms of the GNU General Public License version 2 only, as
* published by the Free Software Foundation. Oracle designates this
--- 1,7 ----
/*
! * Copyright (c) 1997, 2020, Oracle and/or its affiliates. All rights reserved.
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
*
* This code is free software; you can redistribute it and/or modify it
* under the terms of the GNU General Public License version 2 only, as
* published by the Free Software Foundation. Oracle designates this
*** 80,90 ****
return "The CDE/Motif Look and Feel";
}
public boolean isNativeLookAndFeel() {
! return OSInfo.getOSType() == OSInfo.OSType.SOLARIS;
}
public boolean isSupportedLookAndFeel() {
return true;
--- 80,90 ----
return "The CDE/Motif Look and Feel";
}
public boolean isNativeLookAndFeel() {
! return false;
}
public boolean isSupportedLookAndFeel() {
return true;
< prev index next >