Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.java.programmer > #39508

Re: Simple fix for JTable view?

From Martin Gregorie <martin@mydomain.invalid>
Newsgroups comp.lang.java.programmer
Subject Re: Simple fix for JTable view?
Date 2020-06-17 12:18 +0000
Organization A noiseless patient Spider
Message-ID <rcd1nb$203$1@dont-email.me> (permalink)
References <e3357895-0977-41fe-9560-38699321cc82o@googlegroups.com>

Show all headers | View raw


On Wed, 17 Jun 2020 04:38:15 -0700, Eric Douglas wrote:

> Here's a simple sample that reproduces what my app is doing.
> If it matters, I am running JRE 11.0.7_10 from AdoptOpenJDK If I scroll
> down and back up, the text on my table disappears.  It reappears if I
> click on the table.
>
Works fine here (scrolls up and down, nothing getting blanked when its 
scrolled back into view.

Compiled and run with:

openjdk version "1.8.0_252"
OpenJDK Runtime Environment (build 1.8.0_252-b09)
OpenJDK 64-Bit Server VM (build 25.252-b09, mixed mode)

running on

Linux version 5.6.16-200.fc31.x86_64 
(mockbuild@bkernel03.phx2.fedoraproject.org) 
(gcc version 9.3.1 20200408 (Red Hat 9.3.1-2) (GCC))

All I added to your code to get it to compile is:

import java.awt.*;
import javax.swing.*;
import javax.swing.table.*;
public class Eric
{

/*  --- your code here --- */

}


-- 
Martin    | martin at
Gregorie  | gregorie dot org

Back to comp.lang.java.programmer | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread


Thread

Simple fix for JTable view? Eric Douglas <e.d.programmer@gmail.com> - 2020-06-17 04:38 -0700
  Re: Simple fix for JTable view? Martin Gregorie <martin@mydomain.invalid> - 2020-06-17 12:18 +0000
    Re: Simple fix for JTable view? Eric Douglas <e.d.programmer@gmail.com> - 2020-06-17 05:43 -0700
      Re: Simple fix for JTable view? Martin Gregorie <martin@mydomain.invalid> - 2020-06-17 13:08 +0000
    Re: Simple fix for JTable view? Eric Douglas <e.d.programmer@gmail.com> - 2020-06-17 06:08 -0700
      Re: Simple fix for JTable view? Eric Douglas <e.d.programmer@gmail.com> - 2020-06-17 08:07 -0700

csiph-web