P
P
P_Alexander2016-08-19 16:39:38
Java
P_Alexander, 2016-08-19 16:39:38

Why is everything fine in NetBeans when creating a timer, but not in Eclipse?

// NetBeans - when creating a timer, it does not emphasize anything and does not require the use of the TimerTask() class;
Timer t = new Timer( 1000/SPEED,this); //- so in NetBeans everything is fine!! you can use it without the wrapper class!
Timer t = new Timer( 1000/SPEED,this);// - in Eclipse it emphasizes this, it doesn't work here, you need a wrapper class! Why is that!

Answer the question

In order to leave comments, you need to log in

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question