package ui.model; public class iDCounter { private static int counter = 0; public static synchronized int nextId() { return ++counter; } }