Pessoal gostaria de saber se existe uma forma de inserir um ImageIcon em um HTML exibido sem salvar em arquivo.
Explicando detalhadamente:
Eu tenho uma seta feita em código:
Image ima = new BufferedImage( ratio, ratio, BufferedImage.TYPE_INT_ARGB );
Graphics2D g2 = (Graphics2D) ima.getGraphics();
Polygon seta = new Polygon();
seta.addPoint( 0, xh );
seta.addPoint( 0, xh*2 );
seta.addPoint( xst, xh*2 );
seta.addPoint( xst, ratio-less );
seta.addPoint( ratio-less, (ratio-less)/2 );
seta.addPoint( xst, 0 );
seta.addPoint( xst, xh );
drawShapes( shadow, seta, g2, c );
return new ImageIcon( ima );
Este imageIcon eu gostaria de inserir em um HTML no programa que estou fazendo… mas não gostaria de salvar em arquivo Temp.