Add files via upload

This commit is contained in:
Lukas-Heiligenbrunner 2019-02-06 09:40:47 +01:00 committed by GitHub
parent 41b196cb46
commit a6f15e2531
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -21,6 +21,7 @@ public class gui extends JFrame {
JTextField userfield; JTextField userfield;
JLabel logininfo; JLabel logininfo;
JTextField searchfield;
public gui(){ public gui(){
this.setTitle("TMDB api"); this.setTitle("TMDB api");
@ -84,6 +85,8 @@ public class gui extends JFrame {
userfield = new JTextField(); userfield = new JTextField();
passfield = new JPasswordField(); passfield = new JPasswordField();
searchfield = new JTextField();
logininfo = new JLabel("Not logged in yet"); logininfo = new JLabel("Not logged in yet");
JPanel authpanel = new JPanel(new GridLayout(2,2)); JPanel authpanel = new JPanel(new GridLayout(2,2));
@ -94,5 +97,6 @@ public class gui extends JFrame {
this.add(logininfo,BorderLayout.SOUTH); this.add(logininfo,BorderLayout.SOUTH);
this.add(authpanel,BorderLayout.NORTH); this.add(authpanel,BorderLayout.NORTH);
this.add(searchfield,BorderLayout.CENTER);
} }
} }