javax.swing

Class JApplet

public class JApplet extends Applet implements RootPaneContainer, Accessible

A top-level container that is usually used in web browsers.
Nested Class Summary
protected classJApplet.AccessibleJApplet
Provides accessibility support for JApplet.
Field Summary
protected AccessibleContextaccessibleContext
The accessible context for this JApplet.
protected JRootPanerootPane
protected booleanrootPaneCheckingEnabled
Constructor Summary
JApplet()
Method Summary
protected voidaddImpl(Component comp, Object constraints, int index)
protected JRootPanecreateRootPane()
AccessibleContextgetAccessibleContext()
ContainergetContentPane()
ComponentgetGlassPane()
JMenuBargetJMenuBar()
JLayeredPanegetLayeredPane()
DimensiongetPreferredSize()
JRootPanegetRootPane()
protected booleanisRootPaneCheckingEnabled()
protected StringparamString()
protected voidprocessKeyEvent(KeyEvent e)
voidremove(Component comp)
voidsetContentPane(Container contentPane)
voidsetGlassPane(Component glassPane)
voidsetJMenuBar(JMenuBar menubar)
voidsetLayeredPane(JLayeredPane layeredPane)
voidsetLayout(LayoutManager manager)
protected voidsetRootPane(JRootPane root)
protected voidsetRootPaneCheckingEnabled(boolean enabled)
voidupdate(Graphics g)

Field Detail

accessibleContext

protected AccessibleContext accessibleContext
The accessible context for this JApplet.

rootPane

protected JRootPane rootPane

rootPaneCheckingEnabled

protected boolean rootPaneCheckingEnabled

UNKNOWN: rootPaneCheckingEnabled is false to comply with J2SE 5.0

Constructor Detail

JApplet

public JApplet()

Method Detail

addImpl

protected void addImpl(Component comp, Object constraints, int index)

createRootPane

protected JRootPane createRootPane()

getAccessibleContext

public AccessibleContext getAccessibleContext()

getContentPane

public Container getContentPane()

getGlassPane

public Component getGlassPane()

getJMenuBar

public JMenuBar getJMenuBar()

getLayeredPane

public JLayeredPane getLayeredPane()

getPreferredSize

public Dimension getPreferredSize()

getRootPane

public JRootPane getRootPane()

isRootPaneCheckingEnabled

protected boolean isRootPaneCheckingEnabled()

paramString

protected String paramString()

processKeyEvent

protected void processKeyEvent(KeyEvent e)

remove

public void remove(Component comp)

setContentPane

public void setContentPane(Container contentPane)

setGlassPane

public void setGlassPane(Component glassPane)

setJMenuBar

public void setJMenuBar(JMenuBar menubar)

setLayeredPane

public void setLayeredPane(JLayeredPane layeredPane)

setLayout

public void setLayout(LayoutManager manager)

setRootPane

protected void setRootPane(JRootPane root)

setRootPaneCheckingEnabled

protected void setRootPaneCheckingEnabled(boolean enabled)

update

public void update(Graphics g)