Win a copy of The Way of the Web Tester: A Beginner's Guide to Automating Tests this week in the Testing forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

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

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 ]
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic