-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy pathDisplay.java
More file actions
35 lines (31 loc) · 773 Bytes
/
Display.java
File metadata and controls
35 lines (31 loc) · 773 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
/* Display.java
* ~~~~~~~~~~~~
* Please do not remove the following notices.
* Copyright (c) 2010 by Geekscape Pty. Ltd.
* License: GPLv3. http://geekscape.org/static/parrot_license.html
*
* To Do
* ~~~~~
* - Implement Swing GUI (review iPhone UI).
* - Provide emergency button.
* - Protocol reset.
* - Flat trim.
* - Take-off and landing buttons.
* - Display navigation.
* - Link and flight error messages.
* - Battery level meter.
* - Log console with filtering.
* - Configuration.
*
* - Video ?
*/
import javax.swing.*;
public class Display extends JFrame {
public Display(
KeyboardInput keyboardInput) {
addKeyListener(keyboardInput);
setDefaultCloseOperation(EXIT_ON_CLOSE);
setSize(320, 320);
setVisible(true);
}
}