Added serialVerionUID constants.

main
Deryck Brown 3 years ago
parent 5fa828c450
commit 1bc91a2394
  1. 2
      Triangle.Compiler/src/main/java/Triangle/SyntacticAnalyzer/SyntaxError.java
  2. 5
      Triangle.Compiler/src/main/java/Triangle/TreeDrawer/DrawerFrame.java
  3. 4
      Triangle.Compiler/src/main/java/Triangle/TreeDrawer/DrawerPanel.java

@ -16,6 +16,8 @@ package Triangle.SyntacticAnalyzer;
class SyntaxError extends Exception { class SyntaxError extends Exception {
private static final long serialVersionUID = -5280306336102766860L;
SyntaxError() { SyntaxError() {
super(); super();
} }

@ -25,6 +25,11 @@ import javax.swing.JPanel;
import javax.swing.JScrollPane; import javax.swing.JScrollPane;
class DrawerFrame extends JFrame { class DrawerFrame extends JFrame {
/**
*
*/
private static final long serialVersionUID = -3650404598416929282L;
public DrawerFrame(JPanel panel) { public DrawerFrame(JPanel panel) {
setSize(300, 200); setSize(300, 200);
Toolkit tk = Toolkit.getDefaultToolkit(); Toolkit tk = Toolkit.getDefaultToolkit();

@ -20,6 +20,10 @@ import java.awt.Graphics;
import javax.swing.JPanel; import javax.swing.JPanel;
class DrawerPanel extends JPanel { class DrawerPanel extends JPanel {
/**
*
*/
private static final long serialVersionUID = 565914745506889669L;
private Drawer drawer; private Drawer drawer;
public DrawerPanel(Drawer drawer) { public DrawerPanel(Drawer drawer) {