X

Geertjan's Blog

  • February 4, 2007

JavaMail Client on the NetBeans Platform (Step 4)

Geertjan Wielenga
Product Manager
Ultimately, the subject lines of the e-mails (as well as other details such as date and sender) should end up in the Navigator, I think, but in the meantime I've just sent them to the Output window and implemented an OutputListener. Subject lines (and date and sender) are sent to the Output window when "Open Messages" is selected on a folder in the explorer. Subject lines become hyperlinks in the Output window. Then, when a hyperlink is clicked, the related e-mail is opened in the IDE's HTML editor and also in the Swing browser:

I wish the Swing browser were better, or that we could bundle Rich's NetBeans/JDIC native web browser integration for Windows. That would make the end result, at least on Windows, quite a lot prettier. However, there's clearly some progress in our porting procedure, from our original Swing application to a modular NetBeans Platform application. Next step is using the Navigator to display subject lines and so on.

By the way, notice that we now actually have a functioning mail browser, albeit a pretty basic one. It looks a lot more like a typical NetBeans Platform application than our simple TopComponent integration, back in step 2 of this series.

Join the discussion

Comments ( 2 )
  • guest Monday, June 17, 2013

    Hi Geertjan,

    do you still have the JavaMail Client code somewhere around?

    Could you please send it to me or provide a download url?

    Thank you in advance!


  • Mladen Sunday, November 15, 2015

    I have the need to program Mail Client on the NetBeans Platform. I saw on your blog one solution. Is there a source code?

    Thanks


Please enter your name.Please provide a valid email address.Please enter a comment.CAPTCHA challenge response provided was incorrect. Please try again.