home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
PC Plus SuperCD (UK) 2000 March
/
pcp161a.iso
/
handson
/
files
/
java
/
SwingButton.class
(
.txt
)
< prev
next >
Encoding:
Amiga
Atari
Commodore
DOS
FM Towns/JPY
Macintosh
Macintosh JP
Macintosh to JP
NeXTSTEP
RISC OS/Acorn
Shift JIS
UTF-8
Wrap
Java Class File
|
1999-11-28
|
550 b
|
9 lines
import com.sun.java.swing.JApplet;
import com.sun.java.swing.JButton;
public class SwingButton extends JApplet {
public void init() {
((JApplet)this).getContentPane().add(new JButton("This is a Swing Button"));
}
}