Functionality quickly extracted from {@link TLabel}, which was not adjusted at time of writing. @author Carlos Rueda
5556575859606162636465
HorizontalPanel hp2 = new HorizontalPanel(); hp2.setVerticalAlignment(HorizontalPanel.ALIGN_MIDDLE); focusPanel = new FocusPanel(hp2); if ( tooltip != null && tooltip.length() > 0 ) { Image ttIcon = new TooltipIcon(tooltip).getIcon(); hp1.add(ttIcon); } hp1.add(focusPanel);