cards.show(parentPanel, "view");
                public void actionPerformed(ActionEvent e) {                    int value = fc.showOpenDialog(frame);                    if (value == JFileChooser.APPROVE_OPTION) {                        svgCanvas.setSVGDocument(null);                        Runnable r = new Runnable() {                                public void run() {                                    infoLabel.setText("Parsing and Rendering");                                    cards.show(parentPanel, "info");                                    File file = fc.getSelectedFile();                                    uriField.setText(file.getAbsolutePath());                                    load(file);                                    cards.show(parentPanel, "view");                                }                            };                        Thread t = new Thread(r);                        t.start();                    }                }