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