/** * Create and return a BusyPpainter to use for the Label. This may * be overridden to return any painter you like. By default, this * method uses the UI (BusyLabelUI)to create a BusyPainter. * @param dim Painter size. * * @see #getUI() */ protected BusyPainter createBusyPainter(Dimension dim) { BusyPainter busyPainter = null; BusyLabelUI ui = (BusyLabelUI)getUI(); if (ui != null) { busyPainter = ui.getBusyPainter(dim); } return busyPainter; }
/** * Create and return a BusyPpainter to use for the Label. This may * be overridden to return any painter you like. By default, this * method uses the UI (BusyLabelUI)to create a BusyPainter. * @param dim Painter size. * * @see #getUI() */ protected BusyPainter createBusyPainter(Dimension dim) { BusyPainter busyPainter = null; BusyLabelUI ui = (BusyLabelUI)getUI(); if (ui != null) { busyPainter = ui.getBusyPainter(dim); } return busyPainter; }
/** * Create and return a BusyPpainter to use for the Label. This may * be overridden to return any painter you like. By default, this * method uses the UI (BusyLabelUI)to create a BusyPainter. * @param dim Painter size. * * @see #getUI() */ protected BusyPainter createBusyPainter(Dimension dim) { BusyPainter busyPainter = null; BusyLabelUI ui = (BusyLabelUI)getUI(); if (ui != null) { busyPainter = ui.getBusyPainter(dim); } return busyPainter; }
/** * Create and return a BusyPpainter to use for the Label. This may * be overridden to return any painter you like. By default, this * method uses the UI (BusyLabelUI)to create a BusyPainter. * @param dim Painter size. * * @see #getUI() */ protected BusyPainter createBusyPainter(Dimension dim) { BusyPainter busyPainter = null; BusyLabelUI ui = (BusyLabelUI)getUI(); if (ui != null) { busyPainter = ui.getBusyPainter(dim); } return busyPainter; }
/** * Create and return a BusyPpainter to use for the Label. This may * be overridden to return any painter you like. By default, this * method uses the UI (BusyLabelUI)to create a BusyPainter. * @param dim Painter size. * * @see #getUI() */ protected BusyPainter createBusyPainter(Dimension dim) { BusyPainter busyPainter = null; BusyLabelUI ui = (BusyLabelUI)getUI(); if (ui != null) { busyPainter = ui.getBusyPainter(dim); } return busyPainter; }