47484950515253545556
public void actionPerformed(ActionEvent e) { Frame frame = JOptionPane.getFrameForComponent(jcpPanel); AboutDialog ad = new AboutDialog(frame, jcpPanel.getGuistring()); ad.pack(); ad.setVisible(true); } }