java.lang.Thread sortThread
int[] arr
shuffled
. It will contain
positive integers smaller than the Frame's width in pixels. SortApp.algorithm
has to sort it and must mark
substantial steps by one of callback methods SortApp.pause(int, int)
etc.int obItem
int untItem
java.lang.String algName
SortApp.SortAlgorithm
so named will be looked up in the same package (de.weaut.demos) as
single file or in the application's .jar-File.SortApp.SortAlgorithm algorithm
int hApp
int bApp
int lArr
re-shuffling
. If changed an
new array SortApp.arr
will be provided accordingly. SortApp.bApp
, SortApp.hStrich
and SortApp.hLcke
just to fill the frame's height but never less than
3.int hStrich
int hLcke
long lenPau
java.util.Random rand
java.awt.image.BufferedImage buffI
java.awt.Graphics buGr
java.awt.Color bgCol
int steps