Skip to content
Snippets Groups Projects
Commit b071160f authored by Lucas Stratmann's avatar Lucas Stratmann
Browse files

Fixes some Warnings

parent 442ce120
No related branches found
No related tags found
No related merge requests found
......@@ -44,6 +44,10 @@ import tec.letsgoing.ardublock.simulator.view.modules.RGB;
*
*/
public class GUI extends JFrame implements Runnable, ActionListener {
/**
*
*/
private static final long serialVersionUID = 1L;
private static final int MAXIMUM_MESSAGES = 100;
private Vector<String> serialprint = new Vector<String>();
private Modul[] modules = new Modul[4];
......@@ -66,6 +70,11 @@ public class GUI extends JFrame implements Runnable, ActionListener {
Container mainPane = this.getContentPane();
JPanel modulPanel = new JPanel(new BorderLayout()) {
/**
*
*/
private static final long serialVersionUID = 1L;
@Override
public void paint(Graphics g) {
......
......@@ -43,6 +43,11 @@ public class ArduinoUno extends Modul {
layerpane.add(chiplabel, 0);
JLabel labelPower = new JLabel() {
/**
*
*/
private static final long serialVersionUID = 1L;
@Override
public void paintComponent(Graphics g) {
Graphics2D ga = (Graphics2D) g;
......@@ -60,6 +65,11 @@ public class ArduinoUno extends Modul {
layerpane.add(labelPower, 0);
JLabel label13 = new JLabel() {
/**
*
*/
private static final long serialVersionUID = 1L;
@Override
public void paintComponent(Graphics g) {
Graphics2D ga = (Graphics2D) g;
......
......@@ -36,6 +36,11 @@ public class RGB extends Modul {
layerpane.add(chiplabel, 1);
JLabel ledlabel = new JLabel() {
/**
*
*/
private static final long serialVersionUID = 1L;
@Override
public void paintComponent(Graphics g) {
Graphics2D ga = (Graphics2D) g;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment