/**
* Constructs a new MemorySegmentsComponent.
*/
public MemorySegmentsComponent() {
// creating the segments and giving them names.
staticSegment = new MemorySegmentComponent();
staticSegment.setSegmentName("Static");
localSegment = new MemorySegmentComponent();
localSegment.setSegmentName("Local");
argSegment = new MemorySegmentComponent();
argSegment.setSegmentName("Argument");
thisSegment = new MemorySegmentComponent();
thisSegment.setSegmentName("This");
thatSegment = new MemorySegmentComponent();
thatSegment.setSegmentName("That");
tempSegment = new MemorySegmentComponent();
tempSegment.setSegmentName("Temp");
// creating the split panes.
segmentsSplitPane5 = new JSplitPane(JSplitPane.VERTICAL_SPLIT, thatSegment, tempSegment);
segmentsSplitPane4 = new JSplitPane(JSplitPane.VERTICAL_SPLIT, thisSegment, segmentsSplitPane5);