JDK-6663063 : Run FileChooserDemo generate some fail errors with GTK L&F in the terminal in Ubuntu
  • Type: Bug
  • Component: client-libs
  • Sub-Component: javax.swing
  • Affected Version: 6
  • Priority: P3
  • Status: Closed
  • Resolution: Duplicate
  • OS: linux_ubuntu
  • CPU: x86
  • Submitted: 2008-02-14
  • Updated: 2011-01-19
  • Resolved: 2010-05-21
The Version table provides details related to the release that this issue/RFE will be addressed.

Unresolved : Release in which this issue/RFE will be addressed.
Resolved: Release in which this issue/RFE has been resolved.
Fixed : Release in which this issue/RFE has been fixed. The release containing this fix may be available for download as an Early Access Release or a General Availability Release.

To download the current JDK release, click here.
Other
OpenJDK6Resolved
Related Reports
Duplicate :  
Description
Java Version: OpenJDK1.6.0-ea-b05, jdk_10-ea-b11
Platform: Ubuntu8.04alpha4 hostname: peas.sfbay

Problems:
When luanch the FileChooserDemo, when you select GTK looks and Feel, the others are as default, then you click Show FileChooser, you can see in the terminal, it has lost message saying fail.
The output as following:
$ bin/java -jar demo/jfc/FileChooserDemo/*.jar

(<unknown>:12752): Gtk-WARNING **: Attempting to add a widget with type GtkButton to a GtkComboBoxEntry (need an instance of GtkEntry or of a subclass)

(<unknown>:12752): Gtk-CRITICAL **: gtk_widget_realize: assertion `GTK_WIDGET_ANCHORED (widget) || GTK_IS_INVISIBLE (widget)' failed

(<unknown>:12752): Gtk-CRITICAL **: gtk_paint_box: assertion `style->depth == gdk_drawable_get_depth (window)' failed

(<unknown>:12752): Gtk-CRITICAL **: gtk_paint_box: assertion `style->depth == gdk_drawable_get_depth (window)' failed