The Artima Developer Community
Interactive Illustrations | Order the Book | Print | Email | Previous | Next
Sponsored Link

Links to Source Code

Advertisement

The Java Virtual Machine Simulator Applets
The Java Virtual Machine simulator applets all share a common package, COM.artima.jvmsim, that contains the bulk of the code that performs the simulation. For each individual applet, a class in the unnamed package serves as a "personality module" that customizes the behavior of the COM.artima.jvmsim code. All of these personality module classes descend from class COM.artima.jvmsim.JVMSimulator, which in turn descends from class java.applet.Applet. The personality module classes take as their name the title of the applet they represent. For example, the personality module for the Eternal Math applet is EternalMath.java.

The source files for the personality module classes are contained in the applets/JVMSimultators directory of the CD-ROM. One other class--Ball.java, an exception used by the Play Ball! applet--also resides in this directory. Here's a full list of the classes in the unnamed package for the Java Virtual Machine simulator applets:

Ball.java
CircleOfSquares.java
ConversionDiversion.java
EternalMath.java
FibonacciForever.java
HopAround.java
LogicalResults.java
PlayBall.java
PrimeTime.java
SayingTomato.java
SlicesOfPi.java
ThreeDArray.java

A list of the types in package COM.artima.jvmsim is shown below. These source files are contained in the applets/JVMSimultators/COM/artima/jvmsim directory of the CD-ROM:

BreakpointException.java
ColoredLabel.java
ConstantPoolEntry.java
ExceptionTableEntry.java
GrayButton.java
GridSnapLayout.java
HexString.java
JVMSimError.java
JVMSimulator.java
LocalVarsPanel.java
Method.java
MethodAreaPanel.java
OpCode.java
OperandStackPanel.java
ReturnAddress.java
StackFrame.java
StringTable.java

The Heap of Fish Applet
The types that make up the Heap of Fish applet, all of which reside in the unnamed package, are listed below. These source files are contained in the applets/HeapOfFish directory of the CD-ROM. AllocateFishButtonPanel.java
AllocateFishPanel.java
AssignReferencesCanvas.java
AssignReferencesCanvases.java
AssignReferencesCheckboxPanel.java
AssignReferencesPanel.java
BigRedFishIcon.java
BlueFishButtonCanvas.java
BlueFishButtonPanel.java
ColoredLabel.java
CompactHeapButtonPanel.java
CompactHeapCanvas.java
CompactHeapPanel.java
FishIcon.java
GarbageCollectButtonPanel.java
GarbageCollectCanvas.java
GarbageCollectPanel.java
GCHeap.java
HeapOfFish.java
HeapOfFishCanvases.java
HeapOfFishControlPanel.java
HeapOfFishModeCheckboxPanel.java
HeapOfFishStrings.java
HeapOfFishTextArea.java
LinkFishCanvas.java
LittleYellowFishIcon.java
LocalVariables.java
MediumBlueFishIcon.java
MoveFishCanvas.java
ObjectHandle.java
PoolsCanvas.java
RedFishButtonCanvas.java
RedFishButtonPanel.java
SwimmingFishCanvas.java
UnlinkFishCanvas.java
YellowFishButtonCanvas.java
YellowFishButtonPanel.java

The Getting Loaded Applet
The types that make up the Getting Loaded applet, all of which reside in the unnamed package, are listed below. These source files are contained in the applets/GettingLoaded directory of the CD-ROM. ButtonPanel.java
ColoredLabel.java
ControlPanel.java
GettingLoaded.java
HexString.java
JVMPacman.java
StepNode.java

The Inner Int Applet
The types that make up the Inner Int applet, all of which reside in the unnamed package, are listed below. These source files are contained in the applets/InnerInt directory of the CD-ROM. ColoredLabel.java
GrayButton.java
InnerInt.java
PanelWithInsets.java
StringTable.java

The Inner Float Applet
The types that make up the Inner Float applet, all of which reside in the unnamed package, are listed below. These source files are contained in the applets/InnerFloat directory of the CD-ROM. ColoredLabel.java
GrayButton.java
InnerFloat.java
PanelWithInsets.java

Interactive Illustrations | Order the Book | Print | Email | Previous | Next

Sponsored Links



Google
  Web Artima.com   
Copyright © 1996-2019 Artima, Inc. All Rights Reserved. - Privacy Policy - Terms of Use