This commit is contained in:
Downforce Agent 2024-07-13 00:08:00 -05:00
parent 81e5cbcda3
commit d473f0ad48
2 changed files with 6 additions and 5 deletions

View File

@ -18,6 +18,7 @@
</constraints> </constraints>
<properties> <properties>
<background color="-15128227"/> <background color="-15128227"/>
<font name="Exo 2"/>
<foreground color="-1"/> <foreground color="-1"/>
<opaque value="false"/> <opaque value="false"/>
</properties> </properties>
@ -32,7 +33,7 @@
<properties> <properties>
<background color="-15128227"/> <background color="-15128227"/>
<foreground color="-1"/> <foreground color="-1"/>
<opaque value="false"/> <opaque value="true"/>
<selectionBackground color="-2271221"/> <selectionBackground color="-2271221"/>
<selectionForeground color="-1"/> <selectionForeground color="-1"/>
</properties> </properties>

View File

@ -58,10 +58,10 @@ public class Suggs implements ActionListener, ListSelectionListener {
frame.add(frameContainer); // initialize window contents -- will be handled by IntelliJ IDEA frame.add(frameContainer); // initialize window contents -- will be handled by IntelliJ IDEA
frame.setSize(600, 600); frame.setSize(700, 400);
frame.setMinimumSize(new Dimension(600,600)); frame.setMinimumSize(new Dimension(650,280));
frame.setTitle("Soundtrack Mod Generator"); frame.setTitle("Soundtrack Mod Generator");
frame.setResizable(false); frame.setResizable(true);
frame.setDefaultCloseOperation(WindowConstants.DO_NOTHING_ON_CLOSE); frame.setDefaultCloseOperation(WindowConstants.DO_NOTHING_ON_CLOSE);
frame.setLayout(new GridLayout()); frame.setLayout(new GridLayout());
frame.setLocationRelativeTo(parent); frame.setLocationRelativeTo(parent);
@ -82,7 +82,7 @@ public class Suggs implements ActionListener, ListSelectionListener {
frame.addWindowListener(new WindowAdapter() { frame.addWindowListener(new WindowAdapter() {
@Override @Override
public void windowClosing(WindowEvent e) public void windowClosing(WindowEvent e)
{ {// TODO: put warning dialog "Are you sure? All unsaved changes will be lost."
parent.setEnabled(true); parent.setEnabled(true);
e.getWindow().dispose(); e.getWindow().dispose();
} }