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


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

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 13:08 +0000
Organization A noiseless patient Spider
Message-ID <rcd4km$tq7$1@dont-email.me> (permalink)
References <e3357895-0977-41fe-9560-38699321cc82o@googlegroups.com> <rcd1nb$203$1@dont-email.me> <25529440-a176-4097-b520-2d2e87ebc00fo@googlegroups.com>

Show all headers | View raw


On Wed, 17 Jun 2020 05:43:38 -0700, Eric Douglas wrote:

> On Wednesday, June 17, 2020 at 8:19:00 AM UTC-4, Martin Gregorie wrote:
>> 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 --- */
>> 
>> }
>> 
>> 
> Looks fine here as well, I just compiled it with Java 8, problem must be
> specific to Java 11.

Yep. When it worked OK here I thought that might be the case. If there's 
an accessable bug list for 11 it would be worth a quick scan and a bug 
report if its not a known bug.
 

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