[Echo-list] Label with text and image
Brought to you by:
tliebeck
From: Omar C. <ca...@me...> - 2004-02-03 13:15:42
|
Hi all, using echo and the following code HttpImageReference img = new HttpImageReference( "/images/confirm.jpg" ); String text = ""; for ( int i=0; i< 10; i++ ) { text += "1234567890 12345678901 234567890 1234567890 1234567890 "; } Label imgLabel = new Label(); imgLabel.setIcon( img ); imgLabel.setText( text ); ... } the result rendering is ever composed by a table having two cells, one for the image and one for the text. I need to put the image and the text together (in the same cell or in no cell) to obtain a "wrapping effect" of the text around the image. Is it possible to achieve this (using echo)? Thank you, Omar |