Make the String skinname a property of the OuterClass.
class OuterClass{
String skinname;
MyMethod(){
select.addActionListener(
new ActionListener() {
public void actionPerformed(ActionEvent e) {
skinname = list.getSelectedValue().toString() ;
}});
System.out.println(skinname);