MetalFileChooserUI « JFileChooser « Java Swing Q&A





1. Java: Prevent NPE in MetalFileChooserUI$IndentIcon.getIconWidth?    stackoverflow.com

on Windows systems. I get the follwing NPE with the FileChooser. It is a known bug that is not fixed by sun yet. http://bugs.sun.com/bugdatabase/view_bug.do?bug_id=6342301 Does somebody know a workaround to ...

2. Why java.io.NotSerializableException: javax.swing.plaf.metal.MetalFileChooserUI?    stackoverflow.com

I basically want to serialize an ArrayList in Java, and here is the code that apparently needs to be changed. (EDIT: pasted entire class)

import java.awt.*;
import java.awt.event.*;
import java.io.*;
import java.util.ArrayList;
import javax.swing.*;


public class GraphEditSerial ...