Serialized Form
code
java.lang.String[] code
- Das ist der String, welcher den ganzen Code enthaelt.
Er ist eigentlich ein String Array, damit der Code
auch Zeilenweise gehandhabt werden kann
g2
java.awt.Graphics2D g2
- Das Grafik-Objekt fuer das Panel.
highlightLine
int highlightLine
- Die Zeile, die gehighlighted werden soll.
Das als globale Variable, die public ist, zu machen ist
sicher nicht sehr elegant, und spaeter wird das noch durch
eine Funktion setHighlighLine und getHighlightLine
ersetzt, die dann eine Range-Pruefung usw. durchfuehren kann.
b
int[] b
- The entire array that has to be sorted
barArray
MergeBar[] barArray
g2
java.awt.Graphics2D g2
- Graphics2D Object. This is the Object used for drawing the
bars on the screen.
highlightStart
int highlightStart
- The start-element to highlight. It is the beginning of the
part that is sorted right now
highlightStop
int highlightStop
- The end-element to highlight. It is the last element of the
part that is sorted right now
m
int m
- The maximum element. Used to determine the hight of the bars
sa
int[] sa
- The Array, that contains the elements that are to be merged
start
int start
- The beginning element that is to be copied in the temporary
merge-array.
stop
int stop
- The last element that is to be copied in the temporary
merge-array.
tempBarArray
MergeBar[] tempBarArray
b
int[] b
- The temp-array for the merge-process
codep
CodePanel codep
kicker
java.lang.Thread kicker
mp
MergePanel mp
numField
javax.swing.JTextField numField
sa
int[] sa
- The array to sort
status
javax.swing.JLabel status