Search:

Type: Posts; User: Danjb

Search: Search took 0.18 seconds.

  1. Replies
    3
    Views
    1,348

    Re: JTrees are a nightmare!

    Does anyone know how I can fix this?
  2. Replies
    3
    Views
    1,348

    Re: JTrees are a nightmare!

    Wow, that's really weird... I could have sworn it didn't work the other day! Perhaps I was clicking on another node instead of pressing "Enter".

    I have a second problem, however, regarding sorting...
  3. Replies
    3
    Views
    1,348

    JTrees are a nightmare!

    Hi,

    I've been messing around with JTrees recently and I'm finding it rather difficult to get them to work the way I want. Firstly is to do with being able to rename nodes; I had it working at one...
  4. Replies
    10
    Views
    4,951

    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
  5. Replies
    10
    Views
    4,951

    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...
  6. Replies
    10
    Views
    4,951

    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;
  7. Replies
    10
    Views
    4,951

    Re: JEditorPane in a JScrollPane

    Does anyone have any insight on this?
  8. Replies
    10
    Views
    4,951

    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...
  9. Replies
    10
    Views
    4,951

    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 9 of 9