Size « JEditorPane « Java Swing Q&A





1. How do you set the tab size in a JEditorPane?    stackoverflow.com

A JTextArea's tab size can easily be set using setTabSize(int). Is there a similar way to do it with a JEditorPane? Right now, text with tabs in my pane looks like:

if (stuff){
  ...

2. Fixing the size of JEditorPane Content    stackoverflow.com

I am trying to display a JEditorPane inside a JFrame (fixed size) which then displays a string of HTML text. I can get everything displaying, though it seems that the text ...

5. JEditorPane sizing    coderanch.com

6. JEditorPane Change proportion Size    forums.oracle.com

I need to be able to display a html page in a JEditorPane and make sure is has the same propertion as a Internet explorer. Here is whats happening, when I display the same page on iNTERNET Explorer it displays correct proportion. When I display the same page on a JEditorPage the proportion changes. I need some help please.

7. bounds size of JEditorPane data    forums.oracle.com

8. JEditorPane size problem    forums.oracle.com

Hello, I have derived JEditorPane...because I need a component for text and "user drawing".... In the paintComponent() i simply call the super.paintComponent() and then I draw my own image over this... This component is on a ScrollPane....sometimes it happens, that the image gets larger then the editorpane...then I simply try to change the size of the editorpane (to show the scrollbars), ...