Search:

Type: Posts; User: Danjb

Search: Search took 0.10 seconds.

  1. Replies
    10
    Views
    6,877

    Re: JEditorPane in a JScrollPane

    Hey,

    Thanks for all the info guys - for now I'm using a JTextArea until I can get some other problems sorted out but this will come in very handy later!

    - Danjb
  2. Replies
    10
    Views
    6,877

    Re: JEditorPane in a JScrollPane

    Hehe, thanks again for looking into it anyway. I might just use a JTextArea, at least for now, but eventually I'd like to be able to display slightly more elaborate documents...

    If anyone can suss...
  3. Replies
    10
    Views
    6,877

    Re: JEditorPane in a JScrollPane

    Of course, and thanks for looking into it:


    package gui;

    import java.awt.Dimension;

    import javax.swing.JEditorPane;
    import javax.swing.JFrame;
    import javax.swing.JPanel;
  4. Replies
    10
    Views
    6,877

    Re: JEditorPane in a JScrollPane

    Does anyone have any insight on this?
  5. Replies
    10
    Views
    6,877

    Re: JEditorPane in a JScrollPane

    Thanks for your reply - I'm glad it's not just me being stupid.

    I tried following those instructions, though, and got stuck at the first hurdle; "We override ParagraphView class with own...
  6. Replies
    10
    Views
    6,877

    JEditorPane in a JScrollPane

    Hi,

    I'm trying to use a JEditorPane, in a JScrollPane, in a JSplitPane. It kind of works, but it doesn't scroll in the way I'd like it to; I'd like it to behave like Notepad, without "Word Wrap"...
Results 1 to 6 of 6