Ecco quello che mi serve....nel client e-mail che sto programmando, se arriva una mail in formato HTML come visualizzarla?
Credo debba usare un JEditorPane....ma come?
codice:
//p e una body-part del messaggio
 
else if(p.isMimeType("text/html"))           //Part tipo HTML
      {  
       JEditorPane text = new JEditorPane();                   
       text.setContentType("text/html");
       text.setText((String)p.getContent());
       pannello.add(text);        
      }
La mia idea è sbagliata, consigli?
Grazie