Fixed warning
All checks were successful
flavien's git/Projet_JAVA_P2P_STRI2A/pipeline/pr-master This commit looks good
All checks were successful
flavien's git/Projet_JAVA_P2P_STRI2A/pipeline/pr-master This commit looks good
This commit is contained in:
parent
ee35381837
commit
112a1aa679
@ -4,6 +4,8 @@ import javax.swing.JFrame;
|
|||||||
|
|
||||||
public class MainWindow extends JFrame{
|
public class MainWindow extends JFrame{
|
||||||
|
|
||||||
|
private static final long serialVersionUID = 13L;
|
||||||
|
|
||||||
public MainWindow(){
|
public MainWindow(){
|
||||||
JFrame fenetre = new JFrame();
|
JFrame fenetre = new JFrame();
|
||||||
fenetre.setTitle("Client");
|
fenetre.setTitle("Client");
|
||||||
|
@ -11,6 +11,7 @@ import java.awt.GridLayout;
|
|||||||
|
|
||||||
public class Parameters extends JPanel{
|
public class Parameters extends JPanel{
|
||||||
|
|
||||||
|
private static final long serialVersionUID = 13L;
|
||||||
private JLabel label1, label2, label3, label4, label5;
|
private JLabel label1, label2, label3, label4, label5;
|
||||||
private JTextField field1, field2, field3, field4;
|
private JTextField field1, field2, field3, field4;
|
||||||
private JButton connectButton;
|
private JButton connectButton;
|
||||||
|
@ -12,12 +12,13 @@ import java.awt.GridLayout;
|
|||||||
|
|
||||||
public class downloadSelection extends JPanel {
|
public class downloadSelection extends JPanel {
|
||||||
|
|
||||||
private String[] listFilesToDownload;
|
private static final long serialVersionUID = 13L;
|
||||||
private JList<String> list1;
|
private String[] listFilesToDownload;
|
||||||
private JLabel label1;
|
private JList<String> list1;
|
||||||
private JButton downloadButton;
|
private JLabel label1;
|
||||||
|
private JButton downloadButton;
|
||||||
|
|
||||||
public downloadSelection(String[] listFilesToDownload){
|
public downloadSelection(String[] listFilesToDownload){
|
||||||
JPanel p1 = new JPanel();
|
JPanel p1 = new JPanel();
|
||||||
JPanel p3 = new JPanel();
|
JPanel p3 = new JPanel();
|
||||||
FlowLayout layout = new FlowLayout();
|
FlowLayout layout = new FlowLayout();
|
||||||
@ -35,6 +36,6 @@ public class downloadSelection extends JPanel {
|
|||||||
this.add(p1);
|
this.add(p1);
|
||||||
this.add(p3);
|
this.add(p3);
|
||||||
setVisible(true);
|
setVisible(true);
|
||||||
}
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user