package stackprogramvisualiser;

import stackprogramvisualiser.gui.Gui;

import java.util.Stack;

public class StackProgramVisualiser {

	public static void main(String[] args) {
		new StackProgramVisualiser().init();
	}

	public StackProgramVisualiser() {
	}

	// let's get the party started
	public void init() {
		// dummy data
		Stack<Integer> dd = new Stack<Integer>();
		dd.push(12);
		dd.push(5);
		dd.push(19);
		dd.push(0);

		Gui gui = new Gui(this);
		gui.build();
		gui.setProgramCounter(13);
		gui.setStackDataSource(dd);
		gui.redrawStackGui();
	}

}

package stackprogramvisualiser;

import stackprogramvisualiser.gui.Gui;

public class StackProgramVisualiser {

	public static void main(String[] args) {
		new StackProgramVisualiser().init();
	}

	public StackProgramVisualiser() {
	}

	// let's get the party started
	public void init() {
		Gui gui = new Gui(this);
		gui.build();

		// default RHS view
		gui.setProgramCounter(0);
		gui.redrawStackGui();
	}

}

Remove dummy data