KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > com > sun > java > swing > plaf > motif > MotifButtonListener


1 /*
2  * @(#)MotifButtonListener.java 1.18 03/12/19
3  *
4  * Copyright 2004 Sun Microsystems, Inc. All rights reserved.
5  * SUN PROPRIETARY/CONFIDENTIAL. Use is subject to license terms.
6  */

7  
8
9 package com.sun.java.swing.plaf.motif;
10
11 import java.awt.*;
12 import java.awt.event.*;
13 import javax.swing.*;
14 import javax.swing.plaf.basic.*;
15 import javax.swing.event.*;
16
17 /**
18  * Button Listener
19  * <p>
20  *
21  * @version 1.18 12/19/03
22  * @author Rich Schiavi
23  */

24 public class MotifButtonListener extends BasicButtonListener {
25     public MotifButtonListener(AbstractButton b ) {
26         super(b);
27     }
28
29     protected void checkOpacity(AbstractButton b) {
30     b.setOpaque( false );
31     }
32 }
33
34
35
Popular Tags