sur les systèmes Windows. Je reçois le NPE suivant avec le FileChooser
. C'est un bug connu qui n'est pas encore fixé par le soleil. http://bugs.sun.com/bugdatabase/view_bug.do?bug_id=6342301
Est-ce que quelqu'un sait une solution de contournement pour éviter cette exception?
Merci. André
Exception dans le thread "AWT-EventQueue-2" java.lang.NullPointerException à javax.swing.plaf.metal.MetalFileChooserUI $ IndentIcon.getIconWidth (Source inconnue ) à javax.swing.SwingUtilities .layoutCompoundLabelImpl (Information inconnue Source) à javax.swing.SwingUtilities.layoutCompoundLabel (Information inconnue Source) à javax.swing.plaf.basic.BasicLabelUI.layoutCL (Information inconnue Source) à javax.swing.plaf.basic.BasicLabelUI.getPreferredSize (Source inconnue) at javax.swing.JComponent.getPreferredSize (Source inconnue) à jav ax.swing.plaf.basic.BasicListUI.updateLayoutState (source inconnue) à javax.swing.plaf.basic.BasicListUI.maybeUpdateLayoutState (Unknown Source) à javax.swing.plaf.basic.BasicListUI $ Handler.valueChanged (Inconnu Source) à javax.swing.DefaultListSelectionModel.fireValueChanged (Source inconnue) à javax.swing.DefaultListSelectionModel.fireValueChanged (Information inconnue Source) à javax.swing.DefaultListSelectionModel.fireValueChanged (Source inconnue) à javax.swing.DefaultListSelectionModel .changeSelection (Unknown Source) à javax.swing.DefaultListSelectionModel.changeSelection (source inconnue) at javax.swing.DefaultList SelectionModel.setSelectionInterval (Information inconnue Source) à javax.swing.JList.setSelectedIndex (Source inconnue) à javax.swing.plaf.basic.BasicComboPopup.setListSelection (Information inconnue Source) à javax.swing.plaf.basic.BasicComboPopup.access 300 $ (Source inconnue ) à javax.swing.plaf.basic.BasicComboPopup $ Handler.itemStateChanged (Source inconnue ) à javax.swing.JComboBox.fireItemStateChanged (Source inconnue) à javax.swing.JComboBox.selectedItemChanged (Source inconnue) à javax.swing.JComboBox.contentsChanged (Source inconnue)