Override of interfaces is Java 1.6+
This commit is contained in:
parent
5617ddc1b3
commit
3b7d0b9546
|
@ -63,7 +63,7 @@ public class HelloWorldExample {
|
||||||
|
|
||||||
int generation = 0;
|
int generation = 0;
|
||||||
|
|
||||||
@Override
|
// @Override
|
||||||
public boolean isSatisfied(Population population) {
|
public boolean isSatisfied(Population population) {
|
||||||
Chromosome fittestChromosome = population.getFittestChromosome();
|
Chromosome fittestChromosome = population.getFittestChromosome();
|
||||||
|
|
||||||
|
|
|
@ -169,7 +169,7 @@ public class GeometryExample {
|
||||||
|
|
||||||
random.addActionListener(new ActionListener() {
|
random.addActionListener(new ActionListener() {
|
||||||
|
|
||||||
@Override
|
// @Override
|
||||||
public void actionPerformed(ActionEvent e) {
|
public void actionPerformed(ActionEvent e) {
|
||||||
canvas.getLayer().removeAllChildren();
|
canvas.getLayer().removeAllChildren();
|
||||||
|
|
||||||
|
@ -183,7 +183,7 @@ public class GeometryExample {
|
||||||
|
|
||||||
circle.addActionListener(new ActionListener() {
|
circle.addActionListener(new ActionListener() {
|
||||||
|
|
||||||
@Override
|
// @Override
|
||||||
public void actionPerformed(ActionEvent e) {
|
public void actionPerformed(ActionEvent e) {
|
||||||
canvas.getLayer().removeAllChildren();
|
canvas.getLayer().removeAllChildren();
|
||||||
|
|
||||||
|
@ -197,7 +197,7 @@ public class GeometryExample {
|
||||||
|
|
||||||
cross.addActionListener(new ActionListener() {
|
cross.addActionListener(new ActionListener() {
|
||||||
|
|
||||||
@Override
|
// @Override
|
||||||
public void actionPerformed(ActionEvent e) {
|
public void actionPerformed(ActionEvent e) {
|
||||||
canvas.getLayer().removeAllChildren();
|
canvas.getLayer().removeAllChildren();
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue