public InsertDeleteWindow(GUI gui) {
		setTitle("Insert/Delete");
		setBounds(100, 100, 486, 461);
		addWindowListener(new WindowAdapter() {
			@Override
			public void windowClosing(WindowEvent arg0) {
				InsertDeleteWindow.this.gui.setEnabled(true);
			}
		});

		setVisible(false);

		JMenuBar menuBar = new JMenuBar();
		setJMenuBar(menuBar);

		JButton btnSend = new JButton("Send");
		btnSend.addActionListener(new ActionListener() {
			public void actionPerformed(ActionEvent arg0) {
				if (rdbtnmntmInsert.isSelected()) {
					send(getInsert());
				} else if (rdbtnmntmDelete.isSelected()) {
					send(getDelete());
				}
			}
		});
		menuBar.add(btnSend);

		JMenu mnAction = new JMenu("Action");
		menuBar.add(mnAction);

		rdbtnmntmInsert = new JRadioButtonMenuItem("Insert");
		rdbtnmntmInsert.setSelected(true);
		mnAction.add(rdbtnmntmInsert);

		rdbtnmntmDelete = new JRadioButtonMenuItem("Delete");
		mnAction.add(rdbtnmntmDelete);

		JMenu mnTable = new JMenu("Table");
		menuBar.add(mnTable);

		rdbtnmntmArea = new JRadioButtonMenuItem("Area");
		rdbtnmntmArea.setSelected(true);
		rdbtnmntmArea.addActionListener(new ActionListener() {
			public void actionPerformed(ActionEvent arg0) {
				refreshGUILabelText();
			}
		});
		mnTable.add(rdbtnmntmArea);

		rdbtnmntmArtist = new JRadioButtonMenuItem("Artist");
		rdbtnmntmArtist.addActionListener(new ActionListener() {
			public void actionPerformed(ActionEvent arg0) {
				refreshGUILabelText();
			}
		});
		mnTable.add(rdbtnmntmArtist);

		rdbtnmntmArtistgenre = new JRadioButtonMenuItem("Artist_genre");
		rdbtnmntmArtistgenre.addActionListener(new ActionListener() {
			public void actionPerformed(ActionEvent arg0) {
				refreshGUILabelText();
			}
		});
		mnTable.add(rdbtnmntmArtistgenre);

		rdbtnmntmArtisttrack = new JRadioButtonMenuItem("Artist_track");
		rdbtnmntmArtisttrack.addActionListener(new ActionListener() {
			public void actionPerformed(ActionEvent arg0) {
				refreshGUILabelText();
			}
		});
		mnTable.add(rdbtnmntmArtisttrack);

		rdbtnmntmGenre = new JRadioButtonMenuItem("Genre");
		rdbtnmntmGenre.addActionListener(new ActionListener() {
			public void actionPerformed(ActionEvent arg0) {
				refreshGUILabelText();
			}
		});
		mnTable.add(rdbtnmntmGenre);

		rdbtnmntmMedium = new JRadioButtonMenuItem("Medium");
		rdbtnmntmMedium.addActionListener(new ActionListener() {
			public void actionPerformed(ActionEvent arg0) {
				refreshGUILabelText();
			}
		});
		mnTable.add(rdbtnmntmMedium);

		rdbtnmntmRecording = new JRadioButtonMenuItem("Recording");
		rdbtnmntmRecording.addActionListener(new ActionListener() {
			public void actionPerformed(ActionEvent arg0) {
				refreshGUILabelText();
			}
		});
		mnTable.add(rdbtnmntmRecording);

		rdbtnmntmRelease = new JRadioButtonMenuItem("Release");
		rdbtnmntmRelease.addActionListener(new ActionListener() {
			public void actionPerformed(ActionEvent arg0) {
				refreshGUILabelText();
			}
		});
		mnTable.add(rdbtnmntmRelease);

		rdbtnmntmTrack = new JRadioButtonMenuItem("Track");
		rdbtnmntmTrack.addActionListener(new ActionListener() {
			public void actionPerformed(ActionEvent arg0) {
				refreshGUILabelText();
			}
		});
		mnTable.add(rdbtnmntmTrack);
		contentPane = new JPanel();
		contentPane.setBorder(new EmptyBorder(5, 5, 5, 5));
		setContentPane(contentPane);
		contentPane.setLayout(null);

		lblLabel1 = new JLabel("Label1");
		lblLabel1.setBounds(5, 5, 116, 28);
		contentPane.add(lblLabel1);

		lblLabel2 = new JLabel("Label2");
		lblLabel2.setBounds(5, 80, 116, 28);
		contentPane.add(lblLabel2);

		lblLabel3 = new JLabel("Label3");
		lblLabel3.setBounds(5, 155, 116, 28);
		contentPane.add(lblLabel3);

		lblLabel4 = new JLabel("Label4");
		lblLabel4.setBounds(5, 230, 116, 28);
		contentPane.add(lblLabel4);

		lblLabel5 = new JLabel("Label5");
		lblLabel5.setBounds(5, 303, 116, 28);
		contentPane.add(lblLabel5);

		scrollPane1 = new JScrollPane();
		scrollPane1.setBounds(133, 5, 332, 62);
		contentPane.add(scrollPane1);

		textArea1 = new JTextArea();
		scrollPane1.setViewportView(textArea1);

		scrollPane2 = new JScrollPane();
		scrollPane2.setBounds(133, 80, 332, 62);
		contentPane.add(scrollPane2);

		textArea2 = new JTextArea();
		scrollPane2.setViewportView(textArea2);

		scrollPane3 = new JScrollPane();
		scrollPane3.setBounds(133, 155, 332, 62);
		contentPane.add(scrollPane3);

		textArea3 = new JTextArea();
		scrollPane3.setViewportView(textArea3);

		scrollPane4 = new JScrollPane();
		scrollPane4.setBounds(133, 230, 332, 62);
		contentPane.add(scrollPane4);

		textArea4 = new JTextArea();
		scrollPane4.setViewportView(textArea4);

		scrollPane5 = new JScrollPane();
		scrollPane5.setBounds(133, 305, 332, 62);
		contentPane.add(scrollPane5);

		textArea5 = new JTextArea();
		scrollPane5.setViewportView(textArea5);

		ButtonGroup groupAction = new ButtonGroup();
		groupAction.add(rdbtnmntmInsert);
		groupAction.add(rdbtnmntmDelete);

		ButtonGroup groupTable = new ButtonGroup();
		groupTable.add(rdbtnmntmArea);
		groupTable.add(rdbtnmntmArtist);
		groupTable.add(rdbtnmntmArtistgenre);
		groupTable.add(rdbtnmntmArtisttrack);
		groupTable.add(rdbtnmntmGenre);
		groupTable.add(rdbtnmntmMedium);
		groupTable.add(rdbtnmntmRecording);
		groupTable.add(rdbtnmntmRelease);
		groupTable.add(rdbtnmntmTrack);

		this.gui = gui;
		refreshGUILabelText();
	}