Fix radios being multi-selectible in Bert

This commit is contained in:
Downforce Agent 2024-10-03 10:42:08 -04:00
parent 12f01000dd
commit b5f2aa6925
2 changed files with 10 additions and 0 deletions

View File

@ -126,6 +126,7 @@
</constraints> </constraints>
<properties> <properties>
<background color="-15128227"/> <background color="-15128227"/>
<focusPainted value="false"/>
<font name="Exo 2"/> <font name="Exo 2"/>
<foreground color="-1"/> <foreground color="-1"/>
<horizontalTextPosition value="10"/> <horizontalTextPosition value="10"/>
@ -140,6 +141,7 @@
</constraints> </constraints>
<properties> <properties>
<background color="-15128227"/> <background color="-15128227"/>
<focusPainted value="false"/>
<font name="Exo 2"/> <font name="Exo 2"/>
<foreground color="-1"/> <foreground color="-1"/>
<horizontalTextPosition value="11"/> <horizontalTextPosition value="11"/>
@ -166,6 +168,7 @@
</constraints> </constraints>
<properties> <properties>
<background color="-15128227"/> <background color="-15128227"/>
<focusPainted value="false"/>
<font name="Exo 2"/> <font name="Exo 2"/>
<foreground color="-1"/> <foreground color="-1"/>
<horizontalAlignment value="0"/> <horizontalAlignment value="0"/>
@ -180,10 +183,12 @@
</constraints> </constraints>
<properties> <properties>
<background color="-15128227"/> <background color="-15128227"/>
<focusPainted value="false"/>
<font name="Exo 2"/> <font name="Exo 2"/>
<foreground color="-1"/> <foreground color="-1"/>
<label value="v1.04 (Latest)"/> <label value="v1.04 (Latest)"/>
<opaque value="false"/> <opaque value="false"/>
<selected value="true"/>
<text value="v1.04 (Latest)"/> <text value="v1.04 (Latest)"/>
</properties> </properties>
</component> </component>
@ -193,6 +198,7 @@
</constraints> </constraints>
<properties> <properties>
<background color="-15128227"/> <background color="-15128227"/>
<focusPainted value="false"/>
<font name="Exo 2"/> <font name="Exo 2"/>
<foreground color="-1"/> <foreground color="-1"/>
<opaque value="false"/> <opaque value="false"/>

View File

@ -55,6 +55,10 @@ public class Bert implements ActionListener {
frame.setLocationRelativeTo(parent); frame.setLocationRelativeTo(parent);
frame.setAlwaysOnTop(true); frame.setAlwaysOnTop(true);
radios.add(baseCheck);
radios.add(patchCheck1);
radios.add(patchCheck2);
cancelbtn.addActionListener(this); cancelbtn.addActionListener(this);
downloadbtn.addActionListener(this); downloadbtn.addActionListener(this);