Commit 2f96eb20 authored by Patrik Persson's avatar Patrik Persson
Browse files

refactoring for fall 2018; silenced warnings

parent f514e152
......@@ -18,7 +18,8 @@ public class ClockCanvas extends Canvas {
private char[] lcdcache = { ' ', ' ', ' ', ' ', ' ', ' ', ' ', ' ' };
private char[] lcdcache2 = { ' ', ' ', ' ', ' ', ' ', ' ', ' ', ' ' };
public ClockCanvas(ClockGUI parent) {
@SuppressWarnings("deprecation")
public ClockCanvas(ClockGUI parent) {
setSize(400, 189);
buff = parent.createImage(400, 189);
backbuff = buff.getGraphics();
......
......@@ -6,6 +6,7 @@ import java.awt.event.*;
import todo.AlarmClock;
@SuppressWarnings("deprecation")
public class ClockGUI extends Applet implements KeyListener, ClockTimeDisplay, ItemListener {
private static final long serialVersionUID = 1L;
// Clock input mode
......
<?xml version="1.0" encoding="UTF-8"?>
<classpath>
<classpathentry kind="src" path="src"/>
<classpathentry kind="con" path="org.eclipse.jdt.launching.JRE_CONTAINER/org.eclipse.jdt.internal.debug.ui.launcher.StandardVMType/JavaSE-1.6"/>
<classpathentry kind="lib" path="resources/img.jar"/>
<classpathentry kind="con" path="org.eclipse.jdt.launching.JRE_CONTAINER/org.eclipse.jdt.internal.debug.ui.launcher.StandardVMType/JavaSE-1.6">
<attributes>
<attribute name="module" value="true"/>
</attributes>
</classpathentry>
<classpathentry kind="lib" path="/ljrt/ljrt.jar"/>
<classpathentry kind="output" path="bin"/>
</classpath>
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment