Fixed warning
flavien's git/Projet_JAVA_P2P_STRI2A/pipeline/pr-master This commit looks good Details

pull/109/head
js 5 years ago
parent ee35381837
commit 112a1aa679

@ -4,6 +4,8 @@ import javax.swing.JFrame;
public class MainWindow extends JFrame{
private static final long serialVersionUID = 13L;
public MainWindow(){
JFrame fenetre = new JFrame();
fenetre.setTitle("Client");

@ -11,6 +11,7 @@ import java.awt.GridLayout;
public class Parameters extends JPanel{
private static final long serialVersionUID = 13L;
private JLabel label1, label2, label3, label4, label5;
private JTextField field1, field2, field3, field4;
private JButton connectButton;

@ -12,12 +12,13 @@ import java.awt.GridLayout;
public class downloadSelection extends JPanel {
private String[] listFilesToDownload;
private JList<String> list1;
private JLabel label1;
private JButton downloadButton;
private static final long serialVersionUID = 13L;
private String[] listFilesToDownload;
private JList<String> list1;
private JLabel label1;
private JButton downloadButton;
public downloadSelection(String[] listFilesToDownload){
public downloadSelection(String[] listFilesToDownload){
JPanel p1 = new JPanel();
JPanel p3 = new JPanel();
FlowLayout layout = new FlowLayout();
@ -35,6 +36,6 @@ public class downloadSelection extends JPanel {
this.add(p1);
this.add(p3);
setVisible(true);
}
}
}

Loading…
Cancel
Save