Results 1 to 3 of 3
  1. #1
    gmm
    gmm is offline Member
    Join Date
    May 2011
    Posts
    3
    Rep Power
    0

    Default Tableviewer content disappears on scrolling

    hello guys,

    I've searched these forums before and haven't found an answer.

    I create an jface table viewer with eclipse rcp and setting an array of string arrays as input.
    If I click on an entry and scroll by mouse-wheel or with up/down keys everything works fine.

    It also works when the table viewer shows not more than 15 lines a time.

    But if I scroll it with the bars and the viewer has more lines the content disappear till I move the mouse over it.

    Thanks for your answers

    with regards gmm :)

  2. #2
    gmm
    gmm is offline Member
    Join Date
    May 2011
    Posts
    3
    Rep Power
    0

    Default

    My question is, if anyone had this behaviour before and how this could be solved.

    with regards gmm

  3. #3
    gmm
    gmm is offline Member
    Join Date
    May 2011
    Posts
    3
    Rep Power
    0

    Default Solved

    hello again.

    The situation which caused this problem was that the table was created with hundred columns, where the most of them had a width of zero or one pixels and no input.
    Now the number of columns is created depending on the number of needed fields and the table works fine.

    Maybe this helps someone who has this behaviour again...

    gmm

Similar Threads

  1. Tableviewer Wrapping
    By Daniel38 in forum SWT / JFace
    Replies: 0
    Last Post: 02-03-2011, 10:59 AM
  2. moving a pic, another pic disappears
    By benjamin in forum New To Java
    Replies: 4
    Last Post: 06-16-2010, 07:18 PM
  3. JLabel icon disappears
    By grease_monkey1986 in forum AWT / Swing
    Replies: 3
    Last Post: 05-09-2010, 01:43 PM
  4. Replies: 11
    Last Post: 10-27-2009, 08:55 AM
  5. text box disappears
    By okabeer in forum NetBeans
    Replies: 2
    Last Post: 07-13-2009, 07:21 PM

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •