EditorPane « Swing « Java Articles

Java Articles
1. Class Definition
2. Data
3. Development
4. GUI
5. J2EE
6. J2ME
7. JavaBeans
8. Language
9. Microsoft Collabration
10. Network
11. Swing
12. System Resource
13. XML
Microsoft Office Word 2007 Tutorial
Java
Java Tutorial
Java Source Code / Java Documentation
Java Open Source
Jar File Download
Java Products
Java by API
C# / C Sharp
C# / CSharp Tutorial
ASP.Net
JavaScript DHTML
JavaScript Tutorial
JavaScript Reference
HTML / CSS
HTML CSS Reference
C / ANSI-C
C Tutorial
C++
C++ Tutorial
PHP
Python
SQL Server / T-SQL
Oracle PL / SQL
Oracle PL/SQL Tutorial
PostgreSQL
SQL / MySQL
MySQL Tutorial
VB.Net
VB.Net Tutorial
Java Articles » Swing » EditorPane 
1. Start customizing Swing's editor pane -- patch the Swing HTMLEditorKit
Author:Marc Loy
URL:http://www.javaworld.com/javaworld/jw-01-1999/jw-01-swing.html?
Summary: Swing's JEditorPane allows you to quickly and easily produce simple browsers or hyperlinked help facilities, but there's a hitch -- the mouse doesn't change when you're over a hyperlink. Swing expert Marc Loy shows you how to fix this minor annoyance with a small amount of code. In the process, he gives you the tools to start customizing the editor pane to do more for you than any browser or help system out there. (1,700 words)


2. Start customizing Swing's editor pane -- patch the Swing HTMLEditorKit
Author:Marc Loy
URL:http://www.javaworld.com/javaworld/jw-01-1999/jw-01-swing.html?
Summary: Swing's JEditorPane allows you to quickly and easily produce simple browsers or hyperlinked help facilities, but there's a hitch -- the mouse doesn't change when you're over a hyperlink. Swing expert Marc Loy shows you how to fix this minor annoyance with a small amount of code. In the process, he gives you the tools to start customizing the editor pane to do more for you than any browser or help system out there. (1,700 words)


3. Display images using JEditorPane
Author:Rob Kenworthy
URL:http://www.javaworld.com/javaworld/javatips/jw-javatip109.html?
Summary: To display HTML in a JEditorPane, you would normally specify a URL that sets the document base of the HTMLDocument. However, if the HTML text is not stored in a file locally or on the Web, you cannot set the HTMLDocument document base. That becomes a problem when the IMG tag uses a relative path to specify the image location, but it can be overcome by modifying JEditorPane and its associated classes. (2,000 words)


w_ww.j___a___va2___s__._c__o_m | Contact Us
Copyright 2003 - 08 Demo Source and Support. All rights reserved.
All other trademarks are property of their respective owners.