Added serialVerionUID constants.
This commit is contained in:
parent
5fa828c450
commit
1bc91a2394
@ -16,7 +16,9 @@ package Triangle.SyntacticAnalyzer;
|
|||||||
|
|
||||||
class SyntaxError extends Exception {
|
class SyntaxError extends Exception {
|
||||||
|
|
||||||
SyntaxError() {
|
private static final long serialVersionUID = -5280306336102766860L;
|
||||||
|
|
||||||
|
SyntaxError() {
|
||||||
super();
|
super();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -25,7 +25,12 @@ import javax.swing.JPanel;
|
|||||||
import javax.swing.JScrollPane;
|
import javax.swing.JScrollPane;
|
||||||
|
|
||||||
class DrawerFrame extends JFrame {
|
class DrawerFrame extends JFrame {
|
||||||
public DrawerFrame(JPanel panel) {
|
/**
|
||||||
|
*
|
||||||
|
*/
|
||||||
|
private static final long serialVersionUID = -3650404598416929282L;
|
||||||
|
|
||||||
|
public DrawerFrame(JPanel panel) {
|
||||||
setSize(300, 200);
|
setSize(300, 200);
|
||||||
Toolkit tk = Toolkit.getDefaultToolkit();
|
Toolkit tk = Toolkit.getDefaultToolkit();
|
||||||
Dimension d = tk.getScreenSize();
|
Dimension d = tk.getScreenSize();
|
||||||
|
@ -20,7 +20,11 @@ import java.awt.Graphics;
|
|||||||
import javax.swing.JPanel;
|
import javax.swing.JPanel;
|
||||||
|
|
||||||
class DrawerPanel extends JPanel {
|
class DrawerPanel extends JPanel {
|
||||||
private Drawer drawer;
|
/**
|
||||||
|
*
|
||||||
|
*/
|
||||||
|
private static final long serialVersionUID = 565914745506889669L;
|
||||||
|
private Drawer drawer;
|
||||||
|
|
||||||
public DrawerPanel(Drawer drawer) {
|
public DrawerPanel(Drawer drawer) {
|
||||||
setPreferredSize(new Dimension(4096, 4096));
|
setPreferredSize(new Dimension(4096, 4096));
|
||||||
|
Reference in New Issue
Block a user