示例#1
0
  /** Sets the call stack with the given vector of method names. */
  public void setContents(Vector newMethodNames) {
    methodNames = (Vector) newMethodNames.clone();
    callStackTable.revalidate();

    Rectangle r = callStackTable.getCellRect(newMethodNames.size() - 1, 0, true);
    callStackTable.scrollRectToVisible(r);
    repaint();
  }
示例#2
0
 /** Resets the contents of this CallStackComponent. */
 public void reset() {
   methodNames.removeAllElements();
   callStackTable.revalidate();
   callStackTable.clearSelection();
 }
 /** Called when revalidate is required. */
 public void revalidateChange() {
   segmentTable.revalidate();
   repaint();
 }
 /** Sets the start address. */
 public void setStartAddress(int index) {
   startAddress = index;
   segmentTable.revalidate();
 }