public AddAccountWindow(){
		setSize(150, 235);
		setVisible(false);
		setDefaultCloseOperation(JFrame.DO_NOTHING_ON_CLOSE);
		setLocationRelativeTo(null);
		setResizable(false);
		
		setLayout(new BorderLayout());
		JLabel background=new JLabel(ResourceLoader.Iconload("/addAccountBackground.jpg"));
		background.setSize(150, 235);
		add(background);
		background.setLayout(new FlowLayout());
		
		Headline = new JLabel("Informations here");
		Headline.setForeground(Color.GREEN);
		background.add(Headline);
		
		inID = new JTextField(String.valueOf(LoadedAccounts), 10);
		inID.setEditable(false);
		background.add(inID);
		
		inName = new JTextField("Account Name", 10);
		background.add(inName);
		
		inCode = new JTextField("Account Code", 10);
		background.add(inCode);
		
		inPassword = new JTextField("Account Password", 10);
		background.add(inPassword);
		
		inPermissions = new JTextField("Account Permissions", 10);
		background.add(inPermissions);
		
		inFlags = new JTextField("Account Flags", 10);
		background.add(inFlags);
		
		sendinfos = new JButton("Create");
		background.add(sendinfos);
		
		thehandler handler = new thehandler();
		sendinfos.addActionListener(handler);
		
		
		
		inID.addKeyListener(new KeyListener(){
			@Override public void keyPressed(KeyEvent arg0) {}
			@Override public void keyReleased(KeyEvent arg0) {}
			@Override
			public void keyTyped(KeyEvent arg0) {
				String check = "Account ID";
				if(inID.getText().equals(check)){
					inID.setText("");
				}
			}

		});
		inCode.addKeyListener(new KeyListener(){
			@Override public void keyPressed(KeyEvent arg0) {}
			@Override public void keyReleased(KeyEvent arg0) {}
			@Override
			public void keyTyped(KeyEvent arg0) {
				String check = "Account Code";
				if(inCode.getText().equals(check)){
					inCode.setText("");
				}
			}

		});
		inName.addKeyListener(new KeyListener(){
			@Override public void keyPressed(KeyEvent arg0) {}
			@Override public void keyReleased(KeyEvent arg0) {}
			@Override
			public void keyTyped(KeyEvent arg0) {
				String check = "Account Name";
				if(inName.getText().equals(check)){
					inName.setText("");
				}
			}

		});
		inPassword.addKeyListener(new KeyListener(){
			@Override public void keyPressed(KeyEvent arg0) {}
			@Override public void keyReleased(KeyEvent arg0) {}
			@Override
			public void keyTyped(KeyEvent arg0) {
				String check = "Account Password";
				if(inPassword.getText().equals(check)){
					inPassword.setText("");
				}
			}

		});
		inPermissions.addKeyListener(new KeyListener(){
			@Override public void keyPressed(KeyEvent arg0) {}
			@Override public void keyReleased(KeyEvent arg0) {}
			@Override
			public void keyTyped(KeyEvent arg0) {
				String check = "Account Permissions";
				if(inPermissions.getText().equals(check)){
					inPermissions.setText("");
				}
			}

		});
		inFlags.addKeyListener(new KeyListener(){
			@Override public void keyPressed(KeyEvent arg0) {}
			@Override public void keyReleased(KeyEvent arg0) {}
			@Override
			public void keyTyped(KeyEvent arg0) {
				String check = "Account Flags";
				if(inFlags.getText().equals(check)){
					inFlags.setText("");
				}
			}

		});
	}