/** * Initialize the BusyPainter and (this) JXBusyLabel with the given * preferred size. This method is called automatically when the * BusyPainter is set/changed. * * @param dim The new Preferred Size for the BusyLabel. * * @see #getBusyPainter() * @see #setBusyPainter(BusyPainter) */ protected void initPainter(Dimension dim) { BusyPainter busyPainter = getBusyPainter(); // headw01 // TODO: Should we force the busyPainter to NOT be cached? // I think we probably should, otherwise the UI will never // be updated after the first paint. if (null != busyPainter) { busyPainter.setCacheable(false); } PainterIcon icon = new PainterIcon(dim); icon.setPainter(busyPainter); this.setIcon(icon); } /**
/** * Initialize the BusyPainter and (this) JXBusyLabel with the given * preferred size. This method is called automatically when the * BusyPainter is set/changed. * * @param dim The new Preferred Size for the BusyLabel. * * @see #getBusyPainter() * @see #setBusyPainter(BusyPainter) */ protected void initPainter(Dimension dim) { BusyPainter busyPainter = getBusyPainter(); // headw01 // TODO: Should we force the busyPainter to NOT be cached? // I think we probably should, otherwise the UI will never // be updated after the first paint. if (null != busyPainter) { busyPainter.setCacheable(false); } PainterIcon icon = new PainterIcon(dim); icon.setPainter(busyPainter); this.setIcon(icon); } /**
/** * Initialize the BusyPainter and (this) JXBusyLabel with the given * preferred size. This method is called automatically when the * BusyPainter is set/changed. * * @param dim The new Preferred Size for the BusyLabel. * * @see #getBusyPainter() * @see #setBusyPainter(BusyPainter) */ protected void initPainter(Dimension dim) { BusyPainter busyPainter = getBusyPainter(); // headw01 // TODO: Should we force the busyPainter to NOT be cached? // I think we probably should, otherwise the UI will never // be updated after the first paint. if (null != busyPainter) { busyPainter.setCacheable(false); } PainterIcon icon = new PainterIcon(dim); icon.setPainter(busyPainter); this.setIcon(icon); } /**
/** * Initialize the BusyPainter and (this) JXBusyLabel with the given * preferred size. This method is called automatically when the * BusyPainter is set/changed. * * @param dim The new Preferred Size for the BusyLabel. * * @see #getBusyPainter() * @see #setBusyPainter(BusyPainter) */ protected void initPainter(Dimension dim) { BusyPainter busyPainter = getBusyPainter(); // headw01 // TODO: Should we force the busyPainter to NOT be cached? // I think we probably should, otherwise the UI will never // be updated after the first paint. if (null != busyPainter) { busyPainter.setCacheable(false); } PainterIcon icon = new PainterIcon(dim); icon.setPainter(busyPainter); this.setIcon(icon); } /**
/** * Initialize the BusyPainter and (this) JXBusyLabel with the given * preferred size. This method is called automatically when the * BusyPainter is set/changed. * * @param dim The new Preferred Size for the BusyLabel. * * @see #getBusyPainter() * @see #setBusyPainter(BusyPainter) */ protected void initPainter(Dimension dim) { BusyPainter busyPainter = getBusyPainter(); // headw01 // TODO: Should we force the busyPainter to NOT be cached? // I think we probably should, otherwise the UI will never // be updated after the first paint. if (null != busyPainter) { busyPainter.setCacheable(false); } PainterIcon icon = new PainterIcon(dim); icon.setPainter(busyPainter); this.setIcon(icon); } /**