Search:

Type: Posts; User: Stx

Search: Search took 0.09 seconds.

  1. Replies
    9
    Views
    10,623

    Re: JScrollPane not showing scroll bars

    Ok, i think I understand your advice: instead of having a jtextarea, i create a JTable put my data in it and then create a scroll pane with the jtable right?
  2. Replies
    9
    Views
    10,623

    Re: JScrollPane not showing scroll bars

    I created some JLabels that contain formatted text (with position, font color).

    For example:

    JLABEL header = (TeamA TeamB Score)
    header.setBounds(screen_center);
    header.setFont(black);
    ...
  3. Replies
    9
    Views
    10,623

    Re: JScrollPane not showing scroll bars

    Thanks Fubarable.

    I got the scroll bars working.

    However, with the solution i have i can't add a JLabel to my text area, I can only append text.



    Color menu_color = null;
    ...
  4. Replies
    9
    Views
    10,623

    Re: JScrollPane not showing scroll bars

    Thanks for the info Furable. :o

    I changed the layout to:


    display.setLayout(new ScrollPaneLayout());

    However, I'm not very experienced in working with viewports :-s.

    I will try to find...
  5. Replies
    9
    Views
    10,623

    JScrollPane not showing scroll bars

    Hi everyone,

    I'm developing a new Java aplication and my JScrollPane doesn't show the scroll bars.

    I'm able to see the JScrollPane border and i can add elements to it, but when those elements...
Results 1 to 5 of 5