I'm trying to create an LED stopwatch GUI but am completely stumped. I have the skeleton code but haven't really been able to do anything with it, and ran into some errors while compiliing:
Code:
assig5.java:75: reference to Timer is ambiguous, both class javax.swing.Timer in
javax.swing and class java.util.Timer in java.util match
private Timer T;
^
assig5.java:19: non-static variable this cannot be referenced from a static cont
ext
new A5Help(sz, rate);
^
assig5.java:102: reference to Timer is ambiguous, both class javax.swing.Timer i
n javax.swing and class java.util.Timer in java.util match
T = new Timer(rate, this);
^
3 errors
I'm new to java, but i took visual basic for 3 years in high school so i understand it conceptually. I just can't physically program too well yet.
Last edited by jenseits; December 1st, 2008 at 11:32 PM.
* The Best Reasons to Target Windows 8
Learn some of the best reasons why you should seriously consider bringing your Android mobile development expertise to bear on the Windows 8 platform.