if (conf.getSplash()) spr.setSelected(true); if (conf.getSaveWinInfo()) swi.setSelected(true);
  public Options(MWnd parent)  {	super(parent,"Optionen",true);	Point parloc = parent.getLocation();	setBounds(parloc.x + 30, parloc.y + 30,400,340);	getContentPane().setBackground(Color.lightGray);	getContentPane().setLayout(new BorderLayout());	setResizable(false);		wnd = parent;		// Titel-Label	JPanel titel_panel = new JPanel();	titel_panel.add(new JLabel("Optionen", JLabel.CENTER));	// Haupt-Panel		// L&F-Optionen	JPanel lf_top_panel = new JPanel(new BorderLayout());	JPanel north_panel = new JPanel();	north_panel.add(new JLabel("W\u00E4hle hier ein Look & Feel (Aussehen des Programms)", JLabel.LEFT));	JPanel south_panel = new JPanel(new GridLayout(3,2));	// Fügt die Radio-Buttons in das Panel ein	this.addRadios(south_panel);		lf_top_panel.add(north_panel,BorderLayout.NORTH);	lf_top_panel.add(south_panel,BorderLayout.CENTER);		// Member-Optionen	JPanel mb_top_panel = new JPanel(new BorderLayout());	JPanel mb_north_panel = new JPanel();	mb_north_panel.add(new JLabel("Gebe hier Deine Benutzerdaten (von PartySOKe.de) an", JLabel.LEFT));	JPanel mb_south_panel = new JPanel(new BorderLayout());	mb_south_panel.add(new JLabel(" "),BorderLayout.NORTH);	mb_south_panel.add(addMemberLabels(),BorderLayout.CENTER);		mb_top_panel.add(mb_north_panel,BorderLayout.NORTH);	mb_top_panel.add(new JLabel(" "),BorderLayout.EAST);	mb_top_panel.add(new JLabel(" "),BorderLayout.WEST);	mb_top_panel.add(mb_south_panel,BorderLayout.CENTER);		// Proxy-Optionen	JPanel p_top_panel = new JPanel(new BorderLayout());	JPanel p_north_panel = new JPanel();	p_north_panel.add(new JLabel("Gebe hier einen Proxy an, falls Du einen verwendest", JLabel.LEFT));	JPanel p_south_panel = new JPanel(new BorderLayout());	p_south_panel.add(new JLabel(" "),BorderLayout.NORTH);	p_south_panel.add(addProxyLabels(),BorderLayout.CENTER);		p_top_panel.add(p_north_panel,BorderLayout.NORTH);	p_top_panel.add(new JLabel(" "),BorderLayout.EAST);	p_top_panel.add(new JLabel(" "),BorderLayout.WEST);	p_top_panel.add(p_south_panel,BorderLayout.CENTER);		// Sonstige Optionen	if (conf.getSplash()) spr.setSelected(true);	if (conf.getSaveWinInfo()) swi.setSelected(true);		JPanel misc_top_panel = new JPanel(new BorderLayout());		JPanel misc_north_panel = new JPanel(new BorderLayout());	misc_north_panel.add(new JLabel("\n"), BorderLayout.NORTH);	// Bei der nächsten Option muss ein LayoutManager her!	misc_north_panel.add(spr, BorderLayout.CENTER);	misc_north_panel.add(swi, BorderLayout.SOUTH);		misc_top_panel.add(misc_north_panel, BorderLayout.NORTH);		// In Tabs einfügen	JTabbedPane tabs = new JTabbedPane();	tabs.addTab("Look & Feel", null, lf_top_panel );	tabs.addTab("Benutzerdaten", null, mb_top_panel );	tabs.addTab("Proxy", null, p_top_panel );	tabs.addTab("Sonstiges", null, misc_top_panel );	JPanel opt_panel = new JPanel(new BorderLayout());	opt_panel.add(tabs,BorderLayout.CENTER);				// Button-Panel	JPanel button_panel = new JPanel(new FlowLayout(FlowLayout.RIGHT));	JButton button = new JButton("OK");	button.addActionListener(this);	button_panel.add(button);		JButton button2 = new JButton("Abbrechen");	button2.addActionListener(this);	button_panel.add(button2);		// Elemente anordnen	this.getContentPane().add(titel_panel,BorderLayout.NORTH);	this.getContentPane().add(opt_panel,BorderLayout.CENTER);	this.getContentPane().add(button_panel,BorderLayout.SOUTH);		//Window-Listener	this.addWindowListener(	  new WindowAdapter() {		public void windowClosing(WindowEvent event)		{		  endDialog();		}	  }	);	//pack();  }