This week's book giveaway is in the Kotlin forum.
We're giving away four copies of Kotlin in Action and have Dmitry Jemerov & Svetlana Isakova on-line!
See this thread for details.
Win a copy of Kotlin in Action this week in the Kotlin forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

setPage(URL) in JEditorPane doesn't work with j2sdk 1.4.0  RSS feed

Erwin Heil
Posts: 11
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hello everybody,
within an application I use JEditorPane.setPage() to call an URL from a Website in the Internet. While working with j2sdk 1.4.2, there're no problems. After testing the programm with j2sdk 1.4.0 it comes out that the setPage()-call causes a NullPointerException, nothing is showed in the JEditorPane...
Do anybody know some workaround for this bug, because I need to run this app also within the j2sdk 1.4.0?

Here're some facts:

There is another Thread in the javax.swing.JEditorPane$PageLoader wich is called after JEditiorPane.setPage()...

thanx for help,
cheers, erv
[ June 14, 2004: Message edited by: Erwin Heil ]
With a little knowledge, a cast iron skillet is non-stick and lasts a lifetime.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!