-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathdeclareUI.java
More file actions
40 lines (35 loc) · 1.55 KB
/
declareUI.java
File metadata and controls
40 lines (35 loc) · 1.55 KB
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
36
37
38
39
40
package sortingalgojava;
import java.awt.Container;
import javax.swing.*;
/**
*
* @author Makregio
*/
public interface declareUI {
processInput mak = new processInput();
JFrame mainframe = new JFrame("Sorting Algorithms");
Container frameContent = mainframe.getContentPane();
JMenuBar menuBar=new JMenuBar();
JPanel mainpanel = new JPanel();
JTextField txtin []= new JTextField[10];
JTextField txtout []= new JTextField[10];
JRadioButton insertion = new JRadioButton();
JRadioButton bubble = new JRadioButton();
JRadioButton merge = new JRadioButton();
JLabel insertionLabel = new JLabel("Insertion Sort");
JLabel bubbleLabel = new JLabel("Bubble Sort");
JLabel mergeLabel = new JLabel("Merge Sort");
JButton sort = new JButton("Sort");
JButton deletebtn = new JButton("Delete Entries");
JTextArea txtarea = new JTextArea();
JScrollPane scrollPane = new JScrollPane(txtarea);
ButtonGroup buttons = new ButtonGroup();
JLabel sortLabel = new JLabel();
JLabel passLabel = new JLabel("Passes:");
JLabel execLabel = new JLabel("Execution Time:");
JLabel passNum = new JLabel();
JLabel execTime = new JLabel();
JSeparator vline = new JSeparator(SwingConstants.VERTICAL);
JSeparator hline = new JSeparator(SwingConstants.HORIZONTAL);
JLabel footer = new JLabel("Marck Regio | Alshey Micu | Karl Marx Chua | Jeszelle Suetos v0.1");
}