< prev index next >

src/java.desktop/share/classes/com/sun/java/swing/plaf/motif/MotifButtonListener.java

Print this page




  17  * You should have received a copy of the GNU General Public License version
  18  * 2 along with this work; if not, write to the Free Software Foundation,
  19  * Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
  20  *
  21  * Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA
  22  * or visit www.oracle.com if you need additional information or have any
  23  * questions.
  24  */
  25 
  26 
  27 package com.sun.java.swing.plaf.motif;
  28 
  29 import java.awt.*;
  30 import java.awt.event.*;
  31 import javax.swing.*;
  32 import javax.swing.plaf.basic.*;
  33 import javax.swing.event.*;
  34 
  35 /**
  36  * Button Listener
  37  * <p>
  38  *
  39  * @author Rich Schiavi
  40  */
  41 public class MotifButtonListener extends BasicButtonListener {
  42     public MotifButtonListener(AbstractButton b ) {
  43         super(b);
  44     }
  45 
  46     protected void checkOpacity(AbstractButton b) {
  47         b.setOpaque( false );
  48     }
  49 }


  17  * You should have received a copy of the GNU General Public License version
  18  * 2 along with this work; if not, write to the Free Software Foundation,
  19  * Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
  20  *
  21  * Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA
  22  * or visit www.oracle.com if you need additional information or have any
  23  * questions.
  24  */
  25 
  26 
  27 package com.sun.java.swing.plaf.motif;
  28 
  29 import java.awt.*;
  30 import java.awt.event.*;
  31 import javax.swing.*;
  32 import javax.swing.plaf.basic.*;
  33 import javax.swing.event.*;
  34 
  35 /**
  36  * Button Listener

  37  *
  38  * @author Rich Schiavi
  39  */
  40 public class MotifButtonListener extends BasicButtonListener {
  41     public MotifButtonListener(AbstractButton b ) {
  42         super(b);
  43     }
  44 
  45     protected void checkOpacity(AbstractButton b) {
  46         b.setOpaque( false );
  47     }
  48 }
< prev index next >