static new WeakHashMap titleStatus_map; static void titleStatus(Component c, O _status) { S status = strOrEmpty(_status); JFrame f = getFrame(c); if (f == null) ret; S sep = " - "; S s = titleStatus_map.get(f); if (s != null) s = empty(status) ? s : status + sep + s; else s = replaceLeader(status, sep, getFrameTitle(f)); setFrameTitle(f, s); } static void titleStatus_setBaseTitle(Component c, S title) { mapPut(titleStatus_map, getFrame(c), title); }