Class Kugel

  extended by java.awt.Component
      extended by java.awt.Container
          extended by java.awt.Panel
              extended by java.applet.Applet
                  extended by ch.claudio.trials.Kugel
All Implemented Interfaces:
java.awt.image.ImageObserver, java.awt.MenuContainer,, javax.accessibility.Accessible

public final class Kugel
extends java.applet.Applet

Java Version: kugel.main mit Display ohne Disp. Display-Anteil SGI Indy 100 MHz R4600+R4610: 3.2 s 6.3 1.7 s 8.3 1.5 s 3.9 SGI Indy 100 MHz R4600+R4610 (-nojit) 11 s 1.8 8.2 s 1.7 2.8 s 2.1 SGI Indy 100 MHz R4600+R4610 (-O): 2.9 s 6.9 1.4 s 10 1.5 s 3.9 SGI Indy 100 MHz R4600+R4610 (-O -nojit): 10 s 2 7.4 s 1.9 2.6 s 2.3 Powerbook G3/400 MHz: 1.6 s 12.5 0.5s 14 1.1 s 12 Dell Inspiron 8500 Pentium 4-M 2.4GHz: 0.12s 167 0.08s 176 0.04s 147 kugel applet Pentium II 233 MHz Netscape Communicator 4.05: 0.8 s 25 Internet Explorer 4.01: 0.8 s 25 SGI Indy 100 MHz R4600+R4610, Netscape Communicator 4.03: 20 s 1 7.0 s 2 13 s 0.5 I couldn't get the System.out output from Hotjava. Handmeasured it gave me approx. 3 seconds, which is no surprise at all. This is the same as the times to execute the application in the Java VM, and HotJava is an application which runs under the same VM. Oberon version: kugel.zeichne mit Display ohne Disp. Display-Anteil Amiga 25 MHz 68030+68882: 20 s 1 14.1 s 1 5.9 s 1 Asus 133MHz Pentium, Linux 1.12.13: 0.39 s 51 0.28 s 50 0.11 s 54 Compaq MHz Pentium: 1.1 s 18 0.4 s 35 0.7 s 8.4 Decstation 5000/33, ?? Mhz R3000: 1.4 s 14 1.0 s 14 0.4 s 15 HP 712/80 80MHz PA7100LC: 0.64 s 31 0.45 s 31 0.19 s 31 Mac Powerbook 170, 25MHz 68030+68882: 41 s 0.48 14.4 s 1 26.9 s 0.22 Mac Powerbook 3400c, 200MHz PPC 604e: 2.95 s 6.8 0.28 s 50 2.67 s 2.2 SGI Indy 100 MHz R4600+R4610: 0.65 s 30 0.5 s 28 0.15 s 39 Java vs. Oberon on SGI Indy 100 MHZ R4600+R4610: [NOTE here factor is how much *SLOWER* Java is versus Oberon.] kugel mit Display ohne Disp. Display-Anteil Oberon 0.65 s 1 0.5 s 1 0.15 s 1 javac -O, java 2.9 s 4.7 1.4 s 2.8 1.5 s 10 javac, java 3.2 s 4.9 1.7 s 3.4 1.5 s 10 javac -O, java -nojit 10 s 15 7.4 s 15 2.6 s 17 javac, java -nojit 11 s 17 8.2 s 16 2.8 s 19 Netscape Communic. 4.03 20 s 31 7.0 s 14 13 s 87 Java vs. Oberon on Dell Inspiron 8500 2.4GHz Pentium 4M Oberon 0.08 s 1 0.03 s 1 0.05 s java 0.12 s 1.5 0.08 s 2.7 0.04 s 0.8

See Also:
Serialized Form

Nested Class Summary
Nested classes/interfaces inherited from class java.applet.Applet
Nested classes/interfaces inherited from class java.awt.Panel
Nested classes/interfaces inherited from class java.awt.Container
Nested classes/interfaces inherited from class java.awt.Component
java.awt.Component.AccessibleAWTComponent, java.awt.Component.BaselineResizeBehavior, java.awt.Component.BltBufferStrategy, java.awt.Component.FlipBufferStrategy
Field Summary
Fields inherited from class java.awt.Component
Fields inherited from interface java.awt.image.ImageObserver
Constructor Summary
Method Summary
static void main(java.lang.String[] args)
 void paint(java.awt.Graphics g)
Methods inherited from class java.applet.Applet
destroy, getAccessibleContext, getAppletContext, getAppletInfo, getAudioClip, getAudioClip, getCodeBase, getDocumentBase, getImage, getImage, getLocale, getParameter, getParameterInfo, init, isActive, newAudioClip, play, play, resize, resize, setStub, showStatus, start, stop
Methods inherited from class java.awt.Panel
Methods inherited from class java.awt.Container
add, add, add, add, add, addContainerListener, addImpl, addPropertyChangeListener, addPropertyChangeListener, applyComponentOrientation, areFocusTraversalKeysSet, countComponents, deliverEvent, doLayout, findComponentAt, findComponentAt, getAlignmentX, getAlignmentY, getComponent, getComponentAt, getComponentAt, getComponentCount, getComponents, getComponentZOrder, getContainerListeners, getFocusTraversalKeys, getFocusTraversalPolicy, getInsets, getLayout, getListeners, getMaximumSize, getMinimumSize, getMousePosition, getPreferredSize, insets, invalidate, isAncestorOf, isFocusCycleRoot, isFocusCycleRoot, isFocusTraversalPolicyProvider, isFocusTraversalPolicySet, layout, list, list, locate, minimumSize, paintComponents, paramString, preferredSize, print, printComponents, processContainerEvent, processEvent, remove, remove, removeAll, removeContainerListener, removeNotify, setComponentZOrder, setFocusCycleRoot, setFocusTraversalKeys, setFocusTraversalPolicy, setFocusTraversalPolicyProvider, setFont, setLayout, transferFocusBackward, transferFocusDownCycle, update, validate, validateTree
Methods inherited from class java.awt.Component
action, add, addComponentListener, addFocusListener, addHierarchyBoundsListener, addHierarchyListener, addInputMethodListener, addKeyListener, addMouseListener, addMouseMotionListener, addMouseWheelListener, bounds, checkImage, checkImage, coalesceEvents, contains, contains, createImage, createImage, createVolatileImage, createVolatileImage, disable, disableEvents, dispatchEvent, enable, enable, enableEvents, enableInputMethods, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, getBackground, getBaseline, getBaselineResizeBehavior, getBounds, getBounds, getColorModel, getComponentListeners, getComponentOrientation, getCursor, getDropTarget, getFocusCycleRootAncestor, getFocusListeners, getFocusTraversalKeysEnabled, getFont, getFontMetrics, getForeground, getGraphics, getGraphicsConfiguration, getHeight, getHierarchyBoundsListeners, getHierarchyListeners, getIgnoreRepaint, getInputContext, getInputMethodListeners, getInputMethodRequests, getKeyListeners, getLocation, getLocation, getLocationOnScreen, getMouseListeners, getMouseMotionListeners, getMousePosition, getMouseWheelListeners, getName, getParent, getPeer, getPropertyChangeListeners, getPropertyChangeListeners, getSize, getSize, getToolkit, getTreeLock, getWidth, getX, getY, gotFocus, handleEvent, hasFocus, hide, imageUpdate, inside, isBackgroundSet, isCursorSet, isDisplayable, isDoubleBuffered, isEnabled, isFocusable, isFocusOwner, isFocusTraversable, isFontSet, isForegroundSet, isLightweight, isMaximumSizeSet, isMinimumSizeSet, isOpaque, isPreferredSizeSet, isShowing, isValid, isVisible, keyDown, keyUp, list, list, list, location, lostFocus, mouseDown, mouseDrag, mouseEnter, mouseExit, mouseMove, mouseUp, move, nextFocus, paintAll, postEvent, prepareImage, prepareImage, printAll, processComponentEvent, processFocusEvent, processHierarchyBoundsEvent, processHierarchyEvent, processInputMethodEvent, processKeyEvent, processMouseEvent, processMouseMotionEvent, processMouseWheelEvent, remove, removeComponentListener, removeFocusListener, removeHierarchyBoundsListener, removeHierarchyListener, removeInputMethodListener, removeKeyListener, removeMouseListener, removeMouseMotionListener, removeMouseWheelListener, removePropertyChangeListener, removePropertyChangeListener, repaint, repaint, repaint, repaint, requestFocus, requestFocus, requestFocusInWindow, requestFocusInWindow, reshape, setBackground, setBounds, setBounds, setComponentOrientation, setCursor, setDropTarget, setEnabled, setFocusable, setFocusTraversalKeysEnabled, setForeground, setIgnoreRepaint, setLocale, setLocation, setLocation, setMaximumSize, setMinimumSize, setName, setPreferredSize, setSize, setSize, setVisible, show, show, size, toString, transferFocus, transferFocusUpCycle
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait

Constructor Detail


public Kugel()
Method Detail


public static void main(java.lang.String[] args)
args -


public void paint(java.awt.Graphics g)
paint in class java.awt.Container
See Also: