(Container parent)
| 166 | } |
| 167 | |
| 168 | protected Component createContents(Container parent) { |
| 169 | devicePanel = new SwingDeviceComponent(); |
| 170 | devicePanel.addKeyListener(devicePanel); |
| 171 | addKeyListener(devicePanel); |
| 172 | |
| 173 | return devicePanel; |
| 174 | } |
| 175 | |
| 176 | public static void setDeviceSize(DeviceDisplayImpl deviceDisplay, int width, int height) { |
| 177 | // move the soft buttons |