Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- public void dodajBoje() {
- int[] colors = {Color.red.getRGB(),Color.green.getRGB(),Color.blue.getRGB(),4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25};
- for (int i = 0; i < listaTrips.size(); i++) {
- listaTrips.get(i).setColor(colors[i]);
- }
- for (Trip t : listaTrips) {
- System.out.println("BOJA " + t.getColor());
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement