JDK-6196748 : Error messages on launching ControlPanel on Solaris-amd
  • Type: Bug
  • Component: client-libs
  • Sub-Component: javax.swing
  • Affected Version: 5.0u2,6
  • Priority: P2
  • Status: Closed
  • Resolution: Duplicate
  • OS: solaris,solaris_10
  • CPU: x86
  • Submitted: 2004-11-17
  • Updated: 2011-01-19
  • Resolved: 2005-12-15
Related Reports
Duplicate :  
Duplicate :  
Relates :  
Description
Install JDK U2B03 on Solaris-AMD..
Launch Control Panel from /usr/jdk/jdk1.5.0_02/bin/ControlPanel..

Messages seen at the terminal are:
/usr/share/themes/Crux/gtk-2.0/gtkrc:66: Failed to parse property value " GTK_SHADOW_NONE " for `GtkToolBar::shadow-type'
/usr/share/themes/Crux/gtk-2.0/gtkrc:402: Engine "crux-engine" is unsupported, ignoring 
/usr/share/themes/Crux/gtk-2.0/gtkrc:418: Engine "crux-engine" is unsupported, ignoring
/usr/share/themes/Crux/gtk-2.0/gtkrc:439: Engine "crux-engine" is unsupported, ignoring
/usr/share/themes/Crux/gtk-2.0/gtkrc:453: Engine "crux-engine" is unsupported, ignoring
/usr/share/themes/Crux/gtk-2.0/gtkrc:466: Engine "crux-engine" is unsupported, ignoring
/usr/share/themes/Crux/gtk-2.0/gtkrc:479: Engine "crux-engine" is unsupported, ignoring
/usr/share/themes/Crux/gtk-2.0/gtkrc:495: Engine "crux-engine" is unsupported, ignoring
###@###.### 2004-11-17 19:33:22 GMT

Comments
EVALUATION Now with native rendering, there're no unsupported engines anymore.
15-12-2005

EVALUATION All of these have dissapeared with the GTK work for Mustang. The only problem remaining is the error with parsing the property value " GTK_SHADOW_NONE ". That remains to be investigated.
29-07-2005

EVALUATION Marking this as no-s10, since solaris-amd64 isn't integrating into S10 GA, and is not due until 5.0u2 as early access. ###@###.### 2004-11-18 19:38:42 GMT Please provide the following information: - version of Solaris you are running - does Control Panel start after the error messages - try compiling and running the code below (make sure to use javac and java commands from JDK 5.0) and see if you get the same messages you report in this bug. Here is the code: import javax.swing.*; import java.util.*; public class JSliderTest extends JDialog{ JSlider compression; public JSliderTest(){ setTitle("Test"); try{ UIManager.setLookAndFeel(UIManager.getSystemLookAndFeelClassName()); }catch (Exception e){} compression = new JSlider(0, 9, 0); Hashtable labels = new Hashtable(2); JLabel noneLabel = new JLabel("None"); JLabel highLabel = new JLabel("Something_long"); labels.put(new Integer(0), noneLabel); labels.put(new Integer(9), highLabel); compression.setLabelTable(labels); compression.setPaintLabels(true); compression.setMajorTickSpacing(1); compression.setPaintTicks(true); compression.setSnapToTicks(true); getContentPane().add(compression); pack(); } public static void main(String[] args){ JSliderTest t = new JSliderTest(); t.setVisible(true); } } ###@###.### 2004-12-01 22:50:48 GMT This is a Swing issue - Swing doesn't support the Crux engine. Should we? As for the error message about SHADOW_NONE, I suspect a mistake in the user's gtkrc file. Re-assigning to the Swing team. ###@###.### 2004-12-03 20:19:40 GMT This should go away with the native GTK work we're doing for Mustang. ###@###.### 2005-04-06 20:34:06 GMT
18-11-2004