/**
* ControlPanel is a simple management utility that sets
-* a preference for whether the PCTB client is to launch or not.
+* a preference for which server(s) to upload to.
*/
public class ControlPanel extends JFrame {
public static void main(String[] args) {
JLabel version = new JLabel(version_label);
setLayout(new GridLayout(6,1));
- add(toPCTB);
+ //add(toPCTB);
add(toYarrg);
add(live);
add(testing);
add(but);
but.addActionListener(new ActionListener() {
public void actionPerformed(ActionEvent e) {
- prefs.putBoolean("launchAtStartup", true);
prefs.putBoolean("uploadToPCTB", toPCTB.isSelected());
prefs.putBoolean("uploadToYarrg", toYarrg.isSelected());
prefs.putBoolean("useLiveServers", live.isSelected());