/** * Constructor */ public observer(int x, int y, int width, int height, Panel parent) { this.x = x; this.y = y; this.width = width; this.height = height; this.parent = parent; LL_list = new ArrayList(); }
//loading new driver public void newDeviceInit(string _choose) { if (_choose == "left") { this._current = this._right; } else if (_choose == "right") { this._current = this._left; } this._current.selectDriver(); }