MCPcopy Create free account
hub / github.com/Truphone/LPAdesktop / componentResized

Method componentResized

src/main/java/com/truphone/lpap/LPAUI.java:143–150  ·  view source on GitHub ↗
(ComponentEvent e)

Source from the content-addressed store, hash-verified

141 ComponentListener l = new ComponentAdapter() {
142
143 @Override
144 public void componentResized(ComponentEvent e) {
145 // next line possible if list is of type JXList
146 // list.invalidateCellSizeCache();
147 // for core: force cache invalidation by temporarily setting fixed height
148 listProfiles.setFixedCellHeight(10);
149 listProfiles.setFixedCellHeight(-1);
150 }
151
152 };
153

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected