Class ALabel

java.lang.Object
   |
   +----java.awt.Component
           |
           +----java.awt.Label
                   |
                   +----ALabel

public class ALabel
extends Label
This is a replacement for Label. It is used as the StatusBar in PageViewer. This became necessary because the Applet gets no more keyEvents after the original Label's setText() has been called. This seems to different with Kaffe's Label class.


Variable Index

 o s

Constructor Index

 o ALabel()

Method Index

 o paint(Graphics)
This became necessary because Kaffe wants to repaint this class on window events and then throwed null pointer exceptions.
 o preferredSize()
This was necessary to make Kaffe start.
 o setText(String)

Variables

 o s
 String s

Constructors

 o ALabel
 public ALabel()

Methods

 o setText
 public void setText(String s)
Overrides:
setText in class Label
 o preferredSize
 public Dimension preferredSize()
This was necessary to make Kaffe start. Otherwise it could not initialize ALabel.

Overrides:
preferredSize in class Component
 o paint
 public void paint(Graphics g)
This became necessary because Kaffe wants to repaint this class on window events and then throwed null pointer exceptions. (beeep!, beeep!)

Overrides:
paint in class Component