(BoardPort boardPort)
| 119 | } |
| 120 | |
| 121 | public void resume(BoardPort boardPort) throws Exception { |
| 122 | setBoardPort(boardPort); |
| 123 | |
| 124 | // Enable the window |
| 125 | enableWindow(true); |
| 126 | |
| 127 | // If the window is visible, try to open the serial port |
| 128 | if (!isVisible()) { |
| 129 | return; |
| 130 | } |
| 131 | |
| 132 | open(); |
| 133 | } |
| 134 | |
| 135 | protected void setPlacement(int[] location) { |
| 136 | setBounds(location[0], location[1], location[2], location[3]); |
no test coverage detected