88
99import javax .swing .JButton ;
1010import javax .swing .JComboBox ;
11- import javax .swing .JDialog ;
11+ import javax .swing .JFrame ;
1212import javax .swing .JFileChooser ;
1313import javax .swing .JLabel ;
1414import javax .swing .JPanel ;
4040import java .util .Map ;
4141import java .util .Set ;
4242
43- public class ManifestSecurityDialog extends JDialog {
43+ public class ManifestSecurityDialog extends JFrame {
4444 private final ReportModel report ;
4545 private final ManifestNavigator navigator ;
4646 private final JComboBox <String > categoryFilter ;
@@ -51,7 +51,7 @@ public class ManifestSecurityDialog extends JDialog {
5151 private List <Finding > filtered ;
5252
5353 public ManifestSecurityDialog (Frame owner , ReportModel report , ManifestNavigator navigator ) {
54- super (owner , buildTitle (report ), false );
54+ super (buildTitle (report ));
5555 this .report = report ;
5656 this .navigator = navigator ;
5757 this .filtered = new ArrayList <>(report .getFindings ());
@@ -121,6 +121,8 @@ public void mouseClicked(MouseEvent e) {
121121 add (filterPanel , BorderLayout .NORTH );
122122 add (split , BorderLayout .CENTER );
123123 add (actions , BorderLayout .SOUTH );
124+ setDefaultCloseOperation (JFrame .DISPOSE_ON_CLOSE );
125+ setResizable (true );
124126 setSize (1100 , 700 );
125127 setLocationRelativeTo (owner );
126128
0 commit comments