-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathDrawHelp.java
More file actions
33 lines (30 loc) · 808 Bytes
/
DrawHelp.java
File metadata and controls
33 lines (30 loc) · 808 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
import java.awt.BorderLayout;
import java.awt.Dimension;
import javax.swing.ImageIcon;
import javax.swing.JFrame;
import javax.swing.JLabel;
import javax.swing.JPanel;
/**
* Allows the frame drawing.
*
* @author Mak Fazlic & Roberto Ferrari - Latex project.
* @version v1.0
*/
public class DrawHelp extends JFrame
{
/**
* Constructor for objects of class DrawHelp.
*/
public DrawHelp() {
super();
setTitle("Help page - Important commands");
setLayout(new BorderLayout());
this.setPreferredSize(new Dimension(640, 1000));
final JPanel panel = new JPanel();
add(panel);
final JLabel label = new JLabel();
label.setIcon(new ImageIcon("help.png"));
add(label, BorderLayout.CENTER);
pack();
}
}