This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.

Bug 194290 - [NetBeans GUI] JTable cells are READONLY on an editing context !!!
Summary: [NetBeans GUI] JTable cells are READONLY on an editing context !!!
Status: CLOSED DUPLICATE of bug 192390
Alias: None
Product: platform
Classification: Unclassified
Component: JDK Problems (show other bugs)
Version: 6.x
Hardware: PC Linux
: P3 normal (vote)
Assignee: Antonin Nebuzelsky
URL:
Keywords: JDK_SPECIFIC
Depends on:
Blocks:
 
Reported: 2011-01-13 03:14 UTC by cordisvictor
Modified: 2011-06-08 20:02 UTC (History)
2 users (show)

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments
Screenshot of "java -version" (1.13 MB, image/png)
2011-01-15 12:37 UTC, cordisvictor
Details
NetBeans 6.9.1 GUI Editor: JTable Model (252.36 KB, image/png)
2011-01-15 12:38 UTC, cordisvictor
Details
NetBeans 6.9.1 Tools: Plugins (189.97 KB, image/png)
2011-01-15 12:39 UTC, cordisvictor
Details

Note You need to log in before you can comment on or make changes to this bug.
Description cordisvictor 2011-01-13 03:14:19 UTC
The JTable GUI has read-only cells in an editing context:

Examples:

1) Tools / Plugins : cannot select plugins to install
2) GUI Builder: JTable Properties / model: cannont edit column properties

This bug did NOT happen on WindowsXP / Netbeans 6.9.1
This bug HAPPENED on Linux 10.10 / NetBeans 6.9.1 (Both GNOME and KDE )

This bug makes the above features almost obsolete.
Comment 1 Marian Mirilovic 2011-01-14 09:34:51 UTC
I think the problem is JDK, not OS. What JDK are you using on Linux/XP ?
Comment 2 cordisvictor 2011-01-14 10:34:01 UTC
I thought about it too but this problem's wierd:
  - not present on windows JRE
  - present on linux JRE and the GUI has the same behaviour in both GNOME and KDE
  - this problem was not present in the past when i had sun-jdk6 for linux

=> it must be openJDK JRE

  BUT
  - if I create a custom app with a JTable or if I use Open Office Spreadsheet
    the JTables work the way I want them to
  - only netbeans has this problem...

So why only NetBeans if openJDK ?

PS: incorrect usage of term "obsolete"
   ("This bug makes the above features almost obsolete.")
    I ment to say "unusable"
Comment 3 Martin Entlicher 2011-01-14 13:50:03 UTC
Please provide exact version of your JDK and whether it's 32 bits or 64 bits.

GUI builder is not using Outline, therefore this has nothing to do with Outline.
Comment 4 cordisvictor 2011-01-15 12:37:26 UTC
Created attachment 105027 [details]
Screenshot of "java -version"
Comment 5 cordisvictor 2011-01-15 12:38:11 UTC
Created attachment 105028 [details]
NetBeans 6.9.1 GUI Editor: JTable Model
Comment 6 cordisvictor 2011-01-15 12:39:24 UTC
Created attachment 105029 [details]
NetBeans 6.9.1 Tools: Plugins
Comment 7 cordisvictor 2011-01-15 12:41:05 UTC
1) I'm on a 32Bit PC => 32Bit linux + 32Bit JDK
   (see JDK.png)

2) I have attached screenshots with the two things that do not work in NetBeans
   a) Read only plugin check JTable Column
      (can select only with Check All ~CathegoryName~)
   b) GUI Editor: JTable Model: only Type is editable

As I said: it could be a openJDK problem as these things do not happen on
windows (and did not happen on linux in the past when i had sun-jdk)

BUT any app that has a JTable works fine (Open Office or a dummy GUI with JTable
I made just to test)
Comment 8 Martin Entlicher 2011-01-17 16:14:33 UTC
P.S.: I've tested Debugger table views on Open JDK and editing works fine. Therefore Outline does not have any problem.

I can confirm problems in Tools -> Plugins - it's unusable without the ability to check on modules that I want to install or uninstall and in GUI editor (JTable model can not be customized).
Comment 9 Jan Lahoda 2011-01-21 18:36:04 UTC
An OpenJDK bug. Can be reproduced even with a simple application, but the application needs to have a security manager. See
https://netbeans.org/bugzilla/show_bug.cgi?id=192390#c24
for detailed evaluation.

*** This bug has been marked as a duplicate of bug 192390 ***
Comment 10 Marian Mirilovic 2011-06-08 20:02:42 UTC
v/c