-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathPlot.java
53 lines (46 loc) · 1.11 KB
/
Plot.java
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
41
42
43
44
45
46
47
48
49
50
51
52
53
import java.awt.EventQueue;
import java.io.BufferedReader;
import java.io.File;
import java.io.FileNotFoundException;
import java.io.FileReader;
import java.io.IOException;
import java.util.Scanner;
import javax.swing.JFrame;
import javax.swing.JOptionPane;
import javax.swing.UIManager;
import javax.swing.UIManager.LookAndFeelInfo;
public class Plot {
private Plotf frame;
public static int a[] = new int[20];
/**
* Launch the application.
*/
public static void main(String[] args) {
EventQueue.invokeLater(new Runnable() {
public void run() {
try {
Plot window = new Plot();
// window.frame.setVisible(true);
JOptionPane.showMessageDialog(null,"Use Mouse Wheel to Zoom into graph");
} catch (Exception e) {
e.printStackTrace();
}
}
});
}
/**
* Create the application.
*/
public Plot()
{
initialize();
BufferedReader br = null;
}
private void initialize()
{
frame = new Plotf();
frame.setBounds(10, 10, 1288, 690);
frame.setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);
frame.setVisible(true);
}
}