/** Reads the preferences file and starts listening to the network table */ public static void init() { read(); table.addTableListener( new ITableListener() { @Override public void valueChanged(ITable source, String key, Object value, boolean isNew) { // Make sure the code knows all the keys if (!keys.contains(key)) keys.add(key); } }, true); }