[rfc][icedtea-web] dialogue for set jre dir
Adam Domurad
adomurad at redhat.com
Thu Mar 21 08:32:25 PDT 2013
[..snipped..]
>> import javax.swing.Box;
>> +import javax.swing.JButton;
>> +import javax.swing.JFileChooser;
>> import javax.swing.JLabel;
>> import javax.swing.JTextField;
>>
>> @@ -50,31 +60,99 @@
>>
>> @SuppressWarnings("serial")
>> public class JVMPanel extends NamedBorderPanel {
>> - private DeploymentConfiguration config;
>> +
>> + private DeploymentConfiguration config;
>> + private File lastPath = new File("/usr/lib/jvm/java/jre/");
>> + private final JVMPanel self;
>>
>> JVMPanel(DeploymentConfiguration config) {
>> super(Translator.R("CPHeadJVMSettings"), new GridBagLayout());
>> this.config = config;
>> addComponents();
>> + self=this;
Sorry I caught this after sending. Don't do this please. You can use
JVMPanel.this wherever you would have used 'self'.
>> }
[..snipped..]
More information about the distro-pkg-dev
mailing list