Search:

Type: Posts; User: Fubarable

Search: Search took 0.13 seconds.

  1. Replies
    9
    Views
    10,740

    Re: JScrollPane not showing scroll bars

    Yep, that's correct.
  2. Replies
    9
    Views
    10,740

    Re: JScrollPane not showing scroll bars

    I'm thinking that you're almost trying in a round about way to create your own version of JTable. Why not simply use a JTable directly to display your data? You can use headers and such with this...
  3. Replies
    9
    Views
    10,740

    Re: JScrollPane not showing scroll bars

    Great, and you're welcome!



    That's what JTextAreas are for -- they are for displaying text and text alone. You can't and shouldn't try to add JLabels to JTextAreas (not without a lot of...
  4. Replies
    9
    Views
    10,740

    Re: JScrollPane not showing scroll bars

    No, just leave JScrollPane's layout alone. It is already set to the correct layout and so messing with it only invites trouble.



    Your best bet is to go to the scrollpane tutorial.
  5. Replies
    9
    Views
    10,740

    Re: JScrollPane not showing scroll bars

    For the love of all things good, *never* set the layout of a JScrollPane to null. Just don't do it. JScrollPane uses a special layout, ScrollPaneLayout, that allows it to handle its viewport...
Results 1 to 5 of 5