If the widget has not yet been drawn (and doesn't have a parent or master), this method calls the draw method as well.
435436437438439440441442443444445
Canvas canvas = currentSubTab.getCanvas(); if (canvas != null) { if (hasMember(canvas)) { if (!canvas.isVisible() && showCanvas) { canvas.show(); } } else { if (!canvas.isCreated()) { canvas.setOverflow(Overflow.SCROLL); }
443444445446447448449450451452453
if (!canvas.isCreated()) { canvas.setOverflow(Overflow.SCROLL); } addMember(canvas); if (!canvas.isVisible() && showCanvas) { canvas.show(); } } markForRedraw(); this.currentlyDisplayed = currentSubTab; }